Ignore:
Timestamp:
Aug 16, 2014, 12:16:34 PM (5 years ago)
Author:
cal@…
Message:

base: port-distcheck.1: typo, use source: URL to reference contrib script, add source: macro to asciidoc.conf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/asciidoc.conf

    r123002 r123940  
    55guideurl=http://guide.macports.org/
    66wikiurl=https://trac.macports.org/wiki/
     7sourceurl=https://trac.macports.org/browser/
    78
    89## man: macro
     
    1920(?su)[\\]?(?P<name>guide):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
    2021(?su)[\\]?(?P<name>wiki):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
     22(?su)[\\]?(?P<name>source):(?P<target>\S*?)\[(?P<attrlist>.*?)\]=
    2123
    2224# man: and guide: for docbook
     
    2729</citerefentry>
    2830[guide-inlinemacro]
    29 <ulink url="{guideurl}#{target}">{0={guideurl}{target}}</ulink>
     31<ulink url="{guideurl}#{target}">{0={guideurl}#{target}}</ulink>
    3032[wiki-inlinemacro]
    3133<ulink url="{wikiurl}{target}">{0={target}}</ulink>
     34[source-inlinemacro]
     35<ulink url="{sourceurl}{target}">{0={target}}</ulink>
    3236endif::backend-docbook[]
    3337
     
    3741<a href="{target}{0?.{0}}.html">{target}{0?({0})}</a>
    3842[guide-inlinemacro]
    39 <a href="{guideurl}#{target}">{0={guideurl}{target}}</a>
     43<a href="{guideurl}#{target}">{0={guideurl}#{target}}</a>
    4044[wiki-inlinemacro]
    4145<a href="{wikiurl}{target}">{0={target}}</a>
     46[source-inlinemacro]
     47<a href="{sourceurl}{target}">{0={target}}</a>
    4248endif::backend-xhtml11[]
    4349
Note: See TracChangeset for help on using the changeset viewer.