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), enabling seamless integration into existing Sphinx-based workflows, which is 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 config1.json config2.json
fluidDocumentationOutput/ (customizable via FLUID_DOCUMENTATION_OUTPUT_DIR).Integration with render-guides:
render-guides to produce a static HTML documentation site.composer exec fluidDocumentation generate config/*.json
composer exec render-guides build docs/
CI/CD Setup:
- name: Generate Documentation
run: composer exec fluidDocumentation generate config/*.json
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./fluidDocumentationOutput
Key Benefits for Engineers:
Next Steps:
Risks:
Alternatives Considered:
How can I help you explore Laravel packages today?