Basic Principles of TYPO3 Documentation¶
Introduction to TYPO3 Documentation¶
For an excellent introduction, please see the 3 part series on Marcus Schwemer's blog TYPO3 Worx:
- GUIDE TO TYPO3 DOCUMENTATION – PART 1: THE USER-INTERFACE
- GUIDE TO TYPO3 DOCUMENTATION – PART 2: CONTENT STRUCTURE
- GUIDE TO TYPO3 DOCUMENTATION – PART 3: CONTRIBUTION AND REST HELPERS!
Please note that the section "CONVERT REST TO “READABLE” FORMATS" in part 3 is slightly outdated. Currently, using the docker container for rendering is the recommended approach. If you edit on Github directly, Github preview should be sufficient for making small changes.
What's TYPO3 Documentation?¶
TYPO3 documentation may be one of the following:
Common Characteristics of TYPO3 documentation¶
All of these examples have a few things in common:
- The documentation is rendered and found on https://docs.typo3.org
- The documentation has a common theme, all pages look similar and use the same styles
- Most of the documentation can be directly edited by the community. For third party extensions, this depends on where and how the source-code is hosted and maintained.
- The source of the documentation is written (mostly) in reStructuredText (reST)
- All documentation is rendered using the same rendering toolchain. All documenation can be rendered locally, with the officially supported docker image.
- The documentation source files adhere to General Conventions and Coding Guidelines and
share a common structure (e.g. all documentation files in a
- Due to the conventions, the rendering of documentation can be automated and every documentation project only requires a minimum of setup.
So, What's Rendering?¶
Rendering means (in this specific case) converting the reST format (.rst files) into its final, readable form, which you can than view in your browser (like this page, which you are probably reading online. If not, load https://docs.typo3.org/typo3cms/HowToDocument/BasicPrinciples.html in your browser).
In comparison, this is what the original source file looks like: https://docs.typo3.org/typo3cms/HowToDocument/_sources/BasicPrinciples.txt
Technically, this means converting the reST (.rst files) into HTML, automatically creating the menu, using the current theme to add additional styles and images, etc.
Different Kinds of TYPO3 Documentation¶
The things that are different for various kinds of documentation are:
- Where the issues are maintained (e.g. on Forge or Github)
- Where the source code (git repository) is kept
- The workflow for making changes to the documentation
|Type of documentation||Issues||Source Code (git repository)||Workflow for making changes|
|Official guides, tutorials, core docs, etc.||On page of rendered docs, click on "Related links": "Issues"||On page of rendered docs, click on "Related Links": "Repository", or click on "Edit me on Github"||Create Github Pull Request, see Contribute to docs.typo3.org.|
|TYPO3 Core Changelog||Core issues: https://forge.typo3.org/projects/typo3cms-core/issues||TYPO3 source code: git.typo3.org, mirror: Github||see Contribution Guide: Add documentation|
|System extensions||Core issues: https://forge.typo3.org/projects/typo3cms-core/issues||Same as for Changelog, inside TYPO3 source code: git.typo3.org, Github as mirror||see Contribution Guide: Add documentation|
|3rdparty extensions||click on "Related Links" (bottom left), "Issues"||click on "Related Links", "Repository", see Contribute to 3rdparty extension||it depends, see Contribute to 3rdparty extension|
To get to the issues or repository of the documentation: On the page of the rendered manual, click on "Related Links" and then click on "Issues" or "Repository".
Official TYPO3 Manuals¶
The official TYPO3 manuals are hosted on Github. Editing the documentation requires a Github account and involves creating a Pull Request on Github.
Find out more about how to contribute: Contribute to docs.typo3.org.
Documentation for the Core¶
The documentation for the core (Changelog and system extensions) is added to the TYPO3 source code. For this reason, the workflow of changing something in the core documentation is very similar to adding a patch to the core.
Documentation for 3rdparty Extensions¶
The documentation for a 3rdparty extension is maintained within the source-code of this extensions. If and where it is edited depends on where the extension is hosted and maintained.
To find out how to contribute documentation for a specific extension: Contribute to 3rdparty extension
What about the Wiki?¶
In this manual, we are focusing on TYPO3 documentation in reST / sphinx that can be found on docs.typo3.org.
The TYPO3 Wiki on https://wiki.typo3.org does contain documentation as well, but that is not the scope of this manual. In any case, most of the information from the Wiki is being moved from the Wiki to some manual on docs.typo3.org.