Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
f75f4094
"...csrc/io/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "f4fd19335fca4dbb987603c08368be9496dd316d"
Commit
f75f4094
authored
Oct 12, 2018
by
Kai Chen
Browse files
fix doc building error
parent
ca0d6e8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
docs/conf.py
docs/conf.py
+6
-7
No files found.
docs/conf.py
View file @
f75f4094
...
@@ -12,11 +12,10 @@
...
@@ -12,11 +12,10 @@
# add these directories to sys.path here. If the directory is relative to the
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
#
import
os
version_file
=
'../mmcv/version.py'
import
sys
with
open
(
version_file
,
'r'
)
as
f
:
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'..'
))
exec
(
compile
(
f
.
read
(),
version_file
,
'exec'
))
__version__
=
locals
()[
'__version__'
]
import
mmcv
# noqa: E402
# -- Project information -----------------------------------------------------
# -- Project information -----------------------------------------------------
...
@@ -25,9 +24,9 @@ copyright = '2018, Kai Chen'
...
@@ -25,9 +24,9 @@ copyright = '2018, Kai Chen'
author
=
'Kai Chen'
author
=
'Kai Chen'
# The short X.Y version
# The short X.Y version
version
=
mmcv
.
__version__
version
=
__version__
# The full version, including alpha/beta/rc tags
# The full version, including alpha/beta/rc tags
release
=
mmcv
.
__version__
release
=
__version__
# -- General configuration ---------------------------------------------------
# -- General configuration ---------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment