This a docker container. It contains all required things for building Symfony doc and a script to build it.
- Clone repository
$ git clone git@github.com:makasim/symfony-doc-builder.git symfony-doc-builder
$ cd symfony-doc-builder;
/Users/makasim/projects/enqueue/enqueue-sandbox/symfony-doc-builder/README.md
- Build image
$ docker build --rm --tag symfony-doc-builder .
- Clone symfony doc
$ git clone git@github.com:symfony/symfony-docs.git docs
- Build docs
$ docker run --rm -v `pwd`:`pwd` -w `pwd`/docs/_build symfony-doc-builder make html
- View docs
$ google-chrome docs/_build/html/index.html