doctrine/docs-builder

Helper package for building the docs in Doctrine repos

Installs: 196

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 2

Language:Shell

pkg:composer/doctrine/docs-builder

1.0.3 2025-10-09 08:46 UTC

This package is auto-updated.

Last update: 2025-10-09 08:47:14 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>].