Skip to content

Commit

Permalink
review-fix link id
Browse files Browse the repository at this point in the history
  • Loading branch information
KaitoMuraoka committed Sep 5, 2024
1 parent 820ab00 commit 674c164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/leaf/getting-started.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ app.views.use(.leaf)
Leaf には、ページをレンダリングするための内部キャッシュがあります。`Application` の環境が `.development` に設定されている場合、このキャッシュは無効になり、テンプレートへの変更が即座に反映されます。`.production` やその他の環境では、キャッシュがデフォルトで有効になっており、テンプレートに加えた変更はアプリケーションを再起動するまで反映されません。

!!! warning
Xcode から実行する際に Leaf がテンプレートを見つけられるようにするためには、 Xcode ワークスペースの [custom working directory](../getting-started/xcode.md#custom-working-directory) を設定する必要があります。
Xcode から実行する際に Leaf がテンプレートを見つけられるようにするためには、 Xcode ワークスペースの [custom working directory](../getting-started/xcode/#_1) を設定する必要があります。

This comment has been minimized.

Copy link
@lemo-nade-room

lemo-nade-room Sep 6, 2024

Contributor

@KaitoMuraoka
NotFoundになってるので再度ご確認ください

This comment has been minimized.

Copy link
@KaitoMuraoka

KaitoMuraoka Sep 6, 2024

Author Contributor

失礼 🙇 、修正しました:b33141d

余談

日本語で「カスタムワーキングディレクトリ 」なのは不恰好なので、"custom working directory" の方が良いと思うがどうでしょうか?
これは別のPRで対応するつもり

This comment has been minimized.

Copy link
@lemo-nade-room

lemo-nade-room Sep 6, 2024

Contributor

ありがとうございます! approveします!

タイトルに関してはURL遷移先が変わってしまうため、保守が大変なので英語で統一でもいいのかなと個人的には思っています!

## フォルダ構成

Leaf を設定したら、`.leaf` ファイルを格納するための `Views` フォルダを用意する必要があります。デフォルトでは、Leaf はプロジェクトのルートに対して `./Resources/Views` というフォルダを要求します。
Expand Down

0 comments on commit 674c164

Please sign in to comment.