~ubuntu-branches/ubuntu/saucy/python-docutils/saucy-proposed

« back to all changes in this revision

Viewing changes to test/test_writers/test_manpage.py

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2012-10-19 18:23:15 UTC
  • mfrom: (1.2.1) (11.1.6 experimental)
  • Revision ID: package-import@ubuntu.com-20121019182315-ln3lvct1pqq7mzgm
Tags: 0.9.1+svn7532-0ubuntu1
* Resynchronize with Debian packaging SVN, remaining change:
  - Use dh_python2 instead of dh_pysupport.
* New snapshot from upstream SVN, fixes build with Python 3.3.
* Add XS-Testsuite header.
* debian/patches/move-data-to-usr-share.diff: unfuzz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        r""".TH   "" "" ""
55
55
.SH NAME
56
56
 \- 
57
 
.\" Man page generated from reStructeredText.
 
57
.\" Man page generated from reStructuredText.
58
58
.
59
59
.\" Generated by docutils manpage writer.
60
 
.\" 
61
60
.
62
61
"""],
63
62
    ]
99
98
--version, -V           Show this program's version number and exit.
100
99
--help, -h              Show this help message and exit.
101
100
 
102
 
OTHER SECTION
 
101
OtHeR SECTION
103
102
=============
104
103
 
105
104
With mixed case.
 
105
 
 
106
.. Attention::
 
107
 
 
108
   Admonition with title
 
109
 
 
110
   * bullet list
 
111
   * bull and list
 
112
 
 
113
.. admonition:: homegrown 
 
114
 
 
115
   something important
 
116
 
106
117
""", 
107
 
        r""".\" Man page generated from reStructeredText.
 
118
        r""".\" Man page generated from reStructuredText.
108
119
.
109
120
.TH SIMPLE 1 "2009-08-05" "0.1" "text processing"
110
121
.SH NAME
111
122
simple \- The way to go
112
123
"""+indend_macros+
113
124
r""".SH SYNOPSIS
 
125
.INDENT 0.0
 
126
.INDENT 3.5
114
127
.sp
115
128
.nf
116
129
.ft C
117
130
K.I.S.S keep it simple.
118
131
.ft P
119
132
.fi
 
133
.UNINDENT
 
134
.UNINDENT
120
135
.SH DESCRIPTION
121
136
.sp
122
137
General rule of life.
135
150
.SH OTHER SECTION
136
151
.sp
137
152
With mixed case.
 
153
.sp
 
154
\fBATTENTION!:\fP
 
155
.INDENT 0.0
 
156
.INDENT 3.5
 
157
Admonition with title
 
158
.INDENT 0.0
 
159
.IP \(bu 2
 
160
bullet list
 
161
.IP \(bu 2
 
162
bull and list
 
163
.UNINDENT
 
164
.UNINDENT
 
165
.UNINDENT
 
166
.INDENT 0.0
 
167
.INDENT 3.5
 
168
.IP "homegrown"
 
169
.sp
 
170
something important
 
171
.UNINDENT
 
172
.UNINDENT
138
173
.SH AUTHOR
139
174
someone@somewhere.net
140
175
 
142
177
.SH COPYRIGHT
143
178
public domain
144
179
.\" Generated by docutils manpage writer.
145
 
.\" 
146
180
.
147
181
"""],
148
182
    ]
160
194
.TH   "" "" ""
161
195
.SH NAME
162
196
 \\- \n\
163
 
.\\" Man page generated from reStructeredText.
 
197
.\\" Man page generated from reStructuredText.
164
198
.
165
199
.INDENT 0.0
166
200
.INDENT 3.5
190
224
.UNINDENT
191
225
.UNINDENT
192
226
.\\" Generated by docutils manpage writer.
193
 
.\\" 
194
227
.
195
228
''']
196
229
]
218
251
.TH   "" "" ""
219
252
.SH NAME
220
253
 \\- \n\
221
 
.\\" Man page generated from reStructeredText.
 
254
.\\" Man page generated from reStructuredText.
222
255
.
223
256
optin group with dot as group item
224
257
.INDENT 0.0
247
280
bla bla bla
248
281
.UNINDENT
249
282
.\\" Generated by docutils manpage writer.
250
 
.\\" \n\
251
283
."""],
252
284
    ]
253
285
 
275
307
.TH DEFINITION LIST TEST  "" "" ""
276
308
.SH NAME
277
309
Definition List Test \\- \n\
278
 
.\\" Man page generated from reStructeredText.
 
310
.\\" Man page generated from reStructuredText.
279
311
.
280
312
.SS Abstract
281
313
.sp
291
323
Description of Term 1 Description of Term 1
292
324
.UNINDENT
293
325
.\\" Generated by docutils manpage writer.
294
 
.\\" \n\
295
326
.'''],
296
327
    ]
297
328