mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-26 12:55:18 -05:00
rtd
This commit is contained in:
1
.github/workflows/sphinx.yml
vendored
1
.github/workflows/sphinx.yml
vendored
@@ -14,6 +14,7 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- run: pip install sphinx
|
||||
- run: pip install myst-parser
|
||||
- run: pip install sphinx-rtd-theme
|
||||
- run: sudo apt install gettext
|
||||
- run: pip install sphinx-intl
|
||||
- name: sphinx build(ja)
|
||||
|
||||
12
docs/conf.py
12
docs/conf.py
@@ -47,7 +47,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
#
|
||||
html_theme = 'nature'
|
||||
html_theme = 'sphinx_rtd_theme'
|
||||
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
@@ -57,6 +57,12 @@ html_static_path = ['_static']
|
||||
locale_dirs = ['locale/']
|
||||
gettext_compact = False
|
||||
|
||||
html_context = {"language": language}
|
||||
|
||||
github_url = "https://github.com/vrm-c/UniVRM"
|
||||
|
||||
html_context = {
|
||||
"language": language,
|
||||
'display_github': True,
|
||||
'github_user': 'vrm-c',
|
||||
'github_repo': 'UniVRM',
|
||||
'github_version': 'master/docs/'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user