doctrine / docs-builder
Helper package for building the docs in Doctrine repos
Installs: 338
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 2
Language:Shell
Type:project
pkg:composer/doctrine/docs-builder
Requires
- phpdocumentor/filesystem: 1.7.1
- phpdocumentor/guides-cli: 1.7.1
Requires (Dev)
- ergebnis/composer-normalize: ^2.48
This package is auto-updated.
Last update: 2025-10-27 13:40:31 UTC
README
A package for generating Doctrine repo docs in a unified way. Its purpose is to abstract the underlying method away from the generating command. It assumes:
- it's run from the project root, and
- the docs reside in docs/en/.
It uses phpdocumentor tooling for parsing the RST files.
This project is considered an internal tool and therefore, you shouldn't use this project in your application. This repository doesn't provide any support, and doesn't guarantee backward compatibility. Any or the entire project can change, or even disappear, at any moment without prior notice.
Usage:
composer require --dev doctrine/docs-builder -d docs ./docs/vendor/bin/build-docs.sh [<output>]
The output directory defaults to docs/output.
Optionally, declare a script in your root composer.json for convenience:
"scripts": {
    "docs": "./docs/vendor/bin/build-docs.sh @additional_args"
}
Then run composer docs [<output>].