summaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-03-13 13:53:59 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2017-03-13 13:53:59 +0100
commit54ceaec3c86aa4fb1735ed18e7b2ed27112ba335 (patch)
tree7530098030c05d68c72913ce1747fc092127bd2c /doc/manual
parent9bdf56071db5dc2e0c6c4d1a0113c121b0c80cc2 (diff)
downloadvala-54ceaec3c86aa4fb1735ed18e7b2ed27112ba335.tar.gz
Introduce $API_VERSION as base for $PACKAGE_SUFFIX and for usage in manual
This goes along with unbreaking the manual-build with libxslt < 1.1.27. https://bugzilla.gnome.org/show_bug.cgi?id=779968
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/common.xsl2
-rw-r--r--doc/manual/version.xml.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/manual/common.xsl b/doc/manual/common.xsl
index 713e6dadc..2a802b52d 100644
--- a/doc/manual/common.xsl
+++ b/doc/manual/common.xsl
@@ -109,7 +109,7 @@
<xsl:template match="articleinfo" mode="toc">
<xsl:apply-templates select="abstract"/>
<table class="c-document_version">
- <tr><td>Vala version:</td><td><xsl:apply-templates select="str:replace(edition, '-', '')"/></td></tr>
+ <tr><td>Vala version:</td><td><xsl:apply-templates select="edition"/></td></tr>
<tr><td>Release:</td><td><xsl:apply-templates select="releaseinfo/text()"/></td></tr>
<tr><td>Status:</td><td><xsl:apply-templates select="releaseinfo/remark"/></td></tr>
<tr><td>Copyright:</td>
diff --git a/doc/manual/version.xml.in b/doc/manual/version.xml.in
index 3811e287c..3f7ead88a 100644
--- a/doc/manual/version.xml.in
+++ b/doc/manual/version.xml.in
@@ -6,7 +6,7 @@
<para>The Vala Reference Manual gives details on Vala's syntax and type system, including polymorphism using interfaces and type parameters (generics). Vala includes additional code generation routines, for example D-Bus inter-process communication and GTK+3 composite templates, these are only referred to in the Attributes section. The reference manual does not provide a tutorial for these features.</para>
<para>Vala is developed in a collaborative and self-supporting way by its users. They provide bug reports, documentation, patches, patch reviews and core development. Following this model of development the manual has an editable version at <ulink url="https://wiki.gnome.org/Projects/Vala/Manual">https://wiki.gnome.org/Projects/Vala/Manual</ulink> .</para>
</abstract>
-<edition>@PACKAGE_SUFFIX@</edition>
+<edition>@API_VERSION@</edition>
<releaseinfo>@VERSION@
<remark>Draft, document contains omissions and might contain errors</remark>
</releaseinfo>