added version to HTML docs

This commit is contained in:
Tim Ruehsen 2014-04-23 17:13:15 +02:00
parent 987b94fe94
commit 316e48d48d
3 changed files with 10 additions and 4 deletions

View File

@ -114,6 +114,7 @@ AC_CONFIG_FILES([Makefile
tools/Makefile
po/Makefile.in
docs/libpsl/Makefile
docs/libpsl/version.xml
data/Makefile
tests/Makefile
libpsl-${LIBPSL_API_VERSION}.pc:libpsl.pc.in])

View File

@ -3,19 +3,23 @@
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]>
<book id="index">
<bookinfo>
<title>libpsl Reference Manual</title>
<title>Libpsl Reference Manual</title>
<releaseinfo>
for libpsl [VERSION].
for Libpsl &version;.
The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://github.com/rockdaboot/libpsl">GitHub</ulink>.
</releaseinfo>
</bookinfo>
<chapter>
<title>libpsl functions</title>
<chapter id="libpsl">
<title>Libpsl Overview</title>
<para>
Libpsl provides functions to work with the Mozilla Public Suffix List.
</para>
<xi:include href="xml/libpsl.xml"/>
</chapter>
<chapter id="object-tree">

View File

@ -0,0 +1 @@
@LIBPSL_API_VERSION@