Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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を初期化・更新できます。

Expand All @@ -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"
```
Loading