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.
This commit is contained in:
benjamin melançon 2025-04-16 12:58:09 -04:00
parent 267ae67dbd
commit d2d411c5ca

View file

@ -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 ---------------------------------------------