|
17 | 17 |
|
18 | 18 | # -- Project information ----------------------------------------------------- |
19 | 19 |
|
20 | | -project = 'ESDS' |
21 | | -copyright = '2024' |
22 | | -author = 'Earth System Data Science (ESDS) community' |
| 20 | +project = 'ESDS Website' |
| 21 | +copyright = '2021, ESDS Community' |
| 22 | +author = 'ESDS Community' |
23 | 23 |
|
24 | 24 |
|
25 | 25 | # -- General configuration --------------------------------------------------- |
|
57 | 57 | # |
58 | 58 |
|
59 | 59 | html_logo = "_static/esds_logo.png" |
| 60 | +html_favicon = "_static/esds_logo.png" |
| 61 | +html_sourcelink_suffix = "" |
| 62 | +html_last_updated_fmt = "" |
| 63 | + |
| 64 | +html_context = { |
| 65 | + "github_user": "NCAR", |
| 66 | + "github_repo": "esds", |
| 67 | + "github_version": "main", |
| 68 | + "doc_path": "", |
| 69 | +} |
| 70 | + |
| 71 | +html_static_path = ["_static"] |
| 72 | +html_css_files = ["custom.css"] |
| 73 | +html_show_sourcelink = False |
60 | 74 |
|
61 | 75 | html_theme = 'pydata_sphinx_theme' |
62 | 76 |
|
63 | 77 | # Add some more theme Options |
64 | 78 | html_theme_options = { |
65 | | - 'github_url': 'https://github.com/ncar/esds', |
66 | | - 'google_analytics_id': 'UA-196809533-1', |
67 | | - 'navbar_end': ['search-button', 'theme-switcher', 'navbar-icon-links'], |
68 | | - 'navbar_persistent': [], |
| 79 | + 'use_edit_page_button': True, |
| 80 | + 'github_url': 'https://github.com/NCAR/esds', |
| 81 | + 'navbar_end': ['theme-switcher', 'navbar-icon-links'], |
69 | 82 | 'icon_links': [ |
70 | 83 | { |
71 | 84 | "name": "YouTube", |
|
76 | 89 | ], |
77 | 90 | } |
78 | 91 |
|
| 92 | +html_theme_options["analytics"] = { |
| 93 | + "google_analytics_id": "UA-196809533-1", |
| 94 | +} |
| 95 | + |
79 | 96 | rediraffe_redirects = 'redirects.txt' |
80 | 97 |
|
81 | 98 |
|
|
88 | 105 | 'index': ['hello.html'], |
89 | 106 | 'about': ['hello.html'], |
90 | 107 | 'communication': ['hello.html'], |
91 | | - 'blog': ['sidebar-nav-bs.html', 'tagcloud.html', 'archives.html'], |
92 | | - 'posts/**': [ |
93 | | - 'sidebar-nav-bs.html', |
94 | | - 'postcard.html', |
95 | | - 'recentposts.html', |
96 | | - 'archives.html', |
97 | | - ], |
| 108 | + 'office-hours': ['hello.html'], |
| 109 | + 'resources': ['hello.html'], |
| 110 | + 'blog': ['ablog/recentposts.html', 'ablog/archives.html', 'ablog/tagcloud.html'], |
| 111 | + 'posts/**': ['ablog/postcard.html', 'ablog/recentposts.html', 'ablog/archives.html'], |
98 | 112 | } |
99 | 113 |
|
100 | 114 |
|
|
114 | 128 | myst_enable_extensions = ['amsmath', 'colon_fence', 'deflist', 'html_image', 'dollarmath'] |
115 | 129 | myst_url_schemes = ['http', 'https', 'mailto'] |
116 | 130 |
|
117 | | - |
118 | 131 | # Temporarily stored as off until we fix it |
119 | | -jupyter_execute_notebooks = 'off' |
120 | | - |
| 132 | +nb_execution_mode = 'off' |
121 | 133 |
|
122 | | -# def setup(app): |
123 | | -# app.add_css_file('custom.css') |
|
0 commit comments