* adjusted the sphinx make file to fetch the theme files from the web

to avoid manual updating the code when building the html docs
This commit is contained in:
Hrvoje Matijakovic
2013-03-25 16:32:26 +01:00
parent 24cabaa46a
commit 696374c171
2 changed files with 15 additions and 1 deletions

View File

@@ -38,6 +38,13 @@ clean:
-rm -rf $(BUILDDIR)/*
html:
@echo "Downloading percona-theme ..."
@wget -O percona-theme.tar.gz http://percona.com/docs/theme/percona-toolkit/2.2
@rm -rf percona-theme
@echo "Extracting theme."
@tar -zxf percona-theme.tar.gz
@rm percona-theme.tar.gz
@echo "Building html doc"
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

View File

@@ -76,7 +76,14 @@
</div>
</div>
<div class="side-column-block">
<div class="a-btn-container">
<a title="Download PDF Manual for Percona Toolkit 2.2" href="http://form.percona.com/Percona_Toolkit_2_2_Operations_Manual.html" class="a-btn-new">
<span class="a-btn-text">Download Manual</span>
<span class="a-btn-fixed-slide-text">PDF for version 2.2</span>
<span class="a-btn-icon-right"><span></span></span>
</a>
</div></div>
<div class="percona_com_ad" style="width:220px;"><script type="text/javascript" src="http://www.percona.com/ads.php?size=220x120"></script></div>