From b7e3286f928f61ec98d649860dfb07fb86577cb7 Mon Sep 17 00:00:00 2001 From: linkscope Date: Thu, 6 Mar 2025 20:32:10 +0800 Subject: [PATCH] docs: add English translate --- docs/en/guide/asset-handling.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/en/guide/asset-handling.md b/docs/en/guide/asset-handling.md index eeedc8c0..9a112fcd 100644 --- a/docs/en/guide/asset-handling.md +++ b/docs/en/guide/asset-handling.md @@ -20,6 +20,10 @@ All referenced assets, including those using absolute paths, will be copied to t All **static** path references, including absolute paths, should be based on your working directory structure. +::: tip If you use `srcDir` +If you use [`srcDir`](../reference/site-config#srcdir), [`public`](#the-public-directory) directory should be placed under the `srcDir` directory. +::: + ## The Public Directory Sometimes you may need to provide static assets that are not directly referenced in any of your Markdown or theme components, or you may want to serve certain files with the original filename. Examples of such files include `robots.txt`, favicons, and PWA icons.