diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 54044aac4..ef4e5ac56 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -12,12 +12,8 @@ jobs: ACTIONS_ALLOW_UNSECURE_COMMANDS: true steps: - 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 - - run: pip install gitinclude + - run: pip install -r requirements.txt - name: sphinx build(ja) working-directory: ./docs run: sphinx-build . ../public/ja diff --git a/.gitignore b/.gitignore index c78e61598..1e91fb883 100644 --- a/.gitignore +++ b/.gitignore @@ -61,4 +61,4 @@ Assets/_Private.meta # sphinx build public *.pyc - +.venv diff --git a/docs/_templates/layout.html b/docs/_templates/language.html similarity index 52% rename from docs/_templates/layout.html rename to docs/_templates/language.html index 971b33868..5296e7f89 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/language.html @@ -1,11 +1,7 @@ -{% extends "!layout.html" %} - -{% block sidebartitle %} -{%- if language != "en" %} +{%- if language == "ja" %} [日本語] English -{%- endif %} -{%- if language != "ja" %} +{%- elif language == "en" %} 日本語 [English] -{%- endif %} -{{ super() }} -{% endblock %} \ No newline at end of file +{% else %} +unknown language: {{ language }} +{%- endif %} \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 5426ecfc0..a1eddc719 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,7 +47,18 @@ 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 = 'sphinx_rtd_theme' +html_theme = 'furo' +html_sidebars = { + '**': [ + "sidebar/scroll-start.html", + 'language.html', + "sidebar/brand.html", + "sidebar/search.html", + "sidebar/navigation.html", + "sidebar/ethical-ads.html", + "sidebar/scroll-end.html", + ], +} # 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, diff --git a/docs/index.html b/docs/index.html index bcfd56ef9..81671d989 100644 --- a/docs/index.html +++ b/docs/index.html @@ -42,10 +42,10 @@
- +

Download

-

UniVRM-0.92.0

+

UniVRM-0.93.0

diff --git a/docs/release/079/v0.93.0.md b/docs/release/079/v0.93.0.md new file mode 100644 index 000000000..2567fde96 --- /dev/null +++ b/docs/release/079/v0.93.0.md @@ -0,0 +1,13 @@ +# v0.93.0: 1.0準備 + +* [[\#1452](https://github.com/vrm-c/UniVRM/pull/1452)] UniVRM-0.93.0 +* [[\#1446](https://github.com/vrm-c/UniVRM/pull/1446)] [1.0][Constraint] rotation local to localのみに +* [[\#1444](https://github.com/vrm-c/UniVRM/pull/1444)] Fix/material has vertex color +* [[\#1443](https://github.com/vrm-c/UniVRM/pull/1443)] [1.0] SpringBone Joint のJSONキー省略時にデフォルト値を補う +* [[\#1445](https://github.com/vrm-c/UniVRM/pull/1445)] MeshVertexのdefault colorをwhiteにした +* [[\#1440](https://github.com/vrm-c/UniVRM/pull/1440)] FirstPerson 設定が無い Renderer のデフォルト値を auto にする +* [[\#1439](https://github.com/vrm-c/UniVRM/pull/1439)] default material +* [[\#1437](https://github.com/vrm-c/UniVRM/pull/1437)] Can export metallic roughness occlusion correct. +* [[\#1436](https://github.com/vrm-c/UniVRM/pull/1436)] Marshal.Copy で問題が発生する前に throw する +* [[\#1435](https://github.com/vrm-c/UniVRM/pull/1435)] ランタイム正規化のサンプルとドキュメント +* [[\#1434](https://github.com/vrm-c/UniVRM/pull/1434)] release/079/v0.92.0.md diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..fe51696e9 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,40 @@ +alabaster==0.7.12 +attrs==21.4.0 +Babel==2.9.1 +beautifulsoup4==4.10.0 +certifi==2021.10.8 +charset-normalizer==2.0.10 +click==8.0.3 +colorama==0.4.4 +docutils==0.17.1 +furo==2022.1.2 +gitinclude==0.3.1 +idna==3.3 +imagesize==1.3.0 +Jinja2==3.0.3 +livereload==2.6.3 +markdown-it-py==2.0.0 +MarkupSafe==2.0.1 +mdit-py-plugins==0.3.0 +mdurl==0.1.0 +myst-parser==0.16.1 +packaging==21.3 +Pygments==2.11.2 +pyparsing==3.0.6 +pytz==2021.3 +PyYAML==6.0 +requests==2.27.1 +six==1.16.0 +snowballstemmer==2.2.0 +soupsieve==2.3.1 +Sphinx==4.3.2 +sphinx-autobuild==2021.3.14 +sphinx-intl==2.0.1 +sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-htmlhelp==2.0.0 +sphinxcontrib-jsmath==1.0.1 +sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-serializinghtml==1.1.5 +tornado==6.1 +urllib3==1.26.7