From d0b8485ddfd8dca1376ea0d417ce37282d092cd9 Mon Sep 17 00:00:00 2001 From: Marcus Otterström <35617441+MarcusOtter@users.noreply.github.com> Date: Sat, 31 Jul 2021 00:34:07 +0200 Subject: Ascii quotes (#928) --- docs/src/pages/reference/api-reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/src/pages/reference/api-reference.md') 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 ``` -`.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() { ``` -⚠️ 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: -- cgit v1.2.3