aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/README.md
diff options
context:
space:
mode:
authorGravatar Rychart Redwerkz <redwerkz@users.noreply.github.com> 2023-01-30 15:48:57 +0100
committerGravatar GitHub <noreply@github.com> 2023-01-30 09:48:57 -0500
commit9bb0bfab13c18ebc49cce1559f33d04c5f5f654f (patch)
tree2b1eaceae4ea355865a1f903f73d03401e25ffec /examples/docs/README.md
parent98a4a914bc47f3da2764b3bdc01577d25fe2e261 (diff)
downloadastro-9bb0bfab13c18ebc49cce1559f33d04c5f5f654f.tar.gz
astro-9bb0bfab13c18ebc49cce1559f33d04c5f5f654f.tar.zst
astro-9bb0bfab13c18ebc49cce1559f33d04c5f5f654f.zip
Fix `edit this Page` on `examples/docs` (#6028)
* 🐛 Fix path from `pages` to `content/docs` * 🐛 Fix path from `pages` to `content/docs`
Diffstat (limited to 'examples/docs/README.md')
-rw-r--r--examples/docs/README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/docs/README.md b/examples/docs/README.md
index f7c44619b..0c4bad028 100644
--- a/examples/docs/README.md
+++ b/examples/docs/README.md
@@ -11,7 +11,6 @@ npm create astro@latest -- --template docs
![docs](https://user-images.githubusercontent.com/4677417/186189283-0831b9ab-d6b9-485d-8955-3057e532ab31.png)
-
## Features
- ✅ **Full Markdown support**
@@ -104,10 +103,10 @@ Note the top-level `en` key: This is needed for multi-language support. You can
The Astro docs template supports multiple languages out of the box. The default theme only shows `en` documentation, but you can enable multi-language support features by adding a second language to your project.
-To add a new language to your project, you'll want to extend the current `src/pages/[lang]/...` layout:
+To add a new language to your project, you'll want to extend the current `src/content/docs/[lang]/...` layout:
```diff
- 📂 src/pages
+ 📂 src/content/docs
┣ 📂 en
┃ ┣ 📜 page-1.md
┃ ┣ 📜 page-2.md