How to render documentation¶
This chapter explains how to render a manual locally on your machine with Docker in order to test the rendering.
It is recommended to do this if you edit locally before you publish your changes, because that way you will get a preview of how it is later rendered on the server.
If you use Docker, you will use the same set of tools locally in Docker that are being used on the documentation server docs.typo3.org to render the documentation.
Here, we will briefly also explain the other methods for rendering.
The method of using a starter project (sandbox) with an URL such as
/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-056/ is now deprecated.
You can still find your existing starter project on GitHub (https://github.com/T3DocumentationStarter)
and render this locally.
Please note that the Local Editing and Rendering with Docker is currently the recommended and fully supported workflow. If you edit on GitHub directly, GitHub preview should also be sufficient for making small changes.
Render Documentation Locally Using Docker
Preview on GitHub
This method is useful if you are editing documentation directly on GitHub
Please be aware that the preview on GitHub supports reST, but not the additional sphinx markup, such as the toctree or the intersphinx linking. Because of this, the preview is not to be recommended for major changes that involve markup beyond basic reST markup.
Preview using documentation-draft
You can use the
documentation-draftto get a preview for your extensions. See Supported branches.
Various Online or Local Tools for reST Rendering
These have the same drawbacks as already noted for Preview on GitHub.