diff options
author | 2021-07-31 00:34:07 +0200 | |
---|---|---|
committer | 2021-07-30 17:34:07 -0500 | |
commit | d0b8485ddfd8dca1376ea0d417ce37282d092cd9 (patch) | |
tree | a6fec0c68c4ea2911d84768ab673b0f64cf5cff2 /docs/src/pages/reference | |
parent | cf4c97cf5411bffbdc8522717e950b414053f26c (diff) | |
download | astro-d0b8485ddfd8dca1376ea0d417ce37282d092cd9.tar.gz astro-d0b8485ddfd8dca1376ea0d417ce37282d092cd9.tar.zst astro-d0b8485ddfd8dca1376ea0d417ce37282d092cd9.zip |
Ascii quotes (#928)
Diffstat (limited to 'docs/src/pages/reference')
-rw-r--r-- | docs/src/pages/reference/api-reference.md | 4 | ||||
-rw-r--r-- | docs/src/pages/reference/configuration-reference.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/pages/reference/api-reference.md b/docs/src/pages/reference/api-reference.md index a94aed73f..ee42196e0 100644 --- a/docs/src/pages/reference/api-reference.md +++ b/docs/src/pages/reference/api-reference.md @@ -28,7 +28,7 @@ const data = Astro.fetchContent('../pages/post/*.md'); // returns an array of po </div> ``` -`.fetchContent()` only takes one parameter: a relative URL glob of which local files you’d like to import. Currently only `*.md` files are supported. It’s synchronous, and returns an array of items of type: +`.fetchContent()` only takes one parameter: a relative URL glob of which local files you'd like to import. Currently only `*.md` files are supported. It's synchronous, and returns an array of items of type: ```js { @@ -81,7 +81,7 @@ export async function createCollection() { <!-- Your HTML template here. --> ``` -⚠️ The `createCollection()` function executes in its own isolated scope before page loads. Therefore you can’t reference anything from its parent scope, other than file imports. The compiler will warn if you break this requirement. +⚠️ The `createCollection()` function executes in its own isolated scope before page loads. Therefore you can't reference anything from its parent scope, other than file imports. The compiler will warn if you break this requirement. The `createCollection()` function should returns an object of the following shape: diff --git a/docs/src/pages/reference/configuration-reference.md b/docs/src/pages/reference/configuration-reference.md index e5a0cc6ee..d0a088ba4 100644 --- a/docs/src/pages/reference/configuration-reference.md +++ b/docs/src/pages/reference/configuration-reference.md @@ -11,7 +11,7 @@ export default { 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. + 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: { // site: '', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs. sitemap: true, // Generate sitemap (set to "false" to disable) |