diff options
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/api.rst | 3 | ||||
| -rw-r--r-- | Documentation/doc-guide.rst | 2 | ||||
| -rwxr-xr-x | Documentation/sphinx/cdoc.py | 5 |
3 files changed, 7 insertions, 3 deletions
diff --git a/Documentation/api.rst b/Documentation/api.rst index cb8a0982..22b7dfd2 100644 --- a/Documentation/api.rst +++ b/Documentation/api.rst @@ -10,6 +10,7 @@ Utilities .. c:autodoc:: ptrlist.c .. c:autodoc:: utils.h +.. c:autodoc:: flowgraph.h Parsing ~~~~~~~ @@ -24,4 +25,6 @@ Typing Optimization ~~~~~~~~~~~~ +.. c:autodoc:: optimize.c +.. c:autodoc:: flow.c .. c:autodoc:: simplify.c diff --git a/Documentation/doc-guide.rst b/Documentation/doc-guide.rst index 29f39aab..fb4cb322 100644 --- a/Documentation/doc-guide.rst +++ b/Documentation/doc-guide.rst @@ -138,7 +138,7 @@ For example, a doc-block like:: will be displayed like this: .. c:function:: int inc(int val) - :noindex: + :noindexentry: :param val: the value to increment :return: the incremented value diff --git a/Documentation/sphinx/cdoc.py b/Documentation/sphinx/cdoc.py index 73c128cb..cca5ad28 100755 --- a/Documentation/sphinx/cdoc.py +++ b/Documentation/sphinx/cdoc.py @@ -228,8 +228,9 @@ def convert_to_rst(info): if 'short' in info: (n, l) = info['short'] l = l[0].capitalize() + l[1:].strip('.') - l = '\t' + l + '.' - lst.append((n, l + '\n')) + if l[-1] != '?': + l = l + '.' + lst.append((n, '\t' + l + '\n')) if 'tags' in info: for (n, name, l) in info.get('tags', []): if name != 'return': |
