phpdocumentor/guides-restructured-text
phpDocumentor guides reStructuredText parser. Converts reST documents into structured guide nodes for phpDocumentor’s Guides system, enabling documentation builds from .rst sources with directives, roles, includes, and cross-references.
composer require phpdocumentor/guides-restructured-textphpdocumentor/guides is already installed and configured (this package is a parser/renderer plugin for Guides).rst file (e.g., index.rst) in your docs/ directory using standard reStructuredText syntax.. guides:: to enable Guides-specific rendering if needed (though integration happens automatically)phpdocumentor guide:build --directory=docs) — the .rst files will be parsed and rendered with full Guides theming and navigation.. include:: and .. literalinclude:: to modularize docs (standard reST, fully supported):doc:docs/guide or `:ref:`label to generate internal links — works seamlessly with Guides’ navigation and sitemapRstParser::registerDirective() (typically in a service provider or bootstrap) to enforce team standards (e.g., .. tip:: → styled callout block)phpdocumentor/guides themes: use --theme=custom and extend the default layout — .rst content fits naturally into sidebar, breadcrumbs, and section hierarchy.rst files alongside Markdown; Guides will auto-detect format and route to the correct parser (no extra config needed)phpdocumentor/guides — it cannot be used directly like sphinx-build. Always invoke via phpdocumentor guide:build:doc:, :ref:, :code:) and common directives (.. note::, .. code-block::) are supported, advanced Sphinx features (e.g., .. toctree::, .. automodule::) may require custom implementation or workarounds--debug flag: Enables verbose logging for parsing errors — especially useful when custom directives fail silentlyphpdocumentor\guides\_RST\Parser\NodeVisitor\DirectiveHandlerInterface and register via the parser service — but note this requires overriding container bindings or patching phpdocumentor/guides config (breaking changes possible in minor releases)My Section → #my-section), but non-ASCII characters may be stripped or transliterated — test cross-refs carefully for non-English titlesHow can I help you explore Laravel packages today?