From efd005e7ed3d8d85766780da2bd4cb8b1778a8e8 Mon Sep 17 00:00:00 2001 From: Bo Zhang Date: Wed, 2 Mar 2022 18:56:46 +0800 Subject: [PATCH] updated conf.py --- doc/source/conf.py | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index dee4e4f..155cec8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -56,11 +56,28 @@ exclude_patterns = [] # html_theme = 'alabaster' html_theme = 'sphinx_rtd_theme' html_theme_options = { + 'analytics_id': 'G-XXXXXXXXXX', # Provided by Google in your dashboard + # 'analytics_anonymize_ip': False, + 'logo_only': False, + 'display_version': True, + 'prev_next_buttons_location': 'bottom', + 'style_external_links': False, + 'vcs_pageview_mode': '', + 'style_nav_header_background': 'white', + # Toc options + 'collapse_navigation': True, + 'sticky_navigation': True, + 'navigation_depth': 4, + 'includehidden': True, + 'titles_only': False, + 'github_url': 'https://github.com/csster/csst', +} +# html_theme_options = { # 'logo': 'joblib_logo.svg', - 'github_repo': 'csster/csst', - 'github_button': 'true', - 'link': '#aa560c', - 'show_powered_by': 'false', + # 'github_repo': 'csster/csst', + # 'github_button': 'true', + # 'link': '#aa560c', + # 'show_powered_by': 'false', # "relbarbgcolor": "#333", # "sidebarlinkcolor": "#e15617", # "sidebarbgcolor": "#000", @@ -69,7 +86,7 @@ html_theme_options = { # "linkcolor": "#aa560c", # "headtextcolor": "#643200", # "codebgcolor": "#f5efe7", -} +# } # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, -- GitLab