Skip to content

Commit 3babaa0

Browse files
committed
Fix a few autoapi bugs
1 parent 9433d34 commit 3babaa0

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

dedalus/core/timesteppers.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,24 @@
99

1010

1111
# Public interface
12-
__all__ = []
12+
__all__ = ['CNAB1',
13+
'SBDF1',
14+
'CNAB2',
15+
'MCNAB2',
16+
'SBDF2',
17+
'CNLF2',
18+
'SBDF3',
19+
'SBDF4',
20+
'RK111',
21+
'RK222',
22+
'RK443',
23+
'RKSMR',
24+
'RKGFY']
25+
1326

1427
# Track implemented schemes
1528
schemes = OrderedDict()
1629
def add_scheme(scheme):
17-
__all__.append(scheme.__name__)
1830
schemes[scheme.__name__] = scheme
1931
return scheme
2032

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
extensions += ['sphinxcontrib.video']
5151

5252
add_module_names = False
53-
autoapi_type = 'python'
5453
autoapi_dirs = ['../dedalus']
55-
autoapi_file_patterns = ['*.py']
54+
autoapi_ignore = ['*/dedalus/tests/*', '*/dedalus/libraries/dedalus_sphere/*']
5655
autoapi_options = ['members', 'undoc-members']
56+
autoapi_member_order = 'groupwise'
5757
autoapi_python_class_content = 'both'
5858
autoapi_add_toctree_entry = False
5959

0 commit comments

Comments
 (0)