|
33 | 33 | 'sphinx.ext.autodoc', |
34 | 34 | 'sphinx.ext.mathjax', |
35 | 35 | 'sphinx.ext.viewcode', |
| 36 | + "sphinxcontrib.jquery" |
36 | 37 | ] |
37 | 38 |
|
38 | 39 | # Add any paths that contain templates here, relative to this directory. |
|
68 | 69 | # |
69 | 70 | # This is also used if you do content translation via gettext catalogs. |
70 | 71 | # Usually you set "language" from the command line for these cases. |
71 | | -language = None |
| 72 | +language = 'en' |
72 | 73 |
|
73 | 74 | # There are two options for replacing |today|: either, you set today to some |
74 | 75 | # non-false value, then it is used: |
|
107 | 108 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
108 | 109 | todo_include_todos = False |
109 | 110 |
|
| 111 | +primary_domain = 'py' |
110 | 112 |
|
111 | 113 | # -- Options for HTML output ---------------------------------------------- |
112 | 114 |
|
113 | 115 | # The theme to use for HTML and HTML Help pages. See the documentation for |
114 | 116 | # a list of builtin themes. |
115 | 117 | html_theme = 'sphinx_rtd_theme' |
116 | 118 |
|
| 119 | +toc_object_entries = False |
| 120 | + |
117 | 121 | # Theme options are theme-specific and customize the look and feel of a theme |
118 | 122 | # further. For a list of options available for each theme, see the |
119 | 123 | # documentation. |
120 | 124 | html_theme_options = { |
121 | | - 'sticky_navigation': False, |
122 | | - 'collapse_navigation': True |
| 125 | + 'sticky_navigation': True, |
| 126 | + 'collapse_navigation': True, |
| 127 | + 'navigation_depth': 3, |
123 | 128 | } |
124 | 129 |
|
125 | 130 | # Add any paths that contain custom themes here, relative to this directory. |
|
216 | 221 | # Output file base name for HTML help builder. |
217 | 222 | htmlhelp_basename = 'udsoncandoc' |
218 | 223 |
|
| 224 | +autodoc_typehints = 'description' |
| 225 | + |
219 | 226 | # -- Options for LaTeX output --------------------------------------------- |
220 | 227 |
|
221 | 228 | latex_elements = { |
|
299 | 306 |
|
300 | 307 |
|
301 | 308 | def setup(app): |
302 | | - app.add_stylesheet('theme_overrides.css') |
| 309 | + app.add_css_file('theme_overrides.css') |
0 commit comments