Skip to content

Commit

Permalink
docs: update relative links in README.md (#16)
Browse files Browse the repository at this point in the history
Switch relative links to work in other locations other than just in GitHub repo
  • Loading branch information
kenjonespizza authored Aug 21, 2023
1 parent 70eb961 commit d5f169f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sanity-astro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ export default defineConfig({

## PortableText

We recommend using [astro-portabletext](https://github.com/theisel/astro-portabletext) to render your PortableText fields in Astro. See an example of this in [apps/example/src/components/PortableText.astro](../../apps/example/src/components/PortableText.astro), including using custom components to render custom blocks and annotations.
We recommend using [astro-portabletext](https://github.com/theisel/astro-portabletext) to render your PortableText fields in Astro. See an example of this in [apps/example/src/components/PortableText.astro](https://github.com/sanity-io/sanity-astro/blob/main/apps/example/src/components/PortableText.astro), including using custom components to render custom blocks and annotations.

## Presenting images

We recommend using [@sanity/image-url](https://www.sanity.io/docs/image-url) to help you generate URLs for presenting Sanity images in your Astro app. See an example of this in [apps/example/src/components/SanityImage.astro](../../apps/example/src/components/SanityImage.astro)
We recommend using [@sanity/image-url](https://www.sanity.io/docs/image-url) to help you generate URLs for presenting Sanity images in your Astro app. See an example of this in [apps/example/src/components/SanityImage.astro](https://github.com/sanity-io/sanity-astro/blob/main/apps/example/src/components/SanityImage.astro)

### Learning

Expand Down

1 comment on commit d5f169f

@vercel
Copy link

@vercel vercel bot commented on d5f169f Aug 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sanity-astro-example-ssr – ./apps/example-ssr

sanity-astro-example-ssr.sanity.build
sanity-astro-example-ssr-git-main.sanity.build

Please sign in to comment.