1 | | = TracLinks in reStructuredText = |
| 1 | [http://www.googleandbaidu.com/ 网站建设][http://www.googletosh.com/ 网站推广] |
| 2 | [http://www.googletosh.com/ google推广][http://www.rentcarok.org/ 租车] |
| 3 | [http://www.rentcarok.org/ 上海租车][http://www.rentcarok.org/ 汽车租èµ] |
| 4 | [http://www.shrentcar.com/ 租车][http://www.shrentcar.com/上海租车] |
| 5 | [http://www.shrentcar.com/ 汽车租èµ][http://www.shrentcar.com/how.htm/ 租车] |
| 6 | [http://www.shrentcar.com/how.htm/上海租车][http://www.shrentcar.com/how.htm/ 汽车租èµ] |
| 7 | [http://www.revivedata.com/ æ•°æ®æ¢å¤][http://www.shticket.com/ 预订机票] |
| 8 | [http://www.translatebbs.com/ 英è¯ç¿»è¯‘][http://www.shticket.com/ 机票] |
| 9 | [http://www.goodticket.org/ 机票][http://www.goodticket.org/ 预订机票] |
| 10 | [http://www.curevitiligo.com/English/index.htm/ vitiligol][http://www.dela88.com/ 防é™ç”µ/防é™ç”µäº§å“] |
| 11 | [http://www.haungsanok.com/ 防é™ç”µ/防é™ç”µæ¤…å][http://www.translatebbs.com/ 翻译] |
| 12 | [http://www.tripto.com/ 三亚][http://www.tripto.com/ 三亚旅游] |
| 13 | [http://duweb.w2.ftpcn.cn/ æ•°æ®ä¿®å¤][http://duweb.w2.ftpcn.cn/ æ•°æ®æ¢å¤] |
| 14 | [http://sticket.w2.ftpcn.cn/ 机票][http://www.sexwebshop.net/ æˆäººç”¨å“] |
| 15 | [http://www.designatchina.com/ 设计][http://www.designatchina.com/ 广告设计] |
| 16 | [http://www.printingok.net/ å°åˆ·][http://sexwebshop.w2.ftpcn.cn/ æˆäººç”¨å“], |
| 17 | [http://printingok.w2.ftpcn.cn/ å°åˆ·][http://www.regsh.com/ 注册公å¸][http://www.regsh.com/ 公叿³¨å†Œ] |
| 18 | [http://www.regsh.com/ 注册上海公å¸][http://www.postdream.org/ 公叿³¨å†Œ][http://www.regsh.com/ 公叿³¨å†Œ] |
| 19 | [http://www.postdream.org/ 注册公å¸][http://www.postdream.org/ 注册上海公å¸][http://www.dreamatsh.com/ 注册公å¸] |
| 20 | [http://www.dreamatsh.com/ 公叿³¨å†Œ][http://www.dreamatsh.com/ 注册公å¸] |
| 21 | [http://www.googletosh.org/ 注册香港公][http://www.postdream.org/ 公叿³¨å†Œ] |
| 22 | [http://www.googletosh.org/Company.htm/ 注册香港公å¸][http://www.googletosh.org/ 注册香港公å¸] |
| 23 | [http://www.dreamhk.org/ 注册香港公å¸][http://www.dreamhk.org/ 香港公å¸] |
3 | | This is a list of example uses of the ''trac'' directive, providing use of TracLinks in WikiRestructuredText. |
4 | | |
5 | | == Examples == |
6 | | {{{ |
7 | | {{{ |
8 | | #!rst |
9 | | =============== |
10 | | Trac Link Tests |
11 | | =============== |
12 | | |
13 | | This document is for testing the ``..trac::`` directive. |
14 | | |
15 | | tickets |
16 | | ======= |
17 | | |
18 | | ``.. trac:: #1``: |
19 | | .. trac:: #1 |
20 | | ``.. trac:: #1 ticket one``: |
21 | | .. trac:: #1 ticket one |
22 | | ``.. trac:: ticket:1``: |
23 | | .. trac:: ticket:1 |
24 | | ``.. trac:: ticket:1 ticket one``: |
25 | | .. trac:: ticket:1 ticket one |
26 | | |
27 | | reports |
28 | | ======= |
29 | | |
30 | | ``.. trac:: {1}``: |
31 | | .. trac:: {1} |
32 | | ``.. trac:: {1} report one``: |
33 | | |
34 | | .. trac:: {1} report one |
35 | | ``.. trac:: report:1``: |
36 | | .. trac:: report:1 |
37 | | ``.. trac:: report:1 report one``: |
38 | | .. trac:: report:1 report one |
39 | | |
40 | | changesets |
41 | | ========== |
42 | | |
43 | | ``.. trac:: [42]``: |
44 | | .. trac:: [42] |
45 | | ``.. trac:: [42] changeset 42``: |
46 | | .. trac:: [42] changeset 42 |
47 | | ``.. trac:: changeset:42``: |
48 | | .. trac:: changeset:42 |
49 | | ``.. trac:: changeset:42 changeset 42``: |
50 | | .. trac:: changeset:42 changeset 42 |
51 | | ``.. trac:: foo``: |
52 | | .. trac:: foo |
53 | | |
54 | | files |
55 | | ===== |
56 | | |
57 | | ``.. trac:: browser:foo/hoo``: |
58 | | .. trac:: browser:foo/hoo |
59 | | ``.. trac:: repos:foo/hoo foo/hoo``: |
60 | | .. trac:: repos:foo/hoo foo/hoo |
61 | | ``.. trac:: source:foo/hoo hoo in foo``: |
62 | | .. trac:: source:foo/hoo hoo in foo |
63 | | ``.. trac:: browser:foo/hoo#latest latest of foo/hoo``: |
64 | | .. trac:: browser:foo/hoo#latest latest of foo/hoo |
65 | | ``.. trac:: repos:foo/hoo#42 foo/hoo in rev 42``: |
66 | | .. trac:: repos:foo/hoo#42 foo/hoo in rev 42 |
67 | | }}} |
68 | | }}} |
69 | | |
70 | | === Results in: === |
71 | | |
72 | | {{{ |
73 | | #!rst |
74 | | =============== |
75 | | Trac Link Tests |
76 | | =============== |
77 | | |
78 | | This document is for testing the ``..trac::`` directive. |
79 | | |
80 | | tickets |
81 | | ======= |
82 | | |
83 | | ``.. trac:: #1``: |
84 | | .. trac:: #1 |
85 | | ``.. trac:: #1 ticket one``: |
86 | | .. trac:: #1 ticket one |
87 | | ``.. trac:: ticket:1``: |
88 | | .. trac:: ticket:1 |
89 | | ``.. trac:: ticket:1 ticket one``: |
90 | | .. trac:: ticket:1 ticket one |
91 | | |
92 | | reports |
93 | | ======= |
94 | | |
95 | | ``.. trac:: {1}``: |
96 | | .. trac:: {1} |
97 | | ``.. trac:: {1} report one``: |
98 | | |
99 | | .. trac:: {1} report one |
100 | | ``.. trac:: report:1``: |
101 | | .. trac:: report:1 |
102 | | ``.. trac:: report:1 report one``: |
103 | | .. trac:: report:1 report one |
104 | | |
105 | | changesets |
106 | | ========== |
107 | | |
108 | | ``.. trac:: [42]``: |
109 | | .. trac:: [42] |
110 | | ``.. trac:: [42] changeset 42``: |
111 | | .. trac:: [42] changeset 42 |
112 | | ``.. trac:: changeset:42``: |
113 | | .. trac:: changeset:42 |
114 | | ``.. trac:: changeset:42 changeset 42``: |
115 | | .. trac:: changeset:42 changeset 42 |
116 | | ``.. trac:: foo``: |
117 | | .. trac:: foo |
118 | | |
119 | | files |
120 | | ===== |
121 | | |
122 | | ``.. trac:: browser:foo/hoo``: |
123 | | .. trac:: browser:foo/hoo |
124 | | ``.. trac:: repos:foo/hoo foo/hoo``: |
125 | | .. trac:: repos:foo/hoo foo/hoo |
126 | | ``.. trac:: source:foo/hoo hoo in foo``: |
127 | | .. trac:: source:foo/hoo hoo in foo |
128 | | ``.. trac:: browser:foo/hoo#latest latest of foo/hoo``: |
129 | | .. trac:: browser:foo/hoo#latest latest of foo/hoo |
130 | | ``.. trac:: repos:foo/hoo#42 foo/hoo in rev 42``: |
131 | | .. trac:: repos:foo/hoo#42 foo/hoo in rev 42 |
132 | | }}} |
133 | | |
134 | | ---- |
135 | | See also: WikiRestructuredTextLinks, TracLinks |