mirror of https://github.com/open-mmlab/mmocr.git
[Docs] Collapse some sections; update logo url (#1571)
parent
c957ded662
commit
d9356252af
docs
en
_static/js
zh_cn
_static/js
|
@ -0,0 +1 @@
|
|||
var collapsedSections = ['Migration Guides', 'Dataset Zoo', 'Model Zoo', 'Notes', 'API Reference']
|
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
var collapsedSections = ['迁移指南', '数据集支持', '模型支持', '记录', 'API文档']
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue