From: Pieter Lexis Date: Tue, 26 Aug 2014 09:34:03 +0000 (+0200) Subject: Theme fixes for CSS-width issues X-Git-Tag: rec-3.7.0-rc1~161^2^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=740a9aaab448797488543666c1466362c75b7d7e;p=thirdparty%2Fpdns.git Theme fixes for CSS-width issues --- diff --git a/pdns/docs/Makefile b/pdns/docs/Makefile index 2b27d86ffe..fcfb8657c1 100644 --- a/pdns/docs/Makefile +++ b/pdns/docs/Makefile @@ -2,51 +2,39 @@ all: pdns.txt pdns.pdf html/index.html html.tar.bz2 pdns-expanded.html manpages -pdns-expanded.xml: pdns.xml - ./expand < $< > $@ - clean: rm -rf *.dvi *.pdf *.tex *.toc *.aux *.ps *.bak *.tmp *~ *.log pdns.txt html.tar.bz2 html pdns pdns-expanded.html pdns-expanded.xml pdns_recursor.1 rec_control.1 manpages: dnsdist.1 pdns_recursor.1 rec_control.1 dnstcpbench.1 -html-new/index.html: markdown/** mkdocs.yml +html-new: html-new/index.html + +html-new/process: markdown/** markdown/*/** mkdocs.yml rm -rf html-new mkdir html-new rm -rf doc-build mkdir doc-build rsync -a --delete markdown/. doc-build/. ./process-md.sh - mkdocs build -html/index.html: pdns-expanded.xml - rm -rf html - xmlto xhtml -m config.xsl -o html $< - cp docbook.css html +html-new/index.html: html-new/process + mkdocs build pdns-expanded.html: pdns-expanded.xml xmlto xhtml-nochunks -m config.xsl $< - + html.tar.bz2: html/index.html tar cjf html.tar.bz2 html/ -%.txt: %-expanded.xml - xmlto txt -m config.xsl $< - mv pdns-expanded.txt pdns.txt - -%.pdf: %-expanded.xml - xmlto --with-dblatex pdf $< - mv pdns-expanded.pdf pdns.pdf - %1.xml: %1.txt asciidoc -b docbook -d manpage $< - + %.1: %.1.xml xmlto man $< - + %.html: %1.txt asciidoc -b xhtml11 -d manpage $< - + publish: rsync --exclude "*.png" --copy-links --delete -avrz ./html pdns.txt pdns.pdf html.tar.bz2 \ xs.powerdns.com:/var/www/doc.powerdns.com/ diff --git a/pdns/docs/markdown/theme/base.html b/pdns/docs/markdown/theme/base.html index b73b1ac046..be77364602 100644 --- a/pdns/docs/markdown/theme/base.html +++ b/pdns/docs/markdown/theme/base.html @@ -23,7 +23,7 @@ - {% if config.theme_center_lead %} + {% if theme_center_lead %}