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 tools/Makefile
po/Makefile.in po/Makefile.in
docs/libpsl/Makefile docs/libpsl/Makefile
docs/libpsl/version.xml
data/Makefile data/Makefile
tests/Makefile tests/Makefile
libpsl-${LIBPSL_API_VERSION}.pc:libpsl.pc.in]) 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" "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 % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
]> ]>
<book id="index"> <book id="index">
<bookinfo> <bookinfo>
<title>libpsl Reference Manual</title> <title>Libpsl Reference Manual</title>
<releaseinfo> <releaseinfo>
for libpsl [VERSION]. for Libpsl &version;.
The latest version of this documentation can be found on-line at The latest version of this documentation can be found on-line at
<ulink role="online-location" url="http://github.com/rockdaboot/libpsl">GitHub</ulink>. <ulink role="online-location" url="http://github.com/rockdaboot/libpsl">GitHub</ulink>.
</releaseinfo> </releaseinfo>
</bookinfo> </bookinfo>
<chapter> <chapter id="libpsl">
<title>libpsl functions</title> <title>Libpsl Overview</title>
<para>
Libpsl provides functions to work with the Mozilla Public Suffix List.
</para>
<xi:include href="xml/libpsl.xml"/> <xi:include href="xml/libpsl.xml"/>
</chapter> </chapter>
<chapter id="object-tree"> <chapter id="object-tree">

View File

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