From c99d61bcf1d9071f09a9d38becda4ed651a09d61 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:04:21 -0700 Subject: [PATCH] Theme configuration fix (#624) * fix theme configuration * formatting --- docs/conf.py | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index acb40c844..87b560546 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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= - "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.", -) - -# 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": + "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.", } # Specify master_doc (see https://github.com/readthedocs/readthedocs.org/issues/2569#issuecomment-485117471)