Changes between Version 1 and Version 2 of WikiRestructuredTextLinks
- Timestamp:
- 2023-04-20T18:30:58Z (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiRestructuredTextLinks
v1 v2 1 1 = TracLinks in reStructuredText = 2 [[TracGuideToc]] 2 3 3 This document illustrates how to use the `:trac:` role in reStructuredText. The page is written like:4 This document illustrates how to use the `:trac:` role in [http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html reStructuredText]. The page is written like: 4 5 5 6 {{{ 6 {{{ 7 #!rst 7 {{{#!rst 8 8 Examples: 9 9 … … 13 13 * Changesets: :trac:`r1`, :trac:`[1]` or :trac:`changeset:1` 14 14 * 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` 16 16 * Wiki pages: :trac:`CamelCase` or :trac:`wiki:CamelCase` 17 17 * Milestones: :trac:`milestone:1.0` … … 27 27 }}} 28 28 29 Provided you have docutilsinstalled, the above block will render as:29 Provided you have [http://docutils.sourceforge.net/ docutils] installed, the above block will render as: 30 30 ---- 31 {{{ 32 #!rst 31 {{{#!rst 33 32 Examples: 34 33 … … 38 37 * Changesets: :trac:`r1`, :trac:`[1]` or :trac:`changeset:1` 39 38 * 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` 41 40 * Wiki pages: :trac:`CamelCase` or :trac:`wiki:CamelCase` 42 41 * Milestones: :trac:`milestone:1.0` … … 52 51 ---- 53 52 54 Note also that any ofthe above could have been written using substitution references and the `trac::` directive:53 Note that the above could have been written using substitution references and the `trac::` directive: 55 54 {{{ 56 {{{ 57 #!rst 55 {{{#!rst 58 56 See |ticket123|. 59 57 … … 65 63 ---- 66 64 67 {{{ 68 #!rst 65 {{{#!rst 69 66 See |ticket123|. 70 67