Edgewall Software

Version 2 (modified by anonymous, 20 years ago) ( diff )

This page documents the 1.4 (latest stable) release. Documentation for other releases can be found here.

TracLinks in reStructuredText

This document is for testing the ..trac:: directive. The page is written like

{{{
#!rst 

Examples
...
...

}}}

This is a list of example uses of the trac directive, providing use of TracLinks in WikiRestructuredText.

Examples

trac role

Syntax is `link`:trac: and could be put anywhere int the text. 'link' has the same format as below.

In the middle of my text `WikiFormatting`:trac: see!!!!:
In the middle of my text WikiFormatting see!!!!

wiki

.. trac:: WikiFormatting:
WikiFormatting
.. trac:: wiki:WikiFormatting
wiki:WikiFormatting
.. trac:: wiki:WikiFormatting WikiFormatting:
WikiFormatting
.. trac:: wiki:WikiFormatting LinkText:
LinkText

tickets

.. trac:: #1:
#1
.. trac:: #1 ticket one:
ticket one
.. trac:: ticket:1:
ticket:1
.. trac:: ticket:1 ticket one:
ticket one

reports

.. trac:: {1}:
{1}
.. trac:: {1} report one:
report one
.. trac:: report:1:
report:1
.. trac:: report:1 report one:
report one

changesets

.. trac:: [42]:
[42]
.. trac:: [42] changeset 42:
changeset 42
.. trac:: changeset:42:
changeset:42
.. trac:: changeset:42 changeset 42:
changeset 42
.. trac:: foo:
foo

files

.. trac:: browser:foo/hoo:
browser:foo/hoo
.. trac:: repos:foo/hoo foo/hoo:
foo/hoo
.. trac:: source:foo/hoo hoo in foo:
hoo in foo
.. trac:: browser:foo/hoo#latest latest of foo/hoo:
latest of foo/hoo
.. trac:: repos:foo/hoo#42 foo/hoo in rev 42:
foo/hoo in rev 42

See also: WikiRestructuredTextLinks, TracLinks

Note: See TracWiki for help on using the wiki.