Skip to content

doctrine/docs-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doctrine Docs Builder

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>].

About

A package for generating Doctrine repo docs in a unified way.

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages