summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2004-11-28 01:46:49 +0100
committerAndré Malo <nd@apache.org>2004-11-28 01:46:49 +0100
commitd1eb12acd59330f706c512dcd0ae4bd48a0a35e7 (patch)
tree33961d553be474530b0c61cff6f12239fa7ce3df
parentnew glossary item "hash" (diff)
downloadapache2-d1eb12acd59330f706c512dcd0ae4bd48a0a35e7.tar.xz
apache2-d1eb12acd59330f706c512dcd0ae4bd48a0a35e7.zip
add <program> element
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106775 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--docs/manual/style/common.dtd4
-rw-r--r--docs/manual/style/xsl/common.xsl14
2 files changed, 16 insertions, 2 deletions
diff --git a/docs/manual/style/common.dtd b/docs/manual/style/common.dtd
index 48db6bdf19..6172b5a5ba 100644
--- a/docs/manual/style/common.dtd
+++ b/docs/manual/style/common.dtd
@@ -35,8 +35,8 @@
<!-- Generic tag entities -->
-<!ENTITY % inlinetags "em | strong | code | a | br | directive | module | img
-| cite | q | dfn | var | transnote | glossary | phonetic">
+<!ENTITY % inlinetags "em | strong | code | a | br | directive | module |
+program | img | cite | q | dfn | var | transnote | glossary | phonetic">
<!ENTITY % blocktags "p | example | note | table | ul | ol | dl | pre
| blockquote">
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl
index da33da0048..1873135cc1 100644
--- a/docs/manual/style/xsl/common.xsl
+++ b/docs/manual/style/xsl/common.xsl
@@ -693,6 +693,20 @@
<!-- ==================================================================== -->
+<!-- <program> -->
+<!-- Inserts a link to referred program -->
+<!-- ==================================================================== -->
+<xsl:template match="program">
+<code class="program">
+ <a href="{$path}/programs/{normalize-space(.)}.html">
+ <xsl:value-of select="normalize-space(.)" />
+ </a>
+</code>
+</xsl:template>
+<!-- /program -->
+
+
+<!-- ==================================================================== -->
<!-- <related> -->
<!-- ==================================================================== -->
<xsl:template match="related">