|
46 | 46 | 'sphinx.ext.todo',
|
47 | 47 | ]
|
48 | 48 |
|
49 |
| -autodoc_default_flags = ['inherited-members'] |
| 49 | +autodoc_default_options = { |
| 50 | + "members": True, |
| 51 | + "inherited-members": True |
| 52 | + |
| 53 | +} |
| 54 | + |
| 55 | +# autodoc_default_flags = ['members', 'inherited-members'] |
50 | 56 | # autodoc_member_order = "groupwise"
|
51 | 57 | todo_include_todos = True
|
| 58 | +toc_object_entries_show_parents = "hide" |
52 | 59 |
|
53 | 60 | # Add any paths that contain templates here, relative to this directory.
|
54 | 61 | templates_path = ['_templates']
|
|
71 | 78 | # built documents.
|
72 | 79 | #
|
73 | 80 | # The short X.Y version.
|
74 |
| -version = '0.6' |
| 81 | +version = '1.0' |
75 | 82 | # The full version, including alpha/beta/rc tags.
|
76 |
| -release = '0.6' |
| 83 | +release = '1.0.0' |
77 | 84 |
|
78 | 85 | # The language for content autogenerated by Sphinx. Refer to documentation
|
79 | 86 | # for a list of supported languages.
|
80 | 87 | #
|
81 | 88 | # This is also used if you do content translation via gettext catalogs.
|
82 | 89 | # Usually you set "language" from the command line for these cases.
|
83 |
| -language = None |
| 90 | +language = "en" |
84 | 91 |
|
85 | 92 | # There are two options for replacing |today|: either, you set today to some
|
86 | 93 | # non-false value, then it is used:
|
|
368 | 375 | #epub_use_index = True
|
369 | 376 |
|
370 | 377 |
|
371 |
| -# Example configuration for intersphinx: refer to the Python standard library. |
372 |
| -intersphinx_mapping = {'https://docs.python.org/2.7': None} |
373 |
| - |
374 |
| - |
375 | 378 | def get_rst(app, what, name, obj, options, lines):
|
376 | 379 | pass
|
377 | 380 |
|
@@ -403,5 +406,5 @@ def miss_ref(app, env, node, contnode):
|
403 | 406 | return res
|
404 | 407 |
|
405 | 408 | def setup(app):
|
406 |
| - app.add_stylesheet('css/mbasic.css') # may also be an URL |
407 |
| - # app.connect('missing-reference', miss_ref) |
| 409 | + app.add_css_file ('css/mbasic.css') # may also be an URL |
| 410 | + app.connect('missing-reference', miss_ref) |
0 commit comments