From b1f7c22d1d1255e12b58d52b3fc421058a3cc948 Mon Sep 17 00:00:00 2001 From: Mehraz Morshed Date: Fri, 15 Aug 2025 10:07:51 +0600 Subject: [PATCH] Update asset-handling.md --- docs/en/guide/asset-handling.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/guide/asset-handling.md b/docs/en/guide/asset-handling.md index eeedc8c02565..868f11c42ee2 100644 --- a/docs/en/guide/asset-handling.md +++ b/docs/en/guide/asset-handling.md @@ -22,13 +22,13 @@ All **static** path references, including absolute paths, should be based on you ## 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. +Sometimes you may need to provide static assets that are not directly referenced in your Markdown files 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. -You can place these files in the `public` directory under the [source directory](./routing#source-directory). For example, if your project root is `./docs` and using default source directory location, then your public directory will be `./docs/public`. +You can place these files in the `public` directory inside your [source directory](./routing#source-directory). For example, if your project root is `./docs` and you’re using default source directory location, then your public directory will be `./docs/public`. Assets placed in `public` will be copied to the root of the output directory as-is. -Note that you should reference files placed in `public` using root absolute path - for example, `public/icon.png` should always be referenced in source code as `/icon.png`. +Note that you should reference files placed in `public` using root absolute path. For example, `public/icon.png` should always be referenced in source code as `/icon.png`. ## Base URL