[Cython] Fixed some problems building the Sphinx documentation

This commit is contained in:
Ray Speth 2013-01-30 22:05:46 +00:00
parent 7065076320
commit 92016a2b31
3 changed files with 6 additions and 7 deletions

View file

@ -15,4 +15,4 @@ thermodynamic, chemical kinetic, and (optionally) transport properties.
Utility Functions
-----------------
.. autofunction:: addDirectory
.. autofunction:: add_directory

View file

@ -11,10 +11,10 @@ Composite Domains
Flow Domains
------------
.. autoclass:: StagnationFlow
.. autoclass:: FreeFlow
:inherited-members:
.. autoclass:: AxisymmetricStagnationFlow
:inherited-members:
Boundaries
----------

View file

@ -844,10 +844,9 @@ def _trim(docstring):
if indent < 999:
for line in lines[1:]:
trimmed.append(line[indent:].rstrip())
# Strip off trailing and leading blank lines:
trimmed = [t for t in trimmed if t]
# Return a single string:
return '\n'.join(trimmed)
# Return a single string, with trailing and leading blank lines stripped
return '\n'.join(trimmed).strip('\n')
def _array_property(attr, size=None):
"""