Merge pull request #795 from edx/will/silence-doc-warnings

Silence doc test errors/warnings
This commit is contained in:
Will Daly
2013-08-27 09:47:20 -07:00
4 changed files with 6 additions and 6 deletions

View File

@@ -15,13 +15,13 @@ endif
Q_FLAG = Q_FLAG =
ifeq ($(quiet), true) ifeq ($(quiet), true)
Q_FLAG = -q Q_FLAG = -Q
endif endif
# Internal variables. # Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -q -d $(BUILDDIR)/doctrees -c source $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source ALLSPHINXOPTS = $(Q_FLAG) -d $(BUILDDIR)/doctrees -c source $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
# the i18n builder cannot share the environment and doctrees with the others # the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source

View File

@@ -15,13 +15,13 @@ endif
Q_FLAG = Q_FLAG =
ifeq ($(quiet), true) ifeq ($(quiet), true)
Q_FLAG = -q Q_FLAG = -Q
endif endif
# Internal variables. # Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -q -d $(BUILDDIR)/doctrees -c source $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source ALLSPHINXOPTS = $(Q_FLAG) -d $(BUILDDIR)/doctrees -c source $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
# the i18n builder cannot share the environment and doctrees with the others # the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source

View File

@@ -15,7 +15,7 @@ endif
Q_FLAG = Q_FLAG =
ifeq ($(quiet), true) ifeq ($(quiet), true)
Q_FLAG = -q Q_FLAG = -Q
endif endif
# Internal variables. # Internal variables.

View File

@@ -18,7 +18,7 @@ task :builddocs, [:type, :quiet] do |t, args|
if args.quiet == 'verbose' if args.quiet == 'verbose'
sh('make html quiet=false') sh('make html quiet=false')
else else
sh('make html') sh('make html quiet=true')
end end
end end
end end