diff --git a/website/README.md b/website/README.md index 680b6b27b..8afa9d5cf 100644 --- a/website/README.md +++ b/website/README.md @@ -4,7 +4,7 @@ また、SSG(静的サイトジェネレーター)の本体は、Git submoduleとして別リポジトリの[typst-docs-web](https://github.com/typst-community/typst-docs-web)で管理されています。 -## Git submoduleの初期化について +## Git submoduleの初期化 リポジトリを`git clone`する際に`--recursive`オプションを付けていない場合は、以下のコマンドでsubmoduleを初期化・更新できます。 @@ -13,3 +13,16 @@ git submodule update --init --recursive ``` これにより、`typst-docs-web`ディレクトリが正しく取得されます。 + +## Git submoduleの更新 + +submoduleの更新は以下の手順で行います。 + +```sh +# submoduleをリモートの最新状態に更新 +git submodule update --remote website/typst-docs-web + +# 変更をコミット +git add website/typst-docs-web +git commit -m "chore: update typst-docs-web" +``` diff --git a/website/typst-docs-web b/website/typst-docs-web index 230699f7d..ee115c6fd 160000 --- a/website/typst-docs-web +++ b/website/typst-docs-web @@ -1 +1 @@ -Subproject commit 230699f7d8cd90c454656d901096cfeb72b20a7e +Subproject commit ee115c6fd653c51e99b43e6e8a9e95f65259cb0c