Building OpenStack Documentation as PDF

sudo apt install tox latexmk texlive-xetex

git clone https://github.com/openstack/openstack-manuals.git

cd openstack-manuals/
ls -lhF doc/
tox -e build -- arch-design --pdf
tox -e build -- doc-contrib-guide --pdf
tox -e build -- image-guide --pdf
tox -e build -- install-guide --pdf
for f in `find . | grep \\.pdf$ | grep /pdf/`; do
    cp -f $f ~/Desktop/
done; unset f

refs.

trash

git clone https://github.com/openstack/openstack-doc-tools.git

install sphinx-build,

sudo apt install python-pip python-setuptools
cd openstack-doc-tools/
pip install -U -r requirements.txt
python setup.py install
cd ../