Skip to content

Update github.mdx#7481

Merged
sarah11918 merged 3 commits into
withastro:mainfrom
ben-milanko:patch-1
Mar 20, 2024
Merged

Update github.mdx#7481
sarah11918 merged 3 commits into
withastro:mainfrom
ben-milanko:patch-1

Conversation

@ben-milanko
Copy link
Copy Markdown
Contributor

@ben-milanko ben-milanko commented Mar 19, 2024

This example does not work with the leading slash.

Description (required)

When trying this example out, the leading slash would deploy the site with an empty base, breaking the references.

E.g. when deploying with base: '/website-astro' the resulting deployed site would have broken links with

https://ORG.github.io/_astro/...

image

Removing the leading slash base: 'website-astro' correctly set the base and the references worked as

https://ORG.github.io/website-astro/_astro/...

Related issues & labels (optional)

This example does not work with the leading slash.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Mar 20, 2024 6:57pm

@astrobot-houston
Copy link
Copy Markdown
Contributor

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any broken links you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Vercel 🥳

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

@sarah11918 sarah11918 added the code snippet update Updates a code sample: typo, outdated code etc. label Mar 20, 2024
Copy link
Copy Markdown
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

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

Thank you for providing this helpful update @ben-milanko , and welcome to Team Docs! 🥳

@sarah11918 sarah11918 added the Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)! label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code snippet update Updates a code sample: typo, outdated code etc. Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants