diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-03-15 15:05:51 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-03-15 15:05:51 +0000 |
commit | e2e3f5863a05f0a08cc3043e05fc6646c43b5015 (patch) | |
tree | d894d26151c1b5477e084a16d293904e4d4db939 /docbook/asciidoc.conf | |
parent | 005a83e54fc90a0fb627f73d46c0b61ace9f69c1 (diff) |
Add missing Asciidoc configuration.
svn path=/trunk/; revision=48315
Diffstat (limited to 'docbook/asciidoc.conf')
-rw-r--r-- | docbook/asciidoc.conf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docbook/asciidoc.conf b/docbook/asciidoc.conf new file mode 100644 index 0000000000..e01b678c52 --- /dev/null +++ b/docbook/asciidoc.conf @@ -0,0 +1,32 @@ + +[macros] + +# bugs.wireshark.org +# ws-buglink:<dddd> +(?su)(?<!\w)[\\]?ws-buglink:(?P<target>\d+)=ws-buglink + +# CVE ID +# cve-idlink:<dddd-dddd> +(?su)(?<!\w)[\\]?cve-idlink:(?P<target>\d{4}-\d+)=cve-idlink + + +ifdef::backend-docbook45[] + +[ws-buglink-inlinemacro] +<ulink url="https://bugs.wireshark.org/bugzilla/show_bug.cgi?id={target}">Bug {target}</ulink> + +[cve-idlink-inlinemacro] +<ulink url="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-{target}">CVE-{target}</ulink> + +endif::backend-docbook45[] + + +ifdef::backend-html4,backend-html5,backend-xhtml11[] + +[ws-buglink-inlinemacro] +<a href="https://bugs.wireshark.org/bugzilla/show_bug.cgi?id={target}">Bug {target}</a> + +[cve-idlink-inlinemacro] +<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-{target}">CVE-{target}</a> + +endif::backend-html4,backend-html5,backend-xhtml11[] |