Changes between Version 2 and Version 3 of WikiRestructuredTextLinks


Ignore:
Timestamp:
Apr 24, 2020, 9:10:38 AM (5 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredTextLinks

    v2 v3  
    11= TracLinks in reStructuredText =
    22
    3 This document illustrates how to use the `:trac:` role in reStructuredText. The page is written like:
     3This document illustrates how to use the `:trac:` role in [http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html reStructuredText]. The page is written like:
    44
    55{{{
    6 {{{
    7 #!rst
     6{{{#!rst
    87Examples:
    98
     
    1312 * Changesets: :trac:`r1`, :trac:`[1]` or :trac:`changeset:1`
    1413 * Revision log: :trac:`r1:3`, :trac:`[1:3]` or :trac:`log:@1:3`, :trac:`log:trunk@1:3`
    15  * Diffs (since version 0.10): :trac:`diff:@20:30`, :trac:`diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default` or :trac:`diff:trunk/trac@3538//sandbox/vc-refactoring/trac@3539`
     14 * Diffs: :trac:`diff:@20:30`, :trac:`diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default` or :trac:`diff:trunk/trac@3538//sandbox/vc-refactoring/trac@3539`
    1615 * Wiki pages: :trac:`CamelCase` or :trac:`wiki:CamelCase`
    1716 * Milestones: :trac:`milestone:1.0`
     
    2726}}}
    2827
    29 Provided you have docutils installed, the above block will render as:
     28Provided you have [http://docutils.sourceforge.net/ docutils] installed, the above block will render as:
    3029----
    31 {{{
    32 #!rst
     30{{{#!rst
    3331Examples:
    3432
     
    3836 * Changesets: :trac:`r1`, :trac:`[1]` or :trac:`changeset:1`
    3937 * Revision log: :trac:`r1:3`, :trac:`[1:3]` or :trac:`log:@1:3`, :trac:`log:trunk@1:3`
    40  * Diffs (since version 0.10): :trac:`diff:@20:30`, :trac:`diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default` or :trac:`diff:trunk/trac@3538//sandbox/vc-refactoring/trac@3539`
     38 * Diffs: :trac:`diff:@20:30`, :trac:`diff:tags/trac-0.9.2/wiki-default//tags/trac-0.9.3/wiki-default` or :trac:`diff:trunk/trac@3538//sandbox/vc-refactoring/trac@3539`
    4139 * Wiki pages: :trac:`CamelCase` or :trac:`wiki:CamelCase`
    4240 * Milestones: :trac:`milestone:1.0`
     
    5250----
    5351
    54 Note also that any of the above could have been written using substitution references and the `trac::` directive:
     52Note that the above could have been written using substitution references and the `trac::` directive:
    5553{{{
    56 {{{
    57 #!rst
     54{{{#!rst
    5855See |ticket123|.
    5956
     
    6562----
    6663
    67 {{{
    68 #!rst
     64{{{#!rst
    6965See |ticket123|.
    7066