From 4ddc4d45def98ffa70acfb7fb1e6422e946b8216 Mon Sep 17 00:00:00 2001 From: Azondekon Date: Thu, 27 Apr 2023 19:56:40 -0400 Subject: [PATCH] Update pynssp doc configurations --- docs/_templates/layout.html | 14 -------------- docs/conf.py | 19 +++++++++++++++++-- 2 files changed, 17 insertions(+), 16 deletions(-) delete mode 100644 docs/_templates/layout.html diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html deleted file mode 100644 index 42481cd..0000000 --- a/docs/_templates/layout.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "!layout.html" %} - -{% block footer %} -{{ super() }} - - -{% endblock %} \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index e1a71ad..796a9f2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,7 +74,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = 'English' +language = 'en' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -109,7 +109,22 @@ # theme further. For a list of options available for each theme, see the # documentation. # -# html_theme_options = {} +html_theme_options = { + 'analytics_id': 'G-5FTLT9PCW7', # 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 +} # 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,