2 # Shell script for Sphinx documentation
7 # You can set these variables from the command line.
9 SPHINXBUILD
=sphinx-build
16 PAPEROPT
="-D latex_paper_size=a4"
19 PAPEROPT
="-D latex_paper_size=letter"
25 PAPEROPT_a4
="-D latex_paper_size=a4"
26 PAPEROPT_letter
="-D latex_paper_size=letter"
27 ALLSPHINXOPTS
="-d ${BUILDDIR}/doctrees ${PAPEROPT} ${SPHINXOPTS} ."
29 ${SPHINXBUILD} -b html ${ALLSPHINXOPTS} ${BUILDDIR}/html
31 echo "Build finished. The HTML pages are in ${BUILDDIR}/html."