From 8a706fce6eec246a5c674c6d6185642d717f5eb5 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Mon, 20 Jan 2025 15:28:38 +1300 Subject: [PATCH] try to fix the readthedocs detection --- docs/source/conf.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 457943d748f..9a2841ac113 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -17,6 +17,11 @@ "source_directory": "docs/", } +# try to fix the readthedocs detection +html_context: dict[str] = { + "display_github": True +} + # These folders are copied to the documentation's HTML output html_static_path = ['_static', "_images"]