More work on docstrings to get them to be Sphinx compatible. Added dependency to Sphinx Makefile to get rid of errors when build files weren't there.

This commit is contained in:
Dave Clements
2012-11-01 01:23:56 -07:00
parent 38e0065fe7
commit d23cd8ea65
5 changed files with 64 additions and 33 deletions
+15 -1
View File
@@ -14,8 +14,22 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) sou
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
# Galaxy Local variables
TOOLDATASHAREDDIR = ../tool-data/shared
TOOLDATABUILDFILES = $(TOOLDATASHAREDDIR)/ensembl/builds.txt \
$(TOOLDATASHAREDDIR)/ncbi/builds.txt \
$(TOOLDATASHAREDDIR)/ucsc/publicbuilds.txt
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
# Sphinx wants the build files to be there; Copy the sample files into
# place if we don't already have the build files.
$(TOOLDATABUILDFILES) :
/bin/cp $@.sample $@
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@@ -41,7 +55,7 @@ help:
clean:
-rm -rf $(BUILDDIR)/*
html:
html: $(TOOLDATABUILDFILES)
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."