|
13 | 13 | # add these directories to sys.path here. If the directory is relative to the |
14 | 14 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
15 | 15 | # |
16 | | -import datetime |
17 | 16 | import os |
18 | 17 | import shutil |
19 | 18 | import sys |
|
24 | 23 | # -- Project information ----------------------------------------------------- |
25 | 24 |
|
26 | 25 | project = 'Project Pythia' |
27 | | -author = 'Project Pythia Developers & Contributors' |
28 | | -copyright = f'2021-{datetime.datetime.now().year}, {author}' |
| 26 | +author = 'the <a href="https://projectpythia.org/">Project Pythia</a> Community' |
| 27 | +copyright = '2022' |
29 | 28 |
|
30 | 29 | # -- General configuration --------------------------------------------------- |
31 | 30 |
|
|
59 | 58 | # a list of builtin themes. |
60 | 59 | # |
61 | 60 | html_theme = 'sphinx_pythia_theme' |
62 | | -html_last_updated_fmt = '%d %B %Y' |
| 61 | +html_last_updated_fmt = '%-d %B %Y' |
63 | 62 |
|
64 | 63 | # Logo & Title |
65 | 64 | html_logo = '_static/images/logos/pythia_logo-white-rtext.svg' |
|
78 | 77 | html_css_files = ['custom.css'] |
79 | 78 | # html_js_files = ['custom.js'] |
80 | 79 |
|
| 80 | +# Disable Sidebars on special pages |
| 81 | +html_sidebars = { |
| 82 | + 'index': [], |
| 83 | + 'gallery': [], |
| 84 | +} |
| 85 | + |
81 | 86 | # HTML Theme-specific Options |
82 | 87 | html_theme_options = { |
83 | | - 'page_layouts': {'index': 'banner', 'gallery': 'standalone'}, |
84 | | - 'domnav': [ |
85 | | - { |
86 | | - 'content': 'Start Learning', |
87 | | - 'url': '/index.html#start-learning', |
88 | | - }, |
89 | | - { |
90 | | - 'content': 'Join us!', |
91 | | - 'url': '/index.html#join-us', |
92 | | - }, |
93 | | - { |
94 | | - 'content': 'Team', |
95 | | - 'url': '/index.html#the-project-pythia-team', |
96 | | - }, |
97 | | - { |
98 | | - 'content': 'About', |
99 | | - 'url': 'about', |
100 | | - }, |
| 88 | + 'google_analytics_id': 'G-T9KGMX7VHZ', |
| 89 | + 'github_url': 'https://github.com/ProjectPythia', |
| 90 | + 'twitter_url': 'https://twitter.com/project_pythia', |
| 91 | + 'logo_link': 'https://projectpythia.org', |
| 92 | + 'navbar_links': [ |
| 93 | + {'name': 'Home', 'url': 'https://projectpythia.org'}, |
| 94 | + {'name': 'Foundations', 'url': 'https://foundations.projectpythia.org'}, |
| 95 | + {'name': 'Gallery', 'url': 'https://projectpythia.org/gallery.html'}, |
| 96 | + {'name': 'Community', 'url': 'https://projectpythia.org/#join-us'}, |
101 | 97 | ], |
102 | | - 'footer': { |
103 | | - 'logos': { |
104 | | - 'NCAR': '_static/images/logos/NCAR-contemp-logo-blue.svg', |
105 | | - 'Unidata': '_static/images/logos/Unidata_logo_horizontal_1200x300.svg', |
106 | | - 'UAlbany': '_static/images/logos/UAlbany-A2-logo-purple-gold.svg', |
107 | | - }, |
108 | | - 'acknowledgement': { |
109 | | - 'content': ( |
110 | | - 'This material is based upon work supported by the National ' |
111 | | - 'Science Foundation under Grant Nos. 2026863 and 2026899. Any ' |
112 | | - 'opinions, findings, and conclusions or recommendations expressed ' |
113 | | - 'in this material are those of the author(s) and do not necessarily ' |
114 | | - 'reflect the views of the National Science Foundation.' |
115 | | - ), |
116 | | - 'image': '_static/images/logos/footer-logo-nsf.png', |
117 | | - }, |
| 98 | + 'page_layouts': {'index': 'page-banner.html', 'gallery': 'page-standalone.html'}, |
| 99 | + 'footer_logos': { |
| 100 | + 'NCAR': '_static/images/logos/NCAR-contemp-logo-blue.svg', |
| 101 | + 'Unidata': '_static/images/logos/Unidata_logo_horizontal_1200x300.svg', |
| 102 | + 'UAlbany': '_static/images/logos/UAlbany-A2-logo-purple-gold.svg', |
118 | 103 | }, |
| 104 | + 'extra_navbar': ('Theme by <a href="https://projectpythia.org">Project Pythia</a>'), |
119 | 105 | } |
120 | 106 |
|
121 | 107 | # Panels config |
|
0 commit comments