|
56 | 56 | # ones.
|
57 | 57 | extensions = [
|
58 | 58 | "sphinx.ext.autodoc",
|
| 59 | + "sphinx.ext.autosummary", |
59 | 60 | "sphinx.ext.viewcode",
|
60 | 61 | "sphinx.ext.napoleon",
|
61 | 62 | "sphinx.ext.mathjax",
|
62 | 63 | "nbsphinx",
|
| 64 | + "matplotlib.sphinxext.plot_directive", |
63 | 65 | ]
|
64 | 66 |
|
65 | 67 | nbsphinx_execute = "never"
|
66 | 68 |
|
67 | 69 | # Add any paths that contain templates here, relative to this directory.
|
68 |
| -# templates_path = ["_templates"] |
| 70 | +templates_path = ["_templates"] |
69 | 71 |
|
70 | 72 | # The suffix(es) of source filenames.
|
71 | 73 | # You can specify multiple suffix as a list of string:
|
|
81 | 83 | #
|
82 | 84 | # This is also used if you do content translation via gettext catalogs.
|
83 | 85 | # Usually you set "language" from the command line for these cases.
|
84 |
| -language = None |
| 86 | +# language = None |
85 | 87 |
|
86 | 88 | # List of patterns, relative to source directory, that match files and
|
87 | 89 | # directories to ignore when looking for source files.
|
|
97 | 99 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
98 | 100 | # a list of builtin themes.
|
99 | 101 | #
|
100 |
| -html_theme = "pydata_sphinx_theme" |
| 102 | +html_theme = "pymc_sphinx_theme" |
101 | 103 |
|
102 | 104 | # Theme options are theme-specific and customize the look and feel of a theme
|
103 | 105 | # further. For a list of options available for each theme, see the
|
|
110 | 112 | "show_toc_level": 2,
|
111 | 113 | "navigation_depth": 4,
|
112 | 114 | "search_bar_text": "Search the docs...",
|
113 |
| - "icon_links": [ |
114 |
| - { |
115 |
| - "name": "GitHub", |
116 |
| - "url": "https://github.com/pymc-devs/pymc-experimental", |
117 |
| - "icon": "fab fa-github-square", |
118 |
| - }, |
119 |
| - ], |
| 115 | + "use_search_override": False, |
| 116 | + "logo": {"text": project}, |
120 | 117 | }
|
| 118 | +html_context = { |
| 119 | + "github_user": "pymc-devs", |
| 120 | + "github_repo": "pymc-experimental", |
| 121 | + "github_version": "main", |
| 122 | + "doc_path": "docs", |
| 123 | + "default_mode": "light", |
| 124 | +} |
| 125 | + |
121 | 126 |
|
122 | 127 | # Add any paths that contain custom static files (such as style sheets) here,
|
123 | 128 | # relative to this directory. They are copied after the builtin static files,
|
|
0 commit comments