Julia 公式ドキュメント日本語翻訳化プロジェクト
English follows Japanese
下記のコマンドを実行するだけです.
git clone https://github.com/AtelierArith/UnofficialJuliaDoc-ja.git
cd UnofficialJuliaDoc-ja
git submodule update --init --recursive
bash run.sh
julia -e 'using LiveServer; serve(dir="julia/doc/_build/html/ja")'上記のコマンドによって下記が実行されます.
- UnofficialJuliaDoc-ja のクローン
juliaリポジトリ v1.11.5 をクローンassets以下にあるファイルをjulia/docに適用.julia/doc/Project.toml,julia/doc/Manifest.toml,julia/doc/make.jlが更新されます.make -C julia && make -C julia/docが実行されます.
上記の手順を踏むことで下記が成果物として得られます:
julia/doc/_build/html/ja に翻訳された日本語ドキュメントが生成されます.
翻訳結果は使用した OpenAI API の品質に左右されます.翻訳結果に不備・不満がある場合は translation ディレクトリにある ja.md を修正してください.original.md は編集・修正しないでください.
- OpenAI API キーを取得. OpenAI.jl の README.md を参考にすること
- 環境変数
OPENAI_API_KEY=sk-<blah>を設定 -
にある
:jaを変更.:jaは ISO 639 language codes における日本語(Japanese)に対応します. bash run.shを実行
Julia Official Documentation Japanese Translation Project
Simply run the following commands:
git clone https://github.com/AtelierArith/UnofficialJuliaDoc-ja.git
cd UnofficialJuliaDoc-ja
git submodule update --init --recursive
bash run.sh
julia -e 'using LiveServer; serve(dir="julia/doc/_build/html/ja")'The above commands will execute the following:
- Clone UnofficialJuliaDoc-ja
- Clone
juliarepository v1.11.5 - Apply files under
assetstojulia/doc. This will updatejulia/doc/Project.toml,julia/doc/Manifest.toml, andjulia/doc/make.jl. - Execute
make -C julia && make -C julia/doc
By following the above steps, you will obtain the following output:
Translated Japanese documentation will be generated in julia/doc/_build/html/ja.
The translation quality depends on the OpenAI API used. If there are issues or dissatisfaction with the translation results, please modify ja.md in the translation directory. Do not edit or modify original.md.
- Obtain an OpenAI API key. Refer to the OpenAI.jl README.md for guidance
- Set the environment variable
OPENAI_API_KEY=sk-<blah> - Change
:jain .:jacorresponds to Japanese in ISO 639 language codes. - Run
bash run.sh