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/
<a href="#searchModal" data-toggle="modal"><i class="fa fa-search"></i> Search</a>
</li>
{% endif %}
- <li {% if not previous_page %}class="disabled"{% endif %}>
+<!-- <li {% if not previous_page %}class="disabled"{% endif %}>
<a rel="next" {% if previous_page %}href="{{ previous_page.url }}"{% endif %}>
<i class="fa fa-arrow-left"></i> Previous
</a>
<a rel="prev" {% if next_page %}href="{{ next_page.url }}"{% endif %}>
Next <i class="fa fa-arrow-right"></i>
</a>
- </li>
+ </li> -->
{% if repo_url %}
<li>
<a href="{{ repo_url }}">