[nginx] Free nginx: support for sections in CHANGES.
Maxim Dounin
mdounin at mdounin.ru
Tue Feb 20 14:09:09 UTC 2024
details: http://freenginx.org/hg/nginx/rev/e79c7521aaf4
branches:
changeset: 9215:e79c7521aaf4
user: Maxim Dounin <mdounin at mdounin.ru>
date: Mon Feb 19 03:13:18 2024 +0300
description:
Free nginx: support for sections in CHANGES.
diffstat:
docs/dtd/changes.dtd | 6 ++++--
docs/xml/nginx/changes.xml | 11 ++++++++++-
docs/xsls/changes.xsls | 5 +++--
3 files changed, 17 insertions(+), 5 deletions(-)
diffs (63 lines):
diff --git a/docs/dtd/changes.dtd b/docs/dtd/changes.dtd
--- a/docs/dtd/changes.dtd
+++ b/docs/dtd/changes.dtd
@@ -3,8 +3,10 @@
<!ENTITY mdash " - " >
-<!ELEMENT change_log (changes)* >
-<!ATTLIST change_log title CDATA #REQUIRED >
+<!ELEMENT change_log (section)* >
+
+<!ELEMENT section (changes)* >
+<!ATTLIST section title CDATA #REQUIRED >
<!ELEMENT changes (change)* >
<!ATTLIST changes ver CDATA #REQUIRED
diff --git a/docs/xml/nginx/changes.xml b/docs/xml/nginx/changes.xml
--- a/docs/xml/nginx/changes.xml
+++ b/docs/xml/nginx/changes.xml
@@ -2,7 +2,14 @@
<!DOCTYPE change_log SYSTEM "../../dtd/changes.dtd" >
-<change_log title="nginx">
+<change_log>
+
+<section title="freenginx">
+
+
+</section>
+
+<section title="nginx">
<changes ver="1.25.3" date="2023-10-24">
@@ -30074,4 +30081,6 @@ The first public version.
</changes>
+</section>
+
</change_log>
diff --git a/docs/xsls/changes.xsls b/docs/xsls/changes.xsls
--- a/docs/xsls/changes.xsls
+++ b/docs/xsls/changes.xsls
@@ -13,14 +13,15 @@ X:var br = {<br>}
X:template = "/" { !! "change_log"; }
-X:template = "change_log" { !! "changes"; }
+X:template = "change_log" { !! "section"; }
+X:template = "section" { !! "changes"; }
X:template = "changes" {
X:text {
}
!{substring(concat($conf/changes[@lang=$lang]/title,
- //change_log/@title,
+ ../@title,
' ', @ver,
' '),
1, $conf/changes[@lang=$lang]/length)}
More information about the nginx-devel
mailing list