[Docs] Collapse some sections; update logo url ()

pull/1591/head
Tong Gao 2022-12-01 17:25:24 +08:00 committed by GitHub
parent c957ded662
commit d9356252af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 2 deletions
docs
zh_cn

View File

@ -0,0 +1 @@
var collapsedSections = ['Migration Guides', 'Dataset Zoo', 'Model Zoo', 'Notes', 'API Reference']

View File

@ -86,7 +86,7 @@ html_theme = 'pytorch_sphinx_theme'
html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()]
html_theme_options = {
'logo_url':
'https://mmocr.readthedocs.io/en/latest/',
'https://mmocr.readthedocs.io/en/dev-1.x/',
'menu': [
{
'name':
@ -157,6 +157,7 @@ master_doc = 'index'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_css_files = ['css/readthedocs.css']
html_js_files = ['js/collapsed.js']
myst_heading_anchors = 4

View File

@ -0,0 +1 @@
var collapsedSections = ['迁移指南', '数据集支持', '模型支持', '记录', 'API文档']

View File

@ -86,7 +86,7 @@ html_theme = 'pytorch_sphinx_theme'
html_theme_path = [pytorch_sphinx_theme.get_html_theme_path()]
html_theme_options = {
'logo_url':
'https://mmocr.readthedocs.io/zh_CN/latest',
'https://mmocr.readthedocs.io/zh_CN/dev-1.x/',
'menu': [
{
'name':
@ -153,6 +153,7 @@ master_doc = 'index'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_css_files = ['css/readthedocs.css']
html_js_files = ['js/collapsed.js']
myst_heading_anchors = 4