diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-09-29 18:08:40 +0200 |
---|---|---|
committer | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-10-11 17:43:03 +0200 |
commit | 7935b9d21228dcd1eb95ebcb056b2a815e3e854b (patch) | |
tree | 4ec56514b43b83fb91c140e6b874d0b59546ed6d /doc/sbase | |
parent | 9c20a8b7ae69487397392c720a5e75087c343df1 (diff) |
Doc: Add tag for links to RFCs
Diffstat (limited to 'doc/sbase')
-rw-r--r-- | doc/sbase/dist/birddoc/html/mapping | 4 | ||||
-rw-r--r-- | doc/sbase/dist/birddoc/latex2e/mapping | 3 | ||||
-rw-r--r-- | doc/sbase/dtd/birddoc.dtd | 6 |
3 files changed, 12 insertions, 1 deletions
diff --git a/doc/sbase/dist/birddoc/html/mapping b/doc/sbase/dist/birddoc/html/mapping index 5ce36066..1f05070c 100644 --- a/doc/sbase/dist/birddoc/html/mapping +++ b/doc/sbase/dist/birddoc/html/mapping @@ -205,6 +205,10 @@ <htmlurl> "<A HREF=\"[URL]\">[NAME]</A>" </htmlurl> +<rfc> "<A HREF=\"http://www.rfc-editor.org/info/rfc[ID]\">RFC [ID]</A>" +</rfc> + + % ref modified to have an optional name field <ref> + "<@@ref>[ID]\n" "[NAME]</A>\n" diff --git a/doc/sbase/dist/birddoc/latex2e/mapping b/doc/sbase/dist/birddoc/latex2e/mapping index e7c62e0a..f53bbbe4 100644 --- a/doc/sbase/dist/birddoc/latex2e/mapping +++ b/doc/sbase/dist/birddoc/latex2e/mapping @@ -238,6 +238,9 @@ <htmlurl> "\\href{[URL]}{[NAME]}" </htmlurl> +<rfc> "\\href{http://www.rfc-editor.org/info/rfc[ID]}{RFC [ID]}" +</rfc> + <x> </x> diff --git a/doc/sbase/dtd/birddoc.dtd b/doc/sbase/dtd/birddoc.dtd index 6db5066a..1db2af6c 100644 --- a/doc/sbase/dtd/birddoc.dtd +++ b/doc/sbase/dtd/birddoc.dtd @@ -99,7 +99,7 @@ anywhere else. <pavel@ucw.cz> <!-- url added by HG; htmlurl added by esr --> <!entity % xref - " label|ref|pageref|cite|url|htmlurl|ncite " > + " label|ref|pageref|cite|url|htmlurl|rfc|ncite " > <!entity % inline " (#pcdata | f| x| %emph; |sq| %xref | %index | file )* " > @@ -501,6 +501,10 @@ anywhere else. <pavel@ucw.cz> url cdata #required name cdata "&urlnam" > +<!element rfc - o empty> +<!attlist rfc + id cdata #required> + <!element pageref - o empty> <!attlist pageref id cdata #required> |