Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
ecfb4a93
Commit
ecfb4a93
authored
3 years ago
by
Yifan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
Use a different theme for doc
parent
83a64b89
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hpvm/docs/conf.py
+6
-17
6 additions, 17 deletions
hpvm/docs/conf.py
hpvm/docs/requirements.txt
+1
-1
1 addition, 1 deletion
hpvm/docs/requirements.txt
with
7 additions
and
18 deletions
hpvm/docs/conf.py
+
6
−
17
View file @
ecfb4a93
from
datetime
import
date
from
datetime
import
date
import
sphinx_rtd_theme
# If extensions (or modules to document with autodoc) are in another directory,
# If extensions (or modules to document with autodoc) are in another directory,
# 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
...
@@ -71,25 +70,20 @@ add_module_names = False
...
@@ -71,25 +70,20 @@ add_module_names = False
pygments_style
=
"
sphinx
"
pygments_style
=
"
sphinx
"
# A list of prefixs that are ignored when creating the module index. (new in Sphinx 0.6)
# A list of prefixs that are ignored when creating the module index. (new in Sphinx 0.6)
# modindex_common_prefix = [
"networkx."
]
# modindex_common_prefix = []
# doctest_global_setup = "
import networkx as nx
"
# doctest_global_setup = ""
# Options for HTML output
# Options for HTML output
# -----------------------
# -----------------------
html_theme
=
"
pydata_sphinx_theme
"
html_theme
=
"
sphinx_rtd_theme
"
html_theme_path
=
[
sphinx_rtd_theme
.
get_html_theme_path
()]
html_theme_options
=
{
html_theme_options
=
{
"
canonical
_url
"
:
"
https://
networkx.org/documentation/stable/
"
,
"
github
_url
"
:
"
https://
gitlab.engr.illinois.edu/llvm/hpvm-beta
"
,
"
navigation_depth
"
:
3
,
"
show_prev_next
"
:
False
,
"
logo_only
"
:
True
,
"
search_bar_position
"
:
"
sidebar
"
,
}
}
# html_logo = "_static/networkx_logo.svg"
# The style sheet to use for HTML and HTML Help pages. A file of that name
# The style sheet to use for HTML and HTML Help pages. A file of that name
# must exist either in Sphinx' static/ path, or in one of the custom paths
# must exist either in Sphinx' static/ path, or in one of the custom paths
# given in html_static_path.
# given in html_static_path.
...
@@ -149,8 +143,3 @@ intersphinx_mapping = {
...
@@ -149,8 +143,3 @@ intersphinx_mapping = {
default_role
=
"
obj
"
default_role
=
"
obj
"
numpydoc_show_class_members
=
False
numpydoc_show_class_members
=
False
def
setup
(
app
):
app
.
add_css_file
(
"
custom.css
"
)
app
.
add_js_file
(
"
copybutton.js
"
)
This diff is collapsed.
Click to expand it.
hpvm/docs/requirements.txt
+
1
−
1
View file @
ecfb4a93
sphinx>=3.5
sphinx>=3.5
sphinx-autodoc-typehints>=1.11
sphinx-autodoc-typehints>=1.11
sphinx-
rtd-
theme
>
=0.5
pydata-
sphinx-theme
=
=0.5
.2
numpydoc>=1.1
numpydoc>=1.1
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment