aistairc / aiaccel

A hyperparameter optimization library for the ABCI.
https://aistairc.github.io/aiaccel/
MIT License
24 stars 5 forks source link

The document supports en and ja. #372

Closed tkokada closed 3 months ago

tkokada commented 3 months ago

The PR contains followings:

As mentioned above, htmls should be modified in future. But the PR can support english and japanese by the button. Most of the api reference generation are automated, but the localization process is sitll needed to modify by hands. For example, if you update the docstring, followings are the instructions to update the api reference:

path/to/aiaccel/repo

$ sphinx-apidoc -f -o docs/source/api_reference aiaccel

$ cd docs

$ make gettext

$ sphinx-intl update -p build/gettext -l en -l ja

This generates localization files in docs/source/locale directory. The instruction commands update (delete) the files if docs/source/locale includes translated files.