From 76cb5ec6eaca179db7c6c6d4f29d467ff8580e19 Mon Sep 17 00:00:00 2001 From: Zettat123 Date: Fri, 18 Oct 2024 09:46:41 +0800 Subject: [PATCH 1/2] add DISABLE_ORGANIZATIONS_PAGE and DISABLE_CODE_PAGE --- docs/administration/config-cheat-sheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/administration/config-cheat-sheet.md b/docs/administration/config-cheat-sheet.md index 83fb522a..a4a91348 100644 --- a/docs/administration/config-cheat-sheet.md +++ b/docs/administration/config-cheat-sheet.md @@ -706,6 +706,8 @@ And the following unique queues: - `REQUIRE_SIGNIN_VIEW`: **false**: Only allow signed in users to view the explore pages. - `DISABLE_USERS_PAGE`: **false**: Disable the users explore page. +- `DISABLE_ORGANIZATIONS_PAGE`: **false**: Disable the organizations explore page. +- `DISABLE_CODE_PAGE`: **false**: Disable the code explore page. ## SSH Minimum Key Sizes (`ssh.minimum_key_sizes`) From 0c55d89c91737483ebe0b1327b75cefd6e24ff1c Mon Sep 17 00:00:00 2001 From: Zettat123 Date: Fri, 18 Oct 2024 09:55:29 +0800 Subject: [PATCH 2/2] update cn docs --- .../current/administration/config-cheat-sheet.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/config-cheat-sheet.md b/i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/config-cheat-sheet.md index 04fa9ab7..1f3063a6 100644 --- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/config-cheat-sheet.md +++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/administration/config-cheat-sheet.md @@ -635,6 +635,8 @@ Gitea 创建以下非唯一队列: - `REQUIRE_SIGNIN_VIEW`: **false**:仅允许已登录的用户查看探索页面。 - `DISABLE_USERS_PAGE`: **false**:禁用用户探索页面。 +- `DISABLE_ORGANIZATIONS_PAGE`: **false**: 禁用组织探索页面。 +- `DISABLE_CODE_PAGE`: **false**: 禁用代码探索页面。 ## SSH Minimum Key Sizes (`ssh.minimum_key_sizes`)