diff --git a/docs/conf.py b/docs/conf.py index af655b7..17b3294 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,14 @@ import iati_sphinx_theme # Import project-specific settings -from project_info import project, eyebrow_text, github_repository, languages, redoc +from project_info import ( + project, + eyebrow_text, + github_repository, + languages, + redoc, + tool_nav_items, +) MESSAGE_CATALOG_NAME = "iati-sphinx-theme" _ = get_translation(MESSAGE_CATALOG_NAME) @@ -51,6 +58,7 @@ "languages": languages, "project_title": _(project), "show_download_links": True, + "tool_nav_items": tool_nav_items, } # Add any paths that contain custom static files (such as style sheets, videos, diff --git a/docs/project_info.py b/docs/project_info.py index ce07135..d432f4c 100644 --- a/docs/project_info.py +++ b/docs/project_info.py @@ -23,3 +23,7 @@ "template": "_templates/redoc-custom.j2", } ] + +# Per-tool navigation link(s) shown in the page header. Empty for repos +# that don't represent a single tool (e.g. the docs base, multi-tool sites). +tool_nav_items = {}