Skip to content

Commit

Permalink
Theme configuration fix (#624)
Browse files Browse the repository at this point in the history
* fix theme configuration

* formatting
  • Loading branch information
kafitzgerald authored Nov 11, 2024
1 parent 5b67f17 commit c99d61b
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,26 +104,29 @@
html_static_path = ['_static']
html_css_files = ["theme_overrides.css"]

html_theme_options = dict(
# canonical_url="",
repository_url="https://github.com/NCAR/geocat-examples",
repository_branch="main",
path_to_docs="docs",
use_edit_page_button=True,
use_repository_button=True,
use_issues_button=True,
home_page_in_toc=False,
navbar_footer_text="",
extra_footer=
"<em>This material is based upon work supported by the NSF National Center for Atmospheric Research, a major facility sponsored by the U.S. National Science Foundation and managed by the University Corporation for Atmospheric Research. Any opinions, findings and conclusions or recommendations expressed in this material do not necessarily reflect the views of the U.S. National Science Foundation.</em>",
)

# Specify logos
html_theme_options = {
"repository_url":
"https://github.com/NCAR/geocat-examples",
"repository_branch":
"main",
"path_to_docs":
"docs",
"use_edit_page_button":
True,
"use_repository_button":
True,
"use_issues_button":
True,
"home_page_in_toc":
False,
"navbar_footer_text":
"",
"logo": {
"image_light": '_static/images/NSF_NCAR_light.svg',
"image_dark": '_static/images/NSF_NCAR_dark.svg',
}
},
"extra_footer":
"<em>This material is based upon work supported by the NSF National Center for Atmospheric Research, a major facility sponsored by the U.S. National Science Foundation and managed by the University Corporation for Atmospheric Research. Any opinions, findings and conclusions or recommendations expressed in this material do not necessarily reflect the views of the U.S. National Science Foundation.</em>",
}

# Specify master_doc (see https://github.com/readthedocs/readthedocs.org/issues/2569#issuecomment-485117471)
Expand Down

0 comments on commit c99d61b

Please sign in to comment.