]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Added tags for markup of programmer's documentation.
authorMartin Mares <mj@ucw.cz>
Wed, 31 May 2000 11:28:52 +0000 (11:28 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 31 May 2000 11:28:52 +0000 (11:28 +0000)
doc/sbase/dist/birddoc/html/mapping
doc/sbase/dtd/birddoc.dtd

index 834fe0fe786a803f44acdf2b492b39e37f457264..e703fb47d96e46f45a8efa6efa334a4210acedd5 100644 (file)
 <p>                    "<P>"
 </p>                   ""                      +
 
+<hrule>                        "<HR>"
+
 <itemize>      +       "<UL>"          +
 </itemize>     +       "</UL>"         +
 
 <tag>                  "<DT><CODE>"
 </tag>                 "</CODE><DD>"
 
+<tagp>                 "<DT>"
+</tagp>                        "<DD>"
+
 <cite>                 "[<I>[ID]</I>]"
 </cite>
 
 <m>                    "<I>"
 </m>                   "</I>"
 
+<const>                        "<I>"
+</const>               "</I>"
+
+<func>                 "<B>"
+</func>                        "</B>"
+
+<struct>               "<I>"
+</struct>              "</I>"
+
+<param>                        "<B>"
+</param>               "</B>"
+
+<type>                 "<I>"
+</type>                        "</I>"
+
+<funcdef>              "<B>"
+</funcdef>             "</B>"
+
 % url support by HG
 
 <url>          +       "<@@url>[URL]\n"
index dee74ee511edeacb2c125f9e72c7b902dfdc9026..4e818ab883b05a00044d9092035129b5c03d61ef 100644 (file)
@@ -12,7 +12,10 @@ anywhere else. <pavel@ucw.cz>
      Tom Gordon.
 
      $Log$
-     Revision 1.1  2000-05-29 12:05:21  mj
+     Revision 1.2  2000-05-31 11:28:52  mj
+     Added tags for markup of programmer's documentation.
+
+     Revision 1.1  2000/05/29 12:05:21  mj
      Renamed the DTD from linuxdoc to birddoc.
 
      Pavel, please check whether it builds in your environment as well.
@@ -79,7 +82,7 @@ anywhere else. <pavel@ucw.cz>
 <!-- ================================================= -->
 
 <!entity % emph 
-       " em|it|bf|sf|sl|tt|cf|m|cparam " >
+       " em|it|bf|sf|sl|tt|cf|m|cparam|const|func|struct|param|type|funcdef " >
 
 <!entity % index "idx|cdx|nidx|ncdx" >
 
@@ -94,7 +97,7 @@ anywhere else. <pavel@ucw.cz>
         " list | itemize | enum | descrip " >
 
 <!entity % par         
-       "  %list; | comment | lq | quote | tscreen " >
+       "  %list; | comment | lq | quote | tscreen | hrule " >
 
 <!entity % mathpar " dm | eq " >
 
@@ -133,6 +136,7 @@ anywhere else. <pavel@ucw.cz>
 <!element  p o o (( %inline | %sectpar )+) +(newline) >
 <!entity ptag '<p>' >
 <!entity psplit '</p><p>' >
+<!element hrule - - EMPTY>
 
 <!shortref pmap
        "&#RS;B" null 
@@ -161,6 +165,13 @@ anywhere else. <pavel@ucw.cz>
 <!element sq - - (%inline)>
 <!element cparam - - (%inline)>
 
+<!element const - - (%inline)>
+<!element func - - (%inline)>
+<!element struct - - (%inline)>
+<!element param - - (%inline)>
+<!element type - - (%inline)>
+<!element funcdef - - (%inline)>
+
 <!entity   ftag     '<f>'    -- formula begin -- >
 <!entity   qendtag  '</sq>'>
 
@@ -205,7 +216,7 @@ anywhere else. <pavel@ucw.cz>
         "}" rcub
         "|" verbar >
 
-<!element descrip - - (tag?, p+)+ >
+<!element descrip - - ((tag | tagp)?, p+)+ >
 <!usemap desmap descrip>
 
 <!element item o o ((%inline; | %sectpar;)*, p*) >
@@ -213,6 +224,9 @@ anywhere else. <pavel@ucw.cz>
 <!element tag - o (%inline)>
 <!usemap desmap tag>
 
+<!element tagp - o (%inline)>
+<!usemap desmap tagp>
+
 <!usemap global (list,itemize,enum)>
 <!entity space " ">
 <!entity null "">