From: Aron Xu Date: Thu, 3 Jan 2019 09:52:44 +0000 (+0000) Subject: fix-doc-build X-Git-Tag: archive/raspbian/8.0.2+ds-1+rpi1~1^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=844d64c97a5c640b9d00720e057f98affeb46a51;p=trafficserver.git fix-doc-build Gbp-Pq: Name 0006-fix-doc-build.patch --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 97553ed5..f8bba788 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -61,7 +61,7 @@ I18NSPHINXOPTS = $(SPHINXOPTS) # The PAPER setting variables requires recursive make variable expansion, which automake # detects as non-portable. We bounce this through a shell script and do the expansion there. SBUILD = PAPEROPT_a4="$(PAPEROPT_a4)" PAPEROPT_letter="$(PAPEROPT_letter)" PAPER="$(PAPER)" \ - PLANTUML_JAR="$(shell ./plantuml_fetch.sh | tail -1)" \ + PLANTUML_JAR="/usr/share/plantuml/plantuml.jar" \ $(srcdir)/sbuild $(SPHINXBUILD) \ -c $(srcdir) \ $(ALLSPHINXOPTS) diff --git a/doc/ext/traffic-server.py b/doc/ext/traffic-server.py index 6e88d316..cf6554ef 100644 --- a/doc/ext/traffic-server.py +++ b/doc/ext/traffic-server.py @@ -380,7 +380,7 @@ with open('../configure.ac', 'r') as f: autoconf_version = '.'.join(match.group(1).split('.', 2)[:2] + ['x']) # get the current branch the local repository is on -git_branch = subprocess.check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD']) +git_branch = "master" def make_github_link(name, rawtext, text, lineno, inliner, options={}, content=[]): diff --git a/doc/manpages.py b/doc/manpages.py index 8a485002..97f90e34 100644 --- a/doc/manpages.py +++ b/doc/manpages.py @@ -33,6 +33,9 @@ man_pages = [ ('appendices/command-line/traffic_top.en', 'traffic_top', u'Display Traffic Server statistics', None, '1'), ('appendices/command-line/tsxs.en', 'tsxs', u'Traffic Server plugin tool', None, '1'), ('appendices/command-line/traffic_via.en', 'traffic_via', u'Traffic Server Via header decoder', None, '1'), + ('appendices/command-line/traffic_layout.en', 'traffic_layout', u'Traffic Server sandbox management tool', None, '1'), + ('appendices/command-line/traffic_cache_tool.en', 'traffic_cache_tool', u'Traffic Server cache management tool', None, '1'), + ('appendices/command-line/traffic_wccp.en', 'traffic_wccp', u'Traffic Server WCCP client', None, '1'), ('admin-guide/files/cache.config.en', 'cache.config', u'Traffic Server cache configuration file', None, '5'), ('admin-guide/files/hosting.config.en', 'hosting.config', u'Traffic Server domain hosting configuration file', None, '5'), diff --git a/doc/uml/Makefile.am b/doc/uml/Makefile.am index 70f3c6da..f3d08cf0 100644 --- a/doc/uml/Makefile.am +++ b/doc/uml/Makefile.am @@ -18,7 +18,7 @@ if BUILD_DOCS images := $(patsubst %.uml,images/%.svg,$(wildcard *.uml)) -PLANTUML_JAR := $(shell ../plantuml_fetch.sh | tail -1) +PLANTUML_JAR := /usr/share/plantuml/plantuml.jar all-am: jar-check $(images) endif @@ -39,7 +39,7 @@ latex: all-am man: all-am images/%.svg : %.uml - $(JAVA) -jar $(PLANTUML_JAR) -o images -tsvg $< + $(JAVA) -jar $(PLANTUML_JAR) -graphvizdot /usr/bin/dot -o images -tsvg $< clean-local: rm -f images/*.svg