From 838c1543d9f29e5c2452e613198261c926faf9e9 Mon Sep 17 00:00:00 2001 From: Xinyu Zhou Date: Wed, 30 Nov 2022 13:34:54 +0800 Subject: [PATCH 1/2] docs: add `Edit on GitHub` Update theme: https://gitea.com/gitea/theme/pulls/116 Signed-off-by: Xinyu Zhou --- docs/config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/config.yaml b/docs/config.yaml index 66bd379c0ca41..edbb28726d05d 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -23,6 +23,8 @@ params: goVersion: 1.19 minNodeVersion: 14 search: nav + github_doc_repository: "https://github.com/go-gitea/gitea" + github_doc_repository_path: "docs/content" outputs: home: From a36ba00683b7f01207d06d98f66284b30c933104 Mon Sep 17 00:00:00 2001 From: Xinyu Zhou Date: Wed, 30 Nov 2022 16:57:26 +0800 Subject: [PATCH 2/2] Rename Signed-off-by: Xinyu Zhou --- docs/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/config.yaml b/docs/config.yaml index edbb28726d05d..91afc2e97244a 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -23,8 +23,8 @@ params: goVersion: 1.19 minNodeVersion: 14 search: nav - github_doc_repository: "https://github.com/go-gitea/gitea" - github_doc_repository_path: "docs/content" + repo: "https://github.com/go-gitea/gitea" + docContentPath: "docs/content" outputs: home: