From 94916052b323e246b1cce887ca754b254f25c143 2012-12-29 05:36:46 From: Rustam Safin Date: 2012-12-29 05:36:46 Subject: [PATCH] Add qthelp docs creation. --- diff --git a/docs/Makefile b/docs/Makefile index 93ae023..8ffb60f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -6,6 +6,7 @@ SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = SRCDIR = source +BUILDDIR = build # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 @@ -78,6 +79,16 @@ htmlhelp: @echo "Build finished; now you can run HTML Help Workshop with the" \ ".hhp project file in build/htmlhelp." +qthelp: + mkdir -p build/qthelp + $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) build/qthelp + @echo + @echo "Build finished; now you can run "qcollectiongenerator" with the" \ + ".qhcp project file in $(BUILDDIR)/qthelp, like this:" + @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/IPython.qhcp" + @echo "To view the help file:" + @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/IPython.qhc" + latex: api mkdir -p build/latex build/doctrees $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) build/latex