Do not create an OpenOffice document. You do not need to install sphinx locally! (although no one can stop you if you want). You can use the provided Docker image, which provides you with a complete working environment for rendering documentation.
The official documentation for writing documentation for extensions has been updated:
What documents do you need?
Your extension should have a Documentation directory, which should contain documentation in the form of reStructuredText (.rst) documents (for example, Index.rst). Markdowns are also supported. Alternatively, you can use a single-file solution (for example, only Readme.rst).
There are several options for creating extension documentation:
- There is an example extension guide . How to use this to run documentation from scratch is already described in the link I gave above.
- Or run rest files from scratch
- Or use existing extensions for inspiration, for example, int: form
- Or use the extension constructor (rename the Documentation.tmpl directory to Documentation).
How to edit .rst files
You can simply edit the files in a simple text editor or IDE (it is advisable to use an IDE with reStructuredText support, for example, for PhpStorm, use the reStructuredText plugin, use the LeXtudio reStructuredText plugin for Visual Studio code).
Render Render Files
If you want to check what your reST files will look like, you must display them locally.
You have several options for this , but it is recommended to use Docker.
source share