|
1 | 1 | import datetime
|
2 | 2 |
|
3 |
| -# Configuration file for the Sphinx documentation builder for |
4 |
| -# matplotlib projects. |
5 |
| - |
6 |
| -# Release mode enables optimizations and other related options. |
7 |
| -is_release_build = tags.has('release') # noqa |
8 |
| - |
9 | 3 | # -- Project information -----------------------------------------------------
|
10 | 4 |
|
11 |
| -project = "Matplotlib Sphinx Theme" |
| 5 | +html_title = 'Matplotlib - Visualization with Python' |
| 6 | +project = "Matplotlib landing page" |
12 | 7 | copyright = (
|
13 | 8 | f"2012 - {datetime.datetime.now().year} The Matplotlib development team"
|
14 | 9 | )
|
15 | 10 | author = "Matplotlib Developers"
|
16 | 11 |
|
17 |
| - |
18 | 12 | # -- General configuration ---------------------------------------------------
|
19 | 13 |
|
20 | 14 | # Add any Sphinx extension module names here, as strings. They can be
|
|
38 | 32 | html_favicon = "_static/favicon.ico"
|
39 | 33 | html_theme_options = {
|
40 | 34 | "logo_link": "https://matplotlib.org/stable/",
|
41 |
| - # collapse_navigation in pydata-sphinx-theme is slow, so skipped for local |
42 |
| - # and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386 |
43 |
| - "collapse_navigation": not is_release_build, |
44 |
| - "show_prev_next": False, |
45 | 35 | "native_site": False,
|
46 | 36 | "footer_items": ["landing_footer"],
|
47 | 37 | }
|
48 | 38 |
|
49 | 39 | # Add any paths that contain custom static files (such as style sheets) here,
|
50 |
| -# relative to this directory. They are copied after the builtin static files, |
51 |
| -# so a file named "default.css" will overwrite the builtin "default.css". |
| 40 | +# relative to this directory. They are copied after the theme static files, |
| 41 | +# so a file named "default.css" will overwrite the theme's "default.css". |
52 | 42 | html_static_path = ["_static"]
|
0 commit comments