|
31 | 31 | extensions = [
|
32 | 32 | "sphinx.ext.autodoc",
|
33 | 33 | "sphinx.ext.doctest",
|
| 34 | + "sphinx.ext.mathjax", # LaTeX math rendering |
34 | 35 | "sphinx.ext.napoleon", # support google and numpy docstring style
|
35 | 36 | "sphinx.ext.viewcode",
|
36 |
| - "sphinx.ext.mathjax", # LaTeX math rendering |
37 | 37 | "sphinxcontrib.bibtex", # Bibliography management
|
| 38 | + "matplotlib.sphinxext.plot_directive", # Matplotlib plots rendering |
38 | 39 | ]
|
39 |
| -# "matplotlib.sphinxext.plot_directive" to generate matplotlib plots in the documentation |
40 |
| -# see https://matplotlib.org/stable/api/sphinxext_plot_directive_api.html |
41 |
| - |
42 | 40 |
|
43 | 41 | # Add any paths that contain templates here, relative to this directory.
|
44 | 42 | templates_path = ["_templates"]
|
|
49 | 47 | # This pattern also affects html_static_path and html_extra_path.
|
50 | 48 | exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
51 | 49 |
|
52 |
| - |
53 | 50 | # -- Options for HTML output -------------------------------------------------
|
54 | 51 |
|
55 | 52 | # The theme to use for HTML and HTML Help pages. See the documentation for a list of builtin themes.
|
|
69 | 66 | bibtex_bibfiles = ["./bibliography/bibliography.bib"]
|
70 | 67 | bibtex_encoding = "latin"
|
71 | 68 | # bibtex_reference_style = "alpha" # alpha, plain , unsrt, and unsrtalpha
|
| 69 | + |
| 70 | +# matplotlib.sphinxext.plot_directive |
| 71 | +# https://matplotlib.org/stable/api/sphinxext_plot_directive_api.html |
| 72 | + |
| 73 | +# plot_include_source = True |
| 74 | +# plot_html_show_source_link = |
| 75 | +# plot_pre_code = |
| 76 | +# plot_basedir = |
| 77 | +# plot_formats = |
| 78 | +# plot_html_show_formats = |
| 79 | +# plot_rcparams = |
| 80 | +# plot_apply_rcparams = |
| 81 | +# plot_working_directory = |
| 82 | +# plot_template = |
0 commit comments