Aligns docs on pages config with reality (#2477)

This commit is contained in:
Marty Nelson 2022-01-27 14:00:08 -08:00 committed by GitHub
parent ebaa3f0934
commit 2a24147d68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ export default /** @type {import('astro').AstroUserConfig} */ ({
public: './public/',
dist: './dist/',
src: './src/',
pages: './pages/',
pages: './src/pages/',
renderers: [
'@astrojs/renderer-svelte',
'@astrojs/renderer-vue',
@ -51,7 +51,7 @@ The `src` option sets the directory used to resolve source files, like `pages`.
The `pages` option sets the directory used to resolve pages, relative to the `src` option.
**Default**: The `pages` directory within the `src` directory.
**Default**: The `src/pages` directory within the `projectRoot` directory.
#### renderers