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
ColossalAI
Commits
9caa8b64
"git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "385e85afd460a1b9a947b09c9d0f7d2628c35ad2"
Unverified
Commit
9caa8b64
authored
Mar 22, 2022
by
ver217
Committed by
GitHub
Mar 22, 2022
Browse files
docs get correct release version (#489)
parent
d7ea6399
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
docs/conf.py
docs/conf.py
+8
-5
No files found.
docs/conf.py
View file @
9caa8b64
...
@@ -16,6 +16,12 @@ import sys
...
@@ -16,6 +16,12 @@ import sys
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'..'
))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'..'
))
def
get_version
():
with
open
(
'../version.txt'
)
as
f
:
return
f
.
read
().
strip
()
# -- Project information -----------------------------------------------------
# -- Project information -----------------------------------------------------
project
=
'Colossal-AI'
project
=
'Colossal-AI'
...
@@ -23,8 +29,7 @@ copyright = f'{datetime.datetime.now().year}, HPC-AI Tech'
...
@@ -23,8 +29,7 @@ copyright = f'{datetime.datetime.now().year}, HPC-AI Tech'
author
=
'HPC-AI Technology Inc.'
author
=
'HPC-AI Technology Inc.'
# The full version, including alpha/beta/rc tags
# The full version, including alpha/beta/rc tags
release
=
'0.0.1'
release
=
get_version
()
# -- General configuration ---------------------------------------------------
# -- General configuration ---------------------------------------------------
...
@@ -46,9 +51,7 @@ autodoc_typehints = 'none'
...
@@ -46,9 +51,7 @@ autodoc_typehints = 'none'
# Enable overriding of function signatures in the first line of the docstring.
# Enable overriding of function signatures in the first line of the docstring.
autodoc_docstring_signature
=
True
autodoc_docstring_signature
=
True
autodoc_default_options
=
{
autodoc_default_options
=
{
'member-order'
:
'bysource'
}
'member-order'
:
'bysource'
}
# Add any paths that contain templates here, relative to this directory.
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[
'_templates'
]
templates_path
=
[
'_templates'
]
...
...
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