From 69851244402ca9f4673e05441d14e8be36cf9b78 Mon Sep 17 00:00:00 2001
From: Remy Bos <27890746+sjokkateer@users.noreply.github.com>
Date: Sun, 22 May 2022 11:56:48 +0200
Subject: [PATCH 1/2] [Fix] PAGES: homepage.html broken issues url
Signed-off-by: Remy Bos <27890746+sjokkateer@users.noreply.github.com>
---
theme/pages/homepage.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/theme/pages/homepage.html b/theme/pages/homepage.html
index 956b53ee..6fefd56e 100644
--- a/theme/pages/homepage.html
+++ b/theme/pages/homepage.html
@@ -15,7 +15,7 @@
Using Composer
Support
- - Issues: {{ config.repo_url|replace('https://', '') }}issues
+ - Issues: {{ config.repo_url|replace('https://', '') }}/issues
- Source: {{ config.repo_url|replace('https://', '') }}
- Chat: laminas.dev/chat
- Forum: discourse.laminas.dev
From 358cff84b635e4675a9f8b04f7b3de3e36453036 Mon Sep 17 00:00:00 2001
From: Remy Bos <27890746+sjokkateer@users.noreply.github.com>
Date: Sun, 22 May 2022 21:29:08 +0200
Subject: [PATCH 2/2] MKDOCS UPDATE: Add rstrip() to remove trailing slashes
Signed-off-by: Remy Bos <27890746+sjokkateer@users.noreply.github.com>
---
update_mkdocs_yml.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/update_mkdocs_yml.py b/update_mkdocs_yml.py
index d965dd2f..a5f80a30 100755
--- a/update_mkdocs_yml.py
+++ b/update_mkdocs_yml.py
@@ -43,7 +43,7 @@
]
}
-mkdocs["extra"]["repo_name"] = mkdocs["repo_url"].replace("https://github.com/", "")
+mkdocs["extra"]["repo_name"] = mkdocs["repo_url"].replace("https://github.com/", "").rstrip("/")
mkdocs["extra"]["base_url"] = "https://docs.laminas.dev/"
if mkdocs["extra"]["project"] == "Components":