Skip to content

Commit 146e5ee

Browse files
BIGWangYuDongZwwWayne
authored andcommitted
refactor documentations (#6774)
1 parent e6e59b4 commit 146e5ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+6
-5
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ instance/
6464
.scrapy
6565

6666
# Sphinx documentation
67-
docs/_build/
67+
docs/en/_build/
68+
docs/zh_cn/_build/
6869

6970
# PyBuilder
7071
target/

docs/Makefile docs/en/Makefile

File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/api.rst docs/en/api.rst

docs/conf.py docs/en/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616

1717
import pytorch_sphinx_theme
1818

19-
sys.path.insert(0, os.path.abspath('..'))
19+
sys.path.insert(0, os.path.abspath('../..'))
2020

2121
# -- Project information -----------------------------------------------------
2222

2323
project = 'MMDetection'
2424
copyright = '2018-2021, OpenMMLab'
2525
author = 'MMDetection Authors'
26-
version_file = '../mmdet/version.py'
26+
version_file = '../../mmdet/version.py'
2727

2828

2929
def get_version():

docs/faq.md docs/en/faq.md

docs/index.rst docs/en/index.rst

docs/make.bat docs/en/make.bat

File renamed without changes.

docs/stat.py docs/en/stat.py

File renamed without changes.
File renamed without changes.
File renamed without changes.

docs_zh-CN/conf.py docs/zh_cn/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616

1717
import pytorch_sphinx_theme
1818

19-
sys.path.insert(0, os.path.abspath('..'))
19+
sys.path.insert(0, os.path.abspath('../../'))
2020

2121
# -- Project information -----------------------------------------------------
2222

2323
project = 'MMDetection'
2424
copyright = '2018-2021, OpenMMLab'
2525
author = 'MMDetection Authors'
26-
version_file = '../mmdet/version.py'
26+
version_file = '../../mmdet/version.py'
2727

2828

2929
def get_version():
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)