Development
composer install
.Build/bin/phpunit -c phpunit.xml --testsuite unit
Copied!
The JavaScript is a plain ES module without a build step, registered in
Configuration/. Flush the caches after changing
that file, because the import map is cached. Labels use the translation domain
pn_ (Resources/).
| File | Role |
|---|---|
Widgets\ | The dashboard widget; holds the options |
Controller\ | Full view, route pn_ |
Manual\ | Finds a manual among the widgets the user may use |
Manual\ | Reads an EXT: file, sets up the image resolver for its extension
and builds public URLs |
Rendering\ | Markdown to title, introduction, body, table of contents with sections, and heading numbers |
Rendering\ | Allows only images inside Resources/ |
Resources/ | Marks the current entry in the table of contents of the full view |
Resources/ | Opens the print dialog from the print button |
Resources/ | Filters the table of contents on the search field |
Resources/ | Puts a feedback link next to each chapter and section |
Note
Manual uses the dashboard's Widget, which is marked
@internal in TYPO3 and has no public alternative. It is the only class
that touches it; check it when updating TYPO3.
Render this manual
docker run --rm -v "$(pwd)":/project -w /project \
ghcr.io/typo3-documentation/render-guides:latest \
--config=Documentation --no-progress --fail-on-log
Copied!
The output is in Documentation-.