From d2d411c5ca7cf2b6981229c777f07d99e6b5905b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= <ben@agaric.coop> Date: Wed, 16 Apr 2025 12:58:09 -0400 Subject: [PATCH] Get a little closer but it still won't work until we override the template Real Shame ReadTheDocs et al still doesn't have true support for Gitea and Forgejo and any other independent repo hosting, what the hell. --- conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index 40c7b88..3002c02 100644 --- a/conf.py +++ b/conf.py @@ -126,11 +126,11 @@ html_static_path = ['_static'] # Add context to make Edit on GitLab links. Borrowed from Drutopia docs config. html_context = { "display_gitlab": True, # Integrate Gitlab - "gitlab_host": "https://git.agaric.com", + "gitlab_host": "git.agaric.com", "gitlab_user": "agaric", # Organization "gitlab_repo": "documentation", # Repo name "gitlab_version": "main", # Version - "conf_py_path": "/", # Path in the checkout to the docs root + "conf_py_path": "/src/branch/", # Path in the checkout to the docs root } # -- Options for HTMLHelp output ---------------------------------------------