From 9e713c63fede71580c64a87ba163d094d2ed9daf Mon Sep 17 00:00:00 2001 From: Tong Gao Date: Mon, 10 Apr 2023 11:17:28 +0800 Subject: [PATCH] [Docs] Remove version tab (#1843) * [Docs] Remove version tab * update --- .github/ISSUE_TEMPLATE/1-bug-report.yml | 2 +- docs/en/conf.py | 18 ------------------ docs/zh_cn/conf.py | 18 ------------------ 3 files changed, 1 insertion(+), 37 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml index 15adca7b..6faa7b76 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -1,6 +1,6 @@ name: "🐞 Bug report" description: "Create a report to help us reproduce and fix the bug" -labels: bug +labels: kind/bug title: "[Bug] " body: diff --git a/docs/en/conf.py b/docs/en/conf.py index d7cd1cf1..b406fa6d 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -127,24 +127,6 @@ html_theme_options = { }, ] }, - { - 'name': - 'Version', - 'children': [ - { - 'name': 'MMOCR 0.x', - 'url': 'https://mmocr.readthedocs.io/en/latest/', - 'description': 'Main branch' - }, - { - 'name': 'MMOCR 1.x', - 'url': 'https://mmocr.readthedocs.io/en/dev-1.x/', - 'description': '1.x branch' - }, - ], - 'active': - True, - }, ], # Specify the language of shared menu 'menu_lang': diff --git a/docs/zh_cn/conf.py b/docs/zh_cn/conf.py index e688c505..dc198071 100644 --- a/docs/zh_cn/conf.py +++ b/docs/zh_cn/conf.py @@ -123,24 +123,6 @@ html_theme_options = { }, ] }, - { - 'name': - '版本', - 'children': [ - { - 'name': 'MMOCR 0.x', - 'url': 'https://mmocr.readthedocs.io/zh_CN/latest/', - 'description': 'main 分支文档' - }, - { - 'name': 'MMOCR 1.x', - 'url': 'https://mmocr.readthedocs.io/zh_CN/dev-1.x/', - 'description': '1.x 分支文档' - }, - ], - 'active': - True, - }, ], # Specify the language of shared menu 'menu_lang':