comparison doc/hgmanpage.py @ 26193:47e60ed4834f

hgmanpage: fix grammar remove 's's from places where they don't belong insert the preposition 'in'
author timeless@mozdev.org
date Tue, 08 Sep 2015 13:22:01 -0400
parents d8e0c591781c
children 1aee2ab0f902
comparison
equal deleted inserted replaced
26192:67e6e55360d2 26193:47e60ed4834f
16 5 file formats 16 5 file formats
17 6 games 17 6 games
18 7 miscellaneous 18 7 miscellaneous
19 8 system administration 19 8 system administration
20 20
21 Man pages are written *troff*, a text file formatting system. 21 Man pages are written in *troff*, a text file formatting system.
22 22
23 See http://www.tldp.org/HOWTO/Man-Page for a start. 23 See http://www.tldp.org/HOWTO/Man-Page for a start.
24 24
25 Man pages have no subsection only parts. 25 Man pages have no subsections only parts.
26 Standard parts 26 Standard parts
27 27
28 NAME , 28 NAME ,
29 SYNOPSIS , 29 SYNOPSIS ,
30 DESCRIPTION , 30 DESCRIPTION ,
315 self._cnt = node['start'] - 1 315 self._cnt = node['start'] - 1
316 else: 316 else:
317 self._cnt = 0 317 self._cnt = 0
318 self._indent = 2 318 self._indent = 2
319 if style == 'arabic': 319 if style == 'arabic':
320 # indentation depends on number of childrens 320 # indentation depends on number of children
321 # and start value. 321 # and start value.
322 self._indent = len(str(len(node.children))) 322 self._indent = len(str(len(node.children)))
323 self._indent += len(str(self._cnt)) + 1 323 self._indent += len(str(self._cnt)) + 1
324 elif style == 'loweralpha': 324 elif style == 'loweralpha':
325 self._cnt += ord('a') - 1 325 self._cnt += ord('a') - 1