sbuerk / render-guides

Render the docs with phpdocumentor/guides

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

render-guides

This is the documentation rendering tool for TYPO3 projects. It is based on `phpDocumentor/guides`_ and can be used as a drop-in replacement for Sphinx. The tool is used by the automated documentation rendering system of the TYPO3 project. And can be used by documentation authors to validate their documentation.

Some basic commands are listed below, for more information, see the Documentation subdirectory of this project.

Usage with Docker (via supplied container)

# Create output directory.
mkdir -p Documentation-GENERATED-temp

# Execute the Docker container that is provided remotely.
# Renders all files in the `Documentation` and store in `Documentation-GENERATED-temp`.
# On macOS you need to specify the parameter "--user=$(id -u):$(id -g)"
docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation

(see :ref:`_Setup_Docker:Docker containers` for complete documentation. You can also use a specific version of the render-guides Docker container, i.e. :1 for the latest 1.x version.)

Usage with Docker (via custom container)

# Build the custom local Docker container
docker build --file Dockerfile --tag typo3-docs:local .

# Execute the Docker container that is provided locally, build Documentation
# On macOS you need to specify the parameter "--user=$(id -u):$(id -g)"
docker run --rm -v ${PWD}:/project -it typo3-docs:local --progress

(see :ref:`_Setup_Docker:Docker containers` for complete documentation)

You can inspect the created container by running a shell:

docker run --entrypoint=sh -it --rm typo3-docs:local

Usage with DDEV

# Renders all files in the `Documentation` and store in `Documentation-GENERATED-temp`.
ddev composer make docs

(see :ref:`_Setup_DDEV:DDEV` for complete documentation)

Usage with local PHP

# Renders all files in the `Documentation` and store in `Documentation-GENERATED-temp`.
make docs

(see :ref:`_Setup_PHP:Local PHP` for complete documentation)

Contributing

See :ref:`Contributing` for more information.

About

Render the docs with phpdocumentor/guides

License:GNU General Public License v3.0


Languages

Language:CSS 38.3%Language:HTML 36.1%Language:PHP 15.5%Language:SCSS 4.6%Language:Twig 2.6%Language:JavaScript 1.3%Language:Shell 1.1%Language:Makefile 0.6%Language:Dockerfile 0.0%