Skip to content

Commit

Permalink
Merge branch 'akrabat-experimental-html-manual' into experimental-htm…
Browse files Browse the repository at this point in the history
…l-manual
  • Loading branch information
lornajane committed Jan 2, 2019
2 parents 82d089f + dcd0ba5 commit 347256a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/gen_docs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/bin/sh

rst2pdf manual.rst --custom-cover=assets/cover.tmpl -o output/pdf/manual.pdf -s assets/manual.style -b1
rst2man rst2pdf.rst output/rst2pdf.1

# Determine correct name for rst2man
RST2MAN="rst2man"
if [ -x "$(command -v rst2man.py)" ]; then
RST2MAN="rst2man.py"
fi
$RST2MAN rst2pdf.rst output/rst2pdf.1

# set PYTHONPATH so we use the current contents of this repo, rather than our installed rst2pdf
PYTHONPATH=../ python rst2html-manual.py --stylesheet=assets/manual.css manual.rst output/html/manual.html
Expand Down

0 comments on commit 347256a

Please sign in to comment.