From 11e6fe142b49e9d93340f156ce0122a9380f199e Mon Sep 17 00:00:00 2001 From: Mencken Davidson <76002183+menckend@users.noreply.github.com> Date: Fri, 25 Oct 2024 08:15:32 -0400 Subject: [PATCH] Update conf.py --- docs/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9541022..c439641 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,6 +10,7 @@ sys.path.insert(0, os.path.abspath('../external_sources/dcnodatg/')) sys.path.insert(0, os.path.abspath('../images/')) sys.path.insert(0, os.path.abspath('../external_sources/netbox/')) +sys.path.insert(0, os.path.abspath('../netbox_ptov/')) # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information @@ -35,7 +36,7 @@ source_suffix = [".rst", ".md"] templates_path = ['_templates'] exclude_patterns = ['_build', '_templates', 'Thumbs.db', '.DS_Store'] -html_show_sourcelink = False # Remove 'view source code' from top of page (for html, not python) +html_show_sourcelink = True # Remove 'view source code' from top of page (for html, not python) html_theme = 'sphinx_rtd_theme' autodoc_typehints = "signature" autoapi_template_dir = "_templates/autoapi" @@ -95,7 +96,7 @@ def prepare_jinja_env(jinja_env) -> None: # Toc options 'collapse_navigation': True, 'sticky_navigation': True, - 'navigation_depth': 4, + 'navigation_depth': -1, 'includehidden': True, 'titles_only': False }