summaryrefslogtreecommitdiff
path: root/docs/src/pages/reference/api-reference.md
diff options
context:
space:
mode:
authorGravatar Marcus Otterström <35617441+MarcusOtter@users.noreply.github.com> 2021-07-31 00:34:07 +0200
committerGravatar GitHub <noreply@github.com> 2021-07-30 17:34:07 -0500
commitd0b8485ddfd8dca1376ea0d417ce37282d092cd9 (patch)
treea6fec0c68c4ea2911d84768ab673b0f64cf5cff2 /docs/src/pages/reference/api-reference.md
parentcf4c97cf5411bffbdc8522717e950b414053f26c (diff)
downloadastro-d0b8485ddfd8dca1376ea0d417ce37282d092cd9.tar.gz
astro-d0b8485ddfd8dca1376ea0d417ce37282d092cd9.tar.zst
astro-d0b8485ddfd8dca1376ea0d417ce37282d092cd9.zip
Ascii quotes (#928)
Diffstat (limited to 'docs/src/pages/reference/api-reference.md')
-rw-r--r--docs/src/pages/reference/api-reference.md4
1 files changed, 2 insertions, 2 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: