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
mmdetection3d
Commits
6fd688a8
Commit
6fd688a8
authored
Sep 18, 2020
by
zhangwenwei
Browse files
fix docs' version issue
parent
cac7cecd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
21 deletions
+12
-21
docs/conf.py
docs/conf.py
+12
-21
No files found.
docs/conf.py
View file @
6fd688a8
...
@@ -23,9 +23,17 @@ project = 'MMDetection3D'
...
@@ -23,9 +23,17 @@ project = 'MMDetection3D'
copyright
=
'2020-2023, OpenMMLab'
copyright
=
'2020-2023, OpenMMLab'
author
=
'MMDetection3D Authors'
author
=
'MMDetection3D Authors'
version_file
=
'../mmdet3d/version.py'
def
get_version
():
with
open
(
version_file
,
'r'
)
as
f
:
exec
(
compile
(
f
.
read
(),
version_file
,
'exec'
))
return
locals
()[
'__version__'
]
# The full version, including alpha/beta/rc tags
# The full version, including alpha/beta/rc tags
with
open
(
'../mmdet3d/VERSION'
,
'r'
)
as
f
:
release
=
get_version
()
release
=
f
.
read
().
strip
()
# -- General configuration ---------------------------------------------------
# -- General configuration ---------------------------------------------------
...
@@ -42,25 +50,8 @@ extensions = [
...
@@ -42,25 +50,8 @@ extensions = [
]
]
autodoc_mock_imports
=
[
autodoc_mock_imports
=
[
'cv2'
,
'cv2'
,
'matplotlib'
,
'nuscenes'
,
'PIL'
,
'pycocotools'
,
'pyquaternion'
,
'matplotlib'
,
'terminaltables'
,
'mmcv'
,
'mmdet'
,
'mmdet3d.version'
,
'mmdet3d.ops'
'nuscenes'
,
'PIL'
,
'pycocotools'
,
'pyquaternion'
,
'terminaltables'
,
'mmcv'
,
'mmdet'
,
'mmdet3d.version'
,
'mmdet3d.ops.ball_query'
,
'mmdet3d.ops.furthest_point_sample'
,
'mmdet3d.ops.gather_points'
,
'mmdet3d.ops.group_points'
,
'mmdet3d.ops.interpolate'
,
'mmdet3d.ops.roiaware_pool3d'
,
'mmdet3d.ops.spconv'
,
'mmdet3d.ops.voxel.voxel_layer'
,
'mmdet3d.ops.iou3d'
,
]
]
autosectionlabel_prefix_document
=
True
autosectionlabel_prefix_document
=
True
...
...
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