Skip to content

Commit 55c54c6

Browse files
author
Kevin Paul
committed
Updated theme options
1 parent 42b6563 commit 55c54c6

File tree

1 file changed

+56
-45
lines changed

1 file changed

+56
-45
lines changed

portal/conf.py

Lines changed: 56 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@
8585

8686
# HTML Theme-specific Options
8787
html_theme_options = {
88-
'github_url': 'https://github.com/ProjectPythia/projectpythia.github.io',
88+
'github_url': 'https://github.com/ProjectPythia',
8989
'twitter_url': 'https://twitter.com/project_pythia',
90+
'google_analytics_id': 'G-T9KGMX7VHZ',
9091
'logo_only': True,
9192
'logo_link': 'https://projectpythia.org',
9293
'navbar_align': 'left',
@@ -97,55 +98,65 @@
9798
{'name': 'Join us!', 'url': 'https://projectpythia.org/index.html#join-us'},
9899
],
99100
'page_layouts': {'index': 'page-banner.html', 'gallery': 'page-standalone.html'},
100-
'footer_menu': {
101-
'More about...': [
102-
{
103-
'name': 'Project Pythia',
104-
'url': 'https://projectpythia.org/about',
105-
},
106-
{
107-
'name': 'Pangeo',
108-
'url': 'https://pangeo.io',
109-
},
110-
{
111-
'name': 'Project Jupyter',
112-
'url': 'https://jupyter.org',
113-
},
114-
],
115-
'Let us know...': [
116-
{
117-
'name': 'Submit an issue on GitHub',
118-
'url': 'https://github.com/ProjectPythia/sphinx-pythia-theme/issues/new?title=Issue%20with%20Sphinx%20Pythia%20Theme&body=Your%20issue%20content%20here.', # noqa
119-
},
120-
{
121-
'name': 'Feedback to Project Pythia',
122-
'url': 'https://docs.google.com/forms/d/e/1FAIpQLSeVa1TC9xM-dk7qIE2e8bsgSrIP82yYDNw3wew3J46eREJa4w/viewform?usp=sf_link', # noqa
123-
},
124-
],
125-
'Join the community': [
126-
{
127-
'name': "Contributor's Guide",
128-
'url': 'https://foundations.projectpythia.org/appendix/how-to-contribute.html', # noqa
129-
},
130-
{
131-
'name': 'Our GitHub Organization',
132-
'url': 'https://github.com/ProjectPythia', # noqa
133-
},
134-
],
135-
},
101+
'footer_menu': [
102+
{
103+
'title': 'More about...',
104+
'class': 'col-8 col-sm-4 col-md-3 col-lg-2',
105+
'items': [
106+
{
107+
'name': 'Project Pythia',
108+
'url': 'https://projectpythia.org/about',
109+
},
110+
{
111+
'name': 'Pangeo',
112+
'url': 'https://pangeo.io',
113+
},
114+
{
115+
'name': 'Project Jupyter',
116+
'url': 'https://jupyter.org',
117+
},
118+
],
119+
},
120+
{
121+
'title': 'Join the community',
122+
'class': 'col-8 col-sm-4 col-md-3 col-lg-2',
123+
'items': [
124+
{
125+
'name': "Contributor's Guide",
126+
'url': 'https://foundations.projectpythia.org/appendix/how-to-contribute.html', # noqa
127+
},
128+
{
129+
'name': 'Our GitHub Organization',
130+
'url': 'https://github.com/ProjectPythia', # noqa
131+
},
132+
],
133+
},
134+
{
135+
'title': 'We want your feedback!',
136+
'class': 'col-8 col-sm-4 col-md-3 col-lg-2',
137+
'items': [
138+
{
139+
'name': 'Fill out this Google Form',
140+
'url': 'https://docs.google.com/forms/d/e/1FAIpQLSeVa1TC9xM-dk7qIE2e8bsgSrIP82yYDNw3wew3J46eREJa4w/viewform?usp=sf_link', # noqa
141+
},
142+
{
143+
'name': 'Submit an issue on GitHub',
144+
'url': 'https://github.com/ProjectPythia/sphinx-pythia-theme/issues/new?title=Issue%20with%20Sphinx%20Pythia%20Theme&body=Your%20issue%20content%20here.', # noqa
145+
},
146+
],
147+
},
148+
],
136149
'footer_logos': {
137150
'NCAR': '_static/images/logos/NCAR-contemp-logo-blue.svg',
138151
'Unidata': '_static/images/logos/Unidata_logo_horizontal_1200x300.svg',
139152
'UAlbany': '_static/images/logos/UAlbany-A2-logo-purple-gold.svg',
140153
},
141-
'extra_footer': (
142-
'<img src="/_static/images/logos/footer-logo-nsf.png" style="float:left;width:60px;height:60px;margin-right:1rem;">'
143-
'This material is based upon work supported by the National '
144-
'Science Foundation under Grant Nos. 2026863 and 2026899. Any '
145-
'opinions, findings, and conclusions or recommendations expressed '
146-
'in this material are those of the author(s) and do not necessarily '
147-
'reflect the views of the National Science Foundation.'
148-
),
154+
'footer_items': [
155+
'footer-logos.html',
156+
'footer-menu.html',
157+
'footer-info.html',
158+
'footer-nsf.html',
159+
],
149160
'extra_navbar': ('Theme by <a href="https://projectpythia.org">Project Pythia</a>'),
150161
}
151162

0 commit comments

Comments
 (0)