summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/config.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/config.md b/docs/config.md
index f3c2a60ce..c91970306 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -5,7 +5,8 @@ To configure Astro, add an `astro.config.mjs` file in the root of your project.
```js
export default {
projectRoot: '.', // Where to resolve all URLs relative to. Useful if you have a monorepo project.
- pages: './src/pages', // Path to Astro components, pages, and data
+ src: './src', // Path to Astro components, pages, and data
+ pages: './src/pages', // Path to Astro/Markdown pages
dist: './dist', // When running `astro build`, path to final static output
public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that don’t need processing.
buildOptions: {