Closed javiereguiluz closed 8 months ago
@dbu we used Sphinx in the past, but it's hard to maintain ... so we moved from Sphinx (Python) to a custom-made and 100% PHP alternative: https://github.com/symfony-tools/docs-builder
You can see it in action here: https://github.com/symfony/symfony-docs/tree/7.1/_build
This custom-made solution used packages from other communities, like Doctrine's RST parser. Other projects like TYPO3 (https://github.com/TYPO3-Documentation) also wanted a PHP-based RST parser ... so, Doctrine, TYPO3, Symfony, etc. joined forces and there's a new tool to replace the existing one.
We don't use it yet to build Symfony docs, but I hope to use it "soon".
ah, glad to hear. but we won't need to change the doc format, right?
Correct! We still use the exact same RST syntax as before ... but now, we handle it with PHP code.
Fixes these errors shown when building the docs: