Skip to content

Commit 20376dd

Browse files
author
roman_yakovenko
committed
sphinx
1 parent 2d76a9e commit 20376dd

File tree

7 files changed

+77
-54
lines changed

7 files changed

+77
-54
lines changed

docs/apidocs/binary_parsers.rest

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
pygccxml.binary_parsers API
33
===========================
44

5-
binary_parsers package
6-
----------------------
5+
--------
6+
Overview
7+
--------
78

89
.. automodule:: pygccxml.binary_parsers
910
:members:
1011
:show-inheritance:
1112

12-
parsers module
13+
--------
14+
Modules
15+
--------
16+
17+
parsers
1318
--------------
1419

1520
.. automodule:: pygccxml.binary_parsers.parsers

docs/apidocs/declarations.rest

Lines changed: 31 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,183 +2,187 @@
22
pygccxml.declarations package
33
=============================
44

5-
declarations package
6-
--------------------
5+
--------
6+
Overview
7+
--------
78

89
.. automodule:: pygccxml.declarations
910
:members:
1011
:show-inheritance:
1112

13+
--------
14+
Modules
15+
--------
1216

13-
algorithm module
17+
algorithm
1418
----------------
1519

1620
.. automodule:: pygccxml.declarations.algorithm
1721
:members:
1822
:show-inheritance:
1923

20-
algorithms_cache module
24+
algorithms_cache
2125
-------------------------
2226

2327
.. automodule:: pygccxml.declarations.algorithms_cache
2428
:members:
2529
:show-inheritance:
2630

27-
calldef module
31+
calldef
2832
----------------
2933

3034
.. automodule:: pygccxml.declarations.calldef
3135
:members:
3236
:show-inheritance:
3337

34-
call_invocation module
38+
call_invocation
3539
------------------------
3640

3741
.. automodule:: pygccxml.declarations.call_invocation
3842
:members:
3943
:show-inheritance:
4044

41-
class_declaration module
45+
class_declaration
4246
--------------------------
4347

4448
.. automodule:: pygccxml.declarations.class_declaration
4549
:members:
4650
:show-inheritance:
4751

48-
compilers module
52+
compilers
4953
------------------
5054

5155
.. automodule:: pygccxml.declarations.compilers
5256
:members:
5357
:show-inheritance:
5458

55-
container_traits module
59+
container_traits
5660
-------------------------
5761

5862
.. automodule:: pygccxml.declarations.container_traits
5963
:members:
6064
:show-inheritance:
6165

62-
cpptypes module
66+
cpptypes
6367
-----------------
6468

6569
.. automodule:: pygccxml.declarations.cpptypes
6670
:members:
6771
:show-inheritance:
6872

69-
declaration module
73+
declaration
7074
--------------------
7175

7276
.. automodule:: pygccxml.declarations.declaration
7377
:members:
7478
:show-inheritance:
7579

76-
decl_factory module
80+
decl_factory
7781
---------------------
7882

7983
.. automodule:: pygccxml.declarations.decl_factory
8084
:members:
8185
:show-inheritance:
8286

83-
decl_printer module
87+
decl_printer
8488
---------------------
8589

8690
.. automodule:: pygccxml.declarations.decl_printer
8791
:members:
8892
:show-inheritance:
8993

90-
decl_visitor module
94+
decl_visitor
9195
---------------------
9296

9397
.. automodule:: pygccxml.declarations.decl_visitor
9498
:members:
9599
:show-inheritance:
96100

97-
dependencies module
101+
dependencies
98102
---------------------
99103

100104
.. automodule:: pygccxml.declarations.dependencies
101105
:members:
102106
:show-inheritance:
103107

104-
enumeration module
108+
enumeration
105109
--------------------
106110

107111
.. automodule:: pygccxml.declarations.enumeration
108112
:members:
109113
:show-inheritance:
110114

111-
function_traits module
115+
function_traits
112116
------------------------
113117

114118
.. automodule:: pygccxml.declarations.function_traits
115119
:members:
116120
:show-inheritance:
117121

118-
matcher module
122+
matcher
119123
----------------
120124

121125
.. automodule:: pygccxml.declarations.matcher
122126
:members:
123127
:show-inheritance:
124128

125-
matchers module
129+
matchers
126130
-----------------
127131

128132
.. automodule:: pygccxml.declarations.matchers
129133
:members:
130134
:show-inheritance:
131135

132-
mdecl_wrapper module
136+
mdecl_wrapper
133137
----------------------
134138

135139
.. automodule:: pygccxml.declarations.mdecl_wrapper
136140
:members:
137141
:show-inheritance:
138142

139-
namespace module
143+
namespace
140144
------------------
141145

142146
.. automodule:: pygccxml.declarations.namespace
143147
:members:
144148
:show-inheritance:
145149

146-
scopedef module
150+
scopedef
147151
-----------------
148152

149153
.. automodule:: pygccxml.declarations.scopedef
150154
:members:
151155
:show-inheritance:
152156

153-
templates module
157+
templates
154158
------------------
155159

156160
.. automodule:: pygccxml.declarations.templates
157161
:members:
158162
:show-inheritance:
159163

160-
typedef module
164+
typedef
161165
----------------
162166

163167
.. automodule:: pygccxml.declarations.typedef
164168
:members:
165169
:show-inheritance:
166170

167-
type_traits module
171+
type_traits
168172
--------------------
169173

170174
.. automodule:: pygccxml.declarations.type_traits
171175
:members:
172176
:show-inheritance:
173177

174-
type_visitor module
178+
type_visitor
175179
---------------------
176180

177181
.. automodule:: pygccxml.declarations.type_visitor
178182
:members:
179183
:show-inheritance:
180184

181-
variable module
185+
variable
182186
---------------
183187

184188
.. automodule:: pygccxml.declarations.variable

docs/apidocs/parser.rest

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,55 @@
22
pygccxml.parser package
33
=======================
44

5-
parser package
6-
--------------
5+
--------
6+
Overview
7+
--------
78

89
.. automodule:: pygccxml.parser
910
:members:
1011
:show-inheritance:
1112

12-
config module
13+
--------
14+
Modules
15+
--------
16+
17+
config
1318
---------------
1419

1520
.. automodule:: pygccxml.parser.config
1621
:members:
1722
:show-inheritance:
1823

19-
declarations_cache module
24+
declarations_cache
2025
----------------------------
2126

2227
.. automodule:: pygccxml.parser.declarations_cache
2328
:members:
2429
:show-inheritance:
2530

26-
directory_cache module
31+
directory_cache
2732
------------------------
2833

2934
.. automodule:: pygccxml.parser.directory_cache
3035
:members:
3136
:show-inheritance:
3237

33-
patcher module
38+
patcher
3439
----------------
3540

3641
.. automodule:: pygccxml.parser.patcher
3742
:members:
3843
:show-inheritance:
3944

40-
project_reader module
45+
project_reader
4146
---------------------
4247

4348
.. automodule:: pygccxml.parser.project_reader
4449
:members:
4550
:show-inheritance:
4651

4752

48-
source_reader module
53+
source_reader
4954
----------------------
5055

5156
.. automodule:: pygccxml.parser.source_reader

docs/apidocs/utils.rest

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22
pygccxml.utils package
33
======================
44

5-
utils package
6-
-------------
5+
--------
6+
Overview
7+
--------
78

89
.. automodule:: pygccxml.utils
910
:members:
1011
:show-inheritance:
1112

13+
--------
14+
Modules
15+
--------
1216

13-
fs_utils module
17+
fs_utils
1418
---------------
1519

1620
.. automodule:: pygccxml.utils.fs_utils

docs/pygccxml.rest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ All in all, `pygccxml` has more than 230 tests.
114114
Support for Python 2.4 was dropped.
115115

116116
-------------------------------
117-
pygccxml documentation contents
117+
Documentation contents
118118
-------------------------------
119119

120120
.. toctree::

pygccxml/utils/__init__.py

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
# accompanying file LICENSE_1_0.txt or copy at
44
# http://www.boost.org/LICENSE_1_0.txt)
55

6-
"""
7-
defines logger classes and few convenience methods, not related to the declarations tree
8-
"""
6+
"""defines logger classes and few convenience methods, not related to the declarations tree"""
97

108
import os
119
import sys
@@ -37,9 +35,9 @@ class loggers:
3735
gccxml = cxx_parser #backward compatability
3836

3937
pdb_reader = _create_logger_( 'pygccxml.pdb_reader' )
40-
"""logger for MS .pdb file reader functionality
4138
"""
42-
39+
logger for MS .pdb file reader functionality
40+
"""
4341

4442
queries_engine = _create_logger_( 'pygccxml.queries_engine' )
4543
"""logger for query engine functionality.
@@ -136,13 +134,18 @@ def reset(self):
136134
delattr(self, name)
137135

138136
class enum( object ):
139-
"""Usage example:
140-
class fruits(enum):
141-
apple = 0
142-
orange = 1
137+
"""
138+
Usage example:
139+
140+
.. code-block:: python
141+
142+
class fruits(enum):
143+
apple = 0
144+
orange = 1
145+
146+
fruits.has_value( 1 )
147+
fruits.name_of( 1 )
143148
144-
fruits.has_value( 1 )
145-
fruits.name_of( 1 )
146149
"""
147150

148151
@classmethod
@@ -163,7 +166,7 @@ def name_of( cls, enum_numeric_value ):
163166
% ( enum_numeric_value, cls.__name__ ) )
164167

165168
class native_compiler:
166-
"""provides information about "native compiler", which was used to build this Python executable"""
169+
"""provides information about the compiler, which was used to build the Python executable"""
167170

168171
@staticmethod
169172
def get_version():

pygccxml/utils/fs_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# accompanying file LICENSE_1_0.txt or copy at
44
# http://www.boost.org/LICENSE_1_0.txt)
55

6+
"""defines few classes, that simplifies a file system entries iteration"""
7+
68
import os
79
from types import *
810

0 commit comments

Comments
 (0)