Changes between Version 4 and Version 5 of WikiRestructuredTextLinks


Ignore:
Timestamp:
Aug 2, 2024, 3:31:43 PM (5 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiRestructuredTextLinks

    v4 v5  
    11= TracLinks in reStructuredText =
     2[[TracGuideToc]]
    23
    3 This document illustrates how to use the `:trac:` role in reStructuredText. The page is written like:
     4This document illustrates how to use the `:trac:` role in [http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html reStructuredText]. The page is written like:
    45
    56{{{
    6 {{{
    7 #!rst
     7{{{#!rst
    88Examples:
    99
     
    1313 * Changesets: :trac:`r1`, :trac:`[1]` or :trac:`changeset:1`
    1414 * 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`
     15 * 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`
    1616 * Wiki pages: :trac:`CamelCase` or :trac:`wiki:CamelCase`
    1717 * Milestones: :trac:`milestone:1.0`
     
    2727}}}
    2828
    29 Provided you have docutils installed, the above block will render as:
     29Provided you have [http://docutils.sourceforge.net/ docutils] installed, the above block will render as:
    3030----
    31 {{{
    32 #!rst
     31{{{#!rst
    3332Examples:
    3433
     
    3837 * Changesets: :trac:`r1`, :trac:`[1]` or :trac:`changeset:1`
    3938 * 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`
     39 * 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`
    4140 * Wiki pages: :trac:`CamelCase` or :trac:`wiki:CamelCase`
    4241 * Milestones: :trac:`milestone:1.0`
     
    5251----
    5352
    54 Note also that any of the above could have been written using substitution references and the `trac::` directive:
     53Note that the above could have been written using substitution references and the `trac::` directive:
    5554{{{
    56 {{{
    57 #!rst
     55{{{#!rst
    5856See |ticket123|.
    5957
     
    6563----
    6664
    67 {{{
    68 #!rst
     65{{{#!rst
    6966See |ticket123|.
    7067