t3docs/fluid-documentation-generator
Generates automatic TYPO3 Fluid ViewHelper reference documentation in RST. Configured via JSON files, it builds navigable RST pages plus a JSON index for Fluid namespaces and ViewHelpers, ready to render with TYPO3 render-guides.
render-guides and Sphinx), enabling seamless integration into existing workflows—critical for projects deeply embedded in the TYPO3 ecosystem.render-guides), particularly for technical audiences like developers or integrators.render-guides, Sphinx) and need a seamless integration to avoid toolchain fragmentation.render-guides).spatie/laravel-blade-directives + phpDocumentor for Laravel projects.knuckleswtf/scribe for APIs or reactphp/documentation for PHP libraries.phpDocumentor for general PHP class documentation or erusev/parsedown-extra for Markdown.php artisan api:docs or integrate with tools like Docusaurus or VuePress for modern documentation sites.*"This package eliminates a major bottleneck in developer onboarding and maintenance for TYPO3 projects by automating the generation of Fluid ViewHelper documentation. Currently, our team spends X hours per quarter manually updating reference docs—a task prone to errors and drift. By adopting this tool, we can:
Key Alignment:
render-guides, Sphinx), avoiding toolchain duplication.Ask:
*"This tool scans Fluid ViewHelper classes, extracts metadata from PHPDoc annotations, and generates structured RST documentation—ready for Sphinx or TYPO3’s render-guides. Here’s the implementation plan:
Installation:
composer req --dev t3docs/fluid-documentation-generator
Configuration:
Vendor\MyPackage\ViewHelpers).{
"name": "MyExtension",
"namespaceAlias": "myext",
"targetNamespace": "http://typo3.org/ns/Vendor/MyExtension/ViewHelpers"
}
CLI Execution:
vendor/bin/fluidDocumentation generate path/to/config1.json path/to/config2.json
Output:
fluidDocumentationOutput/MyExtension/Index.rst, MyViewHelper.rst).MyExtension.json) for render-guides.FLUID_DOCUMENTATION_OUTPUT_DIR env var.CI/CD Integration:
main branch pushes or PR merges.- name: Generate Documentation
run: composer exec fluidDocumentation generate config/*.json
Rendering:
render-guides to convert RST to HTML:
composer req --dev typo3/documentation-common
vendor/bin/render-guides fluidDocumentationOutput
Benefits:
Next Steps:
@param, @return tags).How can I help you explore Laravel packages today?