From: Michal Vaner Date: Fri, 5 Sep 2008 18:14:35 +0000 (+0200) Subject: Documentation system: file xrefs X-Git-Tag: holmes-import~342 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a69e40de5af206f54bc9bb22eadb7d6dcafe8298;p=libucw.git Documentation system: file xrefs <> and <> links to other files work now. --- diff --git a/build/asciidoc-xhtml.conf b/build/asciidoc-xhtml.conf index 81313ce0..97f9a128 100644 --- a/build/asciidoc-xhtml.conf +++ b/build/asciidoc-xhtml.conf @@ -13,6 +13,9 @@ NULL=NULL [func_ref_file-inlinemacro] {caption={name}:!:{params}} +[xref_file-inlinemacro] +{caption=[{target}]} + [func_anchor-inlinemacro]
{prefix}:!:{params}
diff --git a/build/asciidoc.conf b/build/asciidoc.conf index c32b048d..be579769 100644 --- a/build/asciidoc.conf +++ b/build/asciidoc.conf @@ -1,6 +1,7 @@ [macros] (?su)[\\]?<<(?P\w+):(?P[^&;:()<> ]+)(?P\([^&:;]*\);?)(,(?P[^&;]+))?>>=func_ref_file (?su)[\\]?<<(?P[^&;:()<> ]+)(?P\([^&:;]*\);?)(,(?P[^&;]+))?>>=func_ref +(?su)[\\]?<<(?P\w+):(?P\w+)(,(?P[^&;]+))?>>=xref_file (?su)[\\]?@(?P\w+)=func_param (?su)[\\]?!!f!(?P[^!]*(?P\w+))(?P\([^&;:()]*\);?)[^!]*!!!=func_anchor (?su)[\\]?(?P(?P\w+)\([^();:]*\))=func_auto_ref