|
| 1 | +import datetime |
| 2 | + |
| 3 | +# -- Project information ----------------------------------------------------- |
| 4 | + |
| 5 | +html_title = 'Visualization with Python' |
| 6 | +project = "Matplotlib cheatsheets" |
| 7 | +copyright = ( |
| 8 | + f"2012 - {datetime.datetime.now().year} The Matplotlib development team" |
| 9 | + ) |
| 10 | +author = "Matplotlib Developers" |
| 11 | + |
| 12 | +# -- General configuration --------------------------------------------------- |
| 13 | + |
| 14 | +# Add any Sphinx extension module names here, as strings. They can be |
| 15 | +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 16 | +# ones. |
| 17 | +extensions = [] |
| 18 | + |
| 19 | +# Add any paths that contain templates here, relative to this directory. |
| 20 | + |
| 21 | +templates_path = [] |
| 22 | + |
| 23 | +# List of patterns, relative to source directory, that match files and |
| 24 | +# directories to ignore when looking for source files. |
| 25 | +# This pattern also affects html_static_path and html_extra_path. |
| 26 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 27 | + |
| 28 | +# -- Options for HTML output ------------------------------------------------- |
| 29 | + |
| 30 | +html_css_files = ['css/normalize.css', 'css/landing.css'] |
| 31 | +html_theme = "mpl_sphinx_theme" |
| 32 | +html_favicon = "_static/favicon.ico" |
| 33 | +html_theme_options = { |
| 34 | + "logo_link": "https://matplotlib.org/stable/", |
| 35 | + "native_site": False, |
| 36 | +} |
| 37 | + |
| 38 | +# Add any paths that contain custom static files (such as style sheets) here, |
| 39 | +# relative to this directory. They are copied after the theme static files, |
| 40 | +# so a file named "default.css" will overwrite the theme's "default.css". |
| 41 | +html_static_path = ["_static"] |
0 commit comments