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
d3480396
Unverified
Commit
d3480396
authored
Feb 08, 2023
by
Frank Lee
Committed by
GitHub
Feb 08, 2023
Browse files
[doc] updated the sphinx theme (#2635)
parent
90a9fdd9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
docs/conf.py
docs/conf.py
+6
-4
docs/requirements.txt
docs/requirements.txt
+4
-4
No files found.
docs/conf.py
View file @
d3480396
...
@@ -23,8 +23,7 @@ copyright = f'{datetime.datetime.now().year}, HPC-AI Tech'
...
@@ -23,8 +23,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 = '0.0.1'
# -- General configuration ---------------------------------------------------
# -- General configuration ---------------------------------------------------
...
@@ -64,14 +63,14 @@ exclude_patterns = ['.build', 'Thumbs.db', '.DS_Store']
...
@@ -64,14 +63,14 @@ exclude_patterns = ['.build', 'Thumbs.db', '.DS_Store']
# The theme to use for HTML and HTML Help pages. See the documentation for
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# a list of builtin themes.
#
#
html_theme
=
'sphinx_
rtd
_theme'
html_theme
=
'sphinx_
book
_theme'
html_show_sourcelink
=
False
html_show_sourcelink
=
False
html_theme_options
=
{
html_theme_options
=
{
'navigation_depth'
:
3
,
'navigation_depth'
:
3
,
}
}
html_context
=
{
html_context
=
{
'display_github'
:
Fals
e
,
'display_github'
:
Tru
e
,
'github_user'
:
'hpcaitech'
,
'github_user'
:
'hpcaitech'
,
'github_repo'
:
'ColossalAI'
,
'github_repo'
:
'ColossalAI'
,
# 'github_version': 'master/docs/',
# 'github_version': 'master/docs/',
...
@@ -90,7 +89,10 @@ html_css_files = [
...
@@ -90,7 +89,10 @@ html_css_files = [
source_suffix
=
[
'.rst'
,
'.md'
,
'.MD'
]
source_suffix
=
[
'.rst'
,
'.md'
,
'.MD'
]
import
inspect
import
inspect
import
colossalai
import
colossalai
def
linkcode_resolve
(
domain
,
info
):
def
linkcode_resolve
(
domain
,
info
):
"""
"""
Determine the URL corresponding to Python object
Determine the URL corresponding to Python object
...
...
docs/requirements.txt
View file @
d3480396
tensorboard
tensorboard
apex
apex
sphinx
sphinx
sphinx-rtd-theme
myst-parser
myst-parser
sphinx-book-theme
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