From 5f8ad796ec331c620b5acd078e31899027901bf9 Mon Sep 17 00:00:00 2001 From: Rob Redpath Date: Wed, 20 May 2026 17:03:41 +0100 Subject: [PATCH 1/2] feat: make eyebrow text customisable per-project --- docs/conf.py | 2 +- docs/project_info.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index ae00976..044b885 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,7 +47,7 @@ html_theme_options = { # See https://iati-sphinx-theme.readthedocs-hosted.com/en/latest/#configuration for additional options and info "github_repository": github_repository, "header_title_text": _(project), - "header_eyebrow_text": _("IATI Documentation"), + "header_eyebrow_text": _(eyebrow_text), "languages": languages, "project_title": _(project), "show_download_links": True, diff --git a/docs/project_info.py b/docs/project_info.py index 0343d19..ce07135 100644 --- a/docs/project_info.py +++ b/docs/project_info.py @@ -5,6 +5,9 @@ # Project name (used for titles, headers, and Sphinx internals) project = "IATI Docs Base" +# Eyebrow text: the smaller text that appears directly above the website title +eyebrow_text = "IATI Tools: Documentation" + # GitHub repository URL (for "Edit on GitHub" links) github_repository = "https://github.com/IATI/iati-docs-base" From c07f3c3d75036addbf89729fe31f450fc28aab1a Mon Sep 17 00:00:00 2001 From: Rob Redpath Date: Wed, 20 May 2026 17:05:57 +0100 Subject: [PATCH 2/2] bugfix: import eyebrow_text from project-specific conf --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 044b885..af655b7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,7 @@ import iati_sphinx_theme # Import project-specific settings -from project_info import project, github_repository, languages, redoc +from project_info import project, eyebrow_text, github_repository, languages, redoc MESSAGE_CATALOG_NAME = "iati-sphinx-theme" _ = get_translation(MESSAGE_CATALOG_NAME)