[Cython] Fixed some problems building the Sphinx documentation
This commit is contained in:
parent
7065076320
commit
92016a2b31
3 changed files with 6 additions and 7 deletions
|
|
@ -15,4 +15,4 @@ thermodynamic, chemical kinetic, and (optionally) transport properties.
|
|||
Utility Functions
|
||||
-----------------
|
||||
|
||||
.. autofunction:: addDirectory
|
||||
.. autofunction:: add_directory
|
||||
|
|
|
|||
|
|
@ -11,10 +11,10 @@ Composite Domains
|
|||
|
||||
Flow Domains
|
||||
------------
|
||||
.. autoclass:: StagnationFlow
|
||||
.. autoclass:: FreeFlow
|
||||
:inherited-members:
|
||||
.. autoclass:: AxisymmetricStagnationFlow
|
||||
|
||||
:inherited-members:
|
||||
|
||||
Boundaries
|
||||
----------
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue