mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
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:
+15
-1
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user