Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent crashing with no content folder #745

Merged
merged 8 commits into from
Sep 27, 2023

Conversation

TheOtterlord
Copy link
Member

@TheOtterlord TheOtterlord commented Sep 22, 2023

What kind of changes does this PR include?

  • Changes to Starlight code

Description

@changeset-bot
Copy link

changeset-bot bot commented Sep 22, 2023

🦋 Changeset detected

Latest commit: 8e728cd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/starlight Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Sep 22, 2023

Deploy Preview for astro-starlight ready!

Name Link
🔨 Latest commit 8e728cd
🔍 Latest deploy log https://app.netlify.com/sites/astro-starlight/deploys/651402f4aa46210008efe161
😎 Deploy Preview https://deploy-preview-745--astro-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the 🌟 core Changes to Starlight’s main package label Sep 22, 2023
@TheOtterlord TheOtterlord marked this pull request as ready for review September 25, 2023 11:07
@TheOtterlord
Copy link
Member Author

Tested on docs with both src/content/ deleted and with only src/content/docs/ deleted

Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Ah yeah, this makes more sense. Thanks @TheOtterlord!

@delucis delucis added the 🌟 patch Change that triggers a patch release label Sep 27, 2023
@delucis delucis merged commit 006d606 into withastro:main Sep 27, 2023
8 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Sep 27, 2023
HiDeoo added a commit to HiDeoo/starlight that referenced this pull request Sep 27, 2023
* main:
  Updated Dutch translation (withastro#773)
  [ci] format
  Prevent crashing with no content folder (withastro#745)
  [ci] format
  i18n(id): Translate `index.mdx` & `getting-started.mdx` (withastro#765)
  i18n(zh-cn): Translate sidebar.mdx (withastro#681)
  i18n(zh-cn): Update i18n.mdx (withastro#769)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 core Changes to Starlight’s main package 🌟 patch Change that triggers a patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing content directory throws unhelpful error
2 participants