From b74c4c3fbdd8187c4161d24d940d5178da7d3144 Mon Sep 17 00:00:00 2001 From: Elliot Ford Date: Tue, 24 Oct 2023 14:25:20 +0100 Subject: [PATCH 1/2] fix github_user typo for repo_url in docs This caused the GitHub icon in the footer to take the user to an invalid link, which returned a 404 error from GitHub. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index b421a7e3..bf6783ef 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,7 @@ project = "augmenty" author = "Kenneth Enevoldsen" -github_user = "KenethEnevoldsen" +github_user = "KennethEnevoldsen" repo_url = f"https://github.com/{github_user}/{project}" From e1d3ff7e6b3387c0c21c4471a04c7eceb3ef85b0 Mon Sep 17 00:00:00 2001 From: Elliot Ford Date: Tue, 24 Oct 2023 14:26:58 +0100 Subject: [PATCH 2/2] reuse github_user variable in docs/conf.py --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index bf6783ef..e964fa2b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -68,7 +68,7 @@ html_context = { "display_github": True, # Add 'Edit on Github' link instead of 'View page source' - "github_user": "KennethEnevoldsen", + "github_user": github_user, "github_repo": project, "github_version": "main", "conf_py_path": "/docs/",