Skip to content

fix(guides/cms): update some FileTree and code snippets#11722

Merged
ArmandPhilippot merged 2 commits intowithastro:mainfrom
ArmandPhilippot:fix/guides/cms
May 20, 2025
Merged

fix(guides/cms): update some FileTree and code snippets#11722
ArmandPhilippot merged 2 commits intowithastro:mainfrom
ArmandPhilippot:fix/guides/cms

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

Description (required)

Updates some guides/cms pages to fix:

  • some indentation in <FileTree /> components (files wasn't under src/ because of that)
  • some code snippets title (we had an extra " before the title because the closing quote was missing)
  • some code snippets languages
  • a line marker in a code snippet to include the closing brace
  • a typo in sitecore.mdx

In addition:

I also noticed that Keystatic uses the legacy content collection API but I preferred not to update it. I don't know if the CMS is compatible with the Content Layer API; their docs is also outdated. It seemed like it needed bigger changes (adding a step for content.config.ts?).

Related issues & labels (optional)

  • Suggested label: code snippet update

@ArmandPhilippot ArmandPhilippot added the code snippet update Updates a code sample: typo, outdated code etc. label May 20, 2025
@netlify
Copy link
Copy Markdown

netlify bot commented May 20, 2025

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit ccff1d8
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/682cafe463bff50008011311
😎 Deploy Preview https://deploy-preview-11722--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented May 20, 2025

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/cms/contentful.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/ghost.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/hashnode.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/preprcms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/sitecore.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/statamic.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/strapi.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/umbraco.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Copy Markdown
Member

@yanthomasdev yanthomasdev left a comment

Choose a reason for hiding this comment

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

LGTM! Good job! 🙌

@ArmandPhilippot ArmandPhilippot merged commit c68f490 into withastro:main May 20, 2025
10 checks passed
@ArmandPhilippot ArmandPhilippot deleted the fix/guides/cms branch May 20, 2025 16:47
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request May 20, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request May 20, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request May 20, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request May 20, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request May 20, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request May 20, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request May 20, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request May 20, 2025
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants