Changes between Version 2 and Version 3 of WikiRestructuredTextLinks
- Timestamp:
- 04/22/15 15:34:51 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiRestructuredTextLinks
v2 v3 1 1 = TracLinks in reStructuredText = 2 2 3 This document illustrates how to use the `:trac:` role in reStructuredText. The page is written like:3 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 4 5 5 {{{ … … 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 31 {{{ … … 38 38 * Changesets: :trac:`r1`, :trac:`[1]` or :trac:`changeset:1` 39 39 * 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`40 * 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 41 * Wiki pages: :trac:`CamelCase` or :trac:`wiki:CamelCase` 42 42 * Milestones: :trac:`milestone:1.0` … … 52 52 ---- 53 53 54 Note also that any ofthe above could have been written using substitution references and the `trac::` directive:54 Note that the above could have been written using substitution references and the `trac::` directive: 55 55 {{{ 56 56 {{{