From 55fc7e7eaf7ee659964d4d2308ba610bee88aadb Mon Sep 17 00:00:00 2001
From: Boris Kolpackov
Date: Thu, 5 Oct 2023 11:31:51 +0200
Subject: Minor documentation fixes
---
xsd/doc/buildfile | 10 ++++++----
xsd/doc/cxx/tree/manual/index.xhtml.in | 6 +++---
xsd/doc/xsd-prologue.xhtml | 5 ++---
3 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/xsd/doc/buildfile b/xsd/doc/buildfile
index 3d2b949..271d17e 100644
--- a/xsd/doc/buildfile
+++ b/xsd/doc/buildfile
@@ -27,6 +27,12 @@ svg{*}: extension = svg
./: css{default} xsd{custom-literals} {png svg}{**}
+# Note: doc_version is also used in the man pages and the manual.
+#
+doc_version = [string] "$version.major.$version.minor.$version.patch"
+if $version.pre_release
+ doc_version += "-$version.pre_release_string"
+
# Man pages.
#
@@ -51,10 +57,6 @@ pregenerated/{man1 xhtml}{*}: dist = (!$develop)
if $develop
{
- doc_version = [string] "$version.major.$version.minor.$version.patch"
- if $version.pre_release
- doc_version += "-$version.pre_release_string"
-
# Let's take the last four-digit number to cover 2000-2021,2022.
#
doc_year = $regex.replace($copyright, '.+[-, ]([0-9][0-9][0-9][0-9]) .+', '\1')
diff --git a/xsd/doc/cxx/tree/manual/index.xhtml.in b/xsd/doc/cxx/tree/manual/index.xhtml.in
index 5a7240a..5274229 100644
--- a/xsd/doc/cxx/tree/manual/index.xhtml.in
+++ b/xsd/doc/cxx/tree/manual/index.xhtml.in
@@ -8,7 +8,7 @@
-
+
@@ -441,9 +441,9 @@
called C++/Tree.
-
Revision 4.1.0
+
Revision @doc_version@
This revision of the manual describes the C++/Tree
- mapping as implemented by CodeSynthesis XSD version 4.1.0.
+ mapping as implemented by CodeSynthesis XSD version @doc_version@.
This document is available in the following formats:
diff --git a/xsd/doc/xsd-prologue.xhtml b/xsd/doc/xsd-prologue.xhtml
index e52e1fc..6782a32 100644
--- a/xsd/doc/xsd-prologue.xhtml
+++ b/xsd/doc/xsd-prologue.xhtml
@@ -1,10 +1,9 @@
-
-
-
+
$project$ $version$ Compiler Command Line Manual
+
--
cgit v1.1