This commit is contained in:
ousttrue
2021-10-13 14:59:31 +09:00
parent 47b9fcfc6a
commit 6c1f9cf063
2 changed files with 10 additions and 3 deletions

View File

@@ -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)

View File

@@ -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/'
}