Commit 8154fe45 authored by Kjo's avatar Kjo

Update website build script

parent 7c2abe3b
......@@ -56,6 +56,11 @@ In addition, the build and installation process requires:
- python-distutils-extra
- pandoc
And to build the website:
- python-epydoc
- xsltproc
- docbook-xsl
Quick installation
==================
......
#!/bin/sh
mkdir -p build/site
echo copying images
cp site/img build/site/ -r
echo generate main page
pandoc --output site/index.html \
pandoc --output build/site/index.html \
--include-before-body site/inc_title.html \
--css style.css \
--standalone \
--table-of-contents \
site/index.mdwn
echo generate changelog page
pandoc --output site/changelog.html \
pandoc --output build/site/changelog.html \
--include-before-body site/inc_title.html \
--css style.css \
--standalone \
CHANGELOG
echo generate todo page
pandoc --output site/todo.html \
pandoc --output build/site/todo.html \
--css style.css \
--include-before-body site/inc_title.html \
--standalone \
TODO
echo generate man page
pandoc --output=site/bookletimposer.1.html \
pandoc --output=build/site/bookletimposer.1.html \
--css style.css \
--include-before-body site/inc_title.html \
--standalone \
doc/bookletimposer.1.mdwn
echo generate online help
xsltproc -o site/help.html \
xsltproc -o build/site/help.html \
--stringparam html.stylesheet style.css \
/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl \
help/C/bookletimposer.xml
help/C/index.docbook
cp -r help/C/figures site/figures
echo generate API documentation
epydoc --docformat=restructuredtext \
--output=site/api/ \
--output=build/site/api/ \
--inheritance=included \
--no-private \
--no-frames \
......
site/img/bookletimposer-main_window.png

23.2 KB | W: | H:

site/img/bookletimposer-main_window.png

71.5 KB | W: | H:

site/img/bookletimposer-main_window.png
site/img/bookletimposer-main_window.png
site/img/bookletimposer-main_window.png
site/img/bookletimposer-main_window.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -10,7 +10,7 @@ About
documents, especially designed to work on booklets.
*Bookletimposer* is implemented as a commandline and GTK+ interface to *pdfimposer*,
a reusable python module built on top of [pyPdf](http://pybrary.net/pyPdf/).
a reusable python module built on top of [pyPdf2](https://mstamy2.github.io/PyPDF2/).
It was tested on GNU/Linux althought it may work on any systems with a Python
interpreter.
......@@ -35,16 +35,14 @@ feature; pdfshuffler is
Screenshots
-----------
![bookletimposer 0.1 main window](img/bookletimposer-main_window.png)
![bookletimposer 0.1 progress dialog](img/bookletimposer-progression.png)
![bookletimposer main window](img/bookletimposer-main_window.png)
News
----
Please read the [changelog](changelog.html) to know more about latest releases
and throw an eye on the [git
repository](http://codecoop.org/projects/bookletimposer/repository) te see
repository](https://git.codecoop.org/kjo/bookletimposer) te see
what's going on.
Development status
......@@ -77,7 +75,7 @@ Everything is in [the archive](archive/).
You must first ensure that the dependencies are installed. They are provided by
the following Debian packages:
`python-gi gir1.2-gtk-3.0 gir1.2-glib-2.0 python-distutils-extra python-pypdf pandoc`
`python-gi gir1.2-gtk-3.0 gir1.2-glib-2.0 python-distutils-extra python-pypdf2 pandoc`
### Build pdfimposer/BookletImposer
......@@ -96,7 +94,7 @@ Dependencies
pdfimposer requires:
- python (≥ 2.6)
- [pyPdf (≥ 1.13)](http://pybrary.net/pyPdf/pyPdf-1.13.tar.gz)
- [pyPdf2 (≥ 1.23)](https://github.com/mstamy2/PyPDF2/releases)
BookletImposer also requires:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment