git clone git@github.com:doctrine/migrations-documentation.gitgit submodule add https://github.com/doctrine/doctrine-sphinx-theme.git en/_themegit submodule update./bin/install-dependencies.sh
./bin/generate-docs.sh
It will generate the documentation into the build directory of the checkout.