Skip to content

[i18nIgnore] update CMS nav component logic#12842

Merged
sarah11918 merged 2 commits into
mainfrom
cms-nav-update
Dec 5, 2025
Merged

[i18nIgnore] update CMS nav component logic#12842
sarah11918 merged 2 commits into
mainfrom
cms-nav-update

Conversation

@sarah11918
Copy link
Copy Markdown
Member

@sarah11918 sarah11918 commented Dec 5, 2025

This PR updates our CMS nav component to match the logic of the recently updated deploy guide nav component.

It is an analogous update to the backend nav component done in #12759

Notably:

  • updates the CMS navigation component to use a logo property for grabbing the logo and the sidebar.label property for generating the name under the icon
  • updates the CMS guide schema to require a logo
  • updates each guide individually (including translations) to replace service with logo, ensuring the value matches the value in logos.ts and checking that sidebar.label exists.

While I was there, I alphabetized logos.ts to make things easier going forward.

Note: no filenames changed, so no redirects needed

Future Consideration:

  • I don't think we actually use logic depending on stub anymore for any of these guides? If not, then a followup PR could remove the stub property from every guide, of every kind.

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 5, 2025

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 96af318
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/6933359ca2c63d0008d1b83d
😎 Deploy Preview https://deploy-preview-12842--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 Dec 5, 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/apostrophecms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/builderio.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/buttercms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/caisy.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/cloudcannon.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/contentful.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/cosmic.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/craft-cms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/craft-cross-cms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/crystallize.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/datocms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/decap-cms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/directus.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/drupal.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/flotiq.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/frontmatter-cms.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/gitcms.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/hygraph.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/jekyllpad.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/keystatic.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/keystonejs.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/kontent-ai.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/microcms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/optimizely.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/payload.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/prismic.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/sanity.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/sitepins.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/spinal.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/storyblok.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/studiocms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/tina-cms.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/umbraco.mdx Source changed, localizations will be marked as outdated.
en/guides/cms/wordpress.mdx Source changed, localizations will be marked as outdated.
es/guides/cms/builderio.mdx Localization changed, will be marked as complete.
es/guides/cms/craft-cms.mdx Localization changed, will be marked as complete.
es/guides/cms/drupal.mdx Localization changed, will be marked as complete.
es/guides/cms/flotiq.mdx Localization changed, will be marked as complete.
es/guides/cms/gitcms.mdx Localization changed, will be marked as complete.
es/guides/cms/optimizely.mdx Localization changed, will be marked as complete.
es/guides/cms/sitepins.mdx Localization changed, will be marked as complete.
es/guides/cms/studiocms.mdx Localization changed, will be marked as complete.
es/guides/cms/umbraco.mdx Localization changed, will be marked as complete.
fr/guides/cms/apostrophecms.mdx Localization changed, will be marked as complete.
fr/guides/cms/builderio.mdx Localization changed, will be marked as complete.
fr/guides/cms/buttercms.mdx Localization changed, will be marked as complete.
fr/guides/cms/caisy.mdx Localization changed, will be marked as complete.
fr/guides/cms/cloudcannon.mdx Localization changed, will be marked as complete.
fr/guides/cms/contentful.mdx Localization changed, will be marked as complete.
fr/guides/cms/cosmic.mdx Localization changed, will be marked as complete.
fr/guides/cms/craft-cms.mdx Localization changed, will be marked as complete.
fr/guides/cms/craft-cross-cms.mdx Localization changed, will be marked as complete.
fr/guides/cms/crystallize.mdx Localization changed, will be marked as complete.
fr/guides/cms/datocms.mdx Localization changed, will be marked as complete.
fr/guides/cms/decap-cms.mdx Localization changed, will be marked as complete.
fr/guides/cms/directus.mdx Localization changed, will be marked as complete.
fr/guides/cms/drupal.mdx Localization changed, will be marked as complete.
fr/guides/cms/flotiq.mdx Localization changed, will be marked as complete.
fr/guides/cms/frontmatter-cms.mdx Localization changed, will be marked as complete.
fr/guides/cms/ghost.mdx Localization changed, will be marked as complete.
fr/guides/cms/gitcms.mdx Localization changed, will be marked as complete.
fr/guides/cms/hashnode.mdx Localization changed, will be marked as complete.
fr/guides/cms/hygraph.mdx Localization changed, will be marked as complete.
fr/guides/cms/jekyllpad.mdx Localization changed, will be marked as complete.
fr/guides/cms/keystatic.mdx Localization changed, will be marked as complete.
fr/guides/cms/keystonejs.mdx Localization changed, will be marked as complete.
fr/guides/cms/kontent-ai.mdx Localization changed, will be marked as complete.
fr/guides/cms/microcms.mdx Localization changed, will be marked as complete.
fr/guides/cms/optimizely.mdx Localization changed, will be marked as complete.
fr/guides/cms/payload.mdx Localization changed, will be marked as complete.
fr/guides/cms/preprcms.mdx Localization changed, will be marked as complete.
fr/guides/cms/prismic.mdx Localization changed, will be marked as complete.
fr/guides/cms/sanity.mdx Localization changed, will be marked as complete.
fr/guides/cms/sitecore.mdx Localization changed, will be marked as complete.
fr/guides/cms/sitepins.mdx Localization changed, will be marked as complete.
fr/guides/cms/spinal.mdx Localization changed, will be marked as complete.
fr/guides/cms/statamic.mdx Localization changed, will be marked as complete.
fr/guides/cms/storyblok.mdx Localization changed, will be marked as complete.
fr/guides/cms/strapi.mdx Localization changed, will be marked as complete.
fr/guides/cms/studiocms.mdx Localization changed, will be marked as complete.
fr/guides/cms/tina-cms.mdx Localization changed, will be marked as complete.
fr/guides/cms/umbraco.mdx Localization changed, will be marked as complete.
fr/guides/cms/wordpress.mdx Localization changed, will be marked as complete.
ko/guides/cms/apostrophecms.mdx Localization changed, will be marked as complete.
ko/guides/cms/builderio.mdx Localization changed, will be marked as complete.
ko/guides/cms/buttercms.mdx Localization changed, will be marked as complete.
ko/guides/cms/caisy.mdx Localization changed, will be marked as complete.
ko/guides/cms/cloudcannon.mdx Localization changed, will be marked as complete.
ko/guides/cms/contentful.mdx Localization changed, will be marked as complete.
ko/guides/cms/cosmic.mdx Localization changed, will be marked as complete.
ko/guides/cms/craft-cms.mdx Localization changed, will be marked as complete.
ko/guides/cms/craft-cross-cms.mdx Localization changed, will be marked as complete.
ko/guides/cms/crystallize.mdx Localization changed, will be marked as complete.
ko/guides/cms/datocms.mdx Localization changed, will be marked as complete.
ko/guides/cms/decap-cms.mdx Localization changed, will be marked as complete.
ko/guides/cms/directus.mdx Localization changed, will be marked as complete.
ko/guides/cms/drupal.mdx Localization changed, will be marked as complete.
ko/guides/cms/flotiq.mdx Localization changed, will be marked as complete.
ko/guides/cms/frontmatter-cms.mdx Localization changed, will be marked as complete.
ko/guides/cms/ghost.mdx Localization changed, will be marked as complete.
ko/guides/cms/gitcms.mdx Localization changed, will be marked as complete.
ko/guides/cms/hashnode.mdx Localization changed, will be marked as complete.
ko/guides/cms/hygraph.mdx Localization changed, will be marked as complete.
ko/guides/cms/jekyllpad.mdx Localization changed, will be marked as complete.
ko/guides/cms/keystatic.mdx Localization changed, will be marked as complete.
ko/guides/cms/keystonejs.mdx Localization changed, will be marked as complete.
ko/guides/cms/kontent-ai.mdx Localization changed, will be marked as complete.
ko/guides/cms/microcms.mdx Localization changed, will be marked as complete.
ko/guides/cms/optimizely.mdx Localization changed, will be marked as complete.
ko/guides/cms/payload.mdx Localization changed, will be marked as complete.
ko/guides/cms/preprcms.mdx Localization changed, will be marked as complete.
ko/guides/cms/prismic.mdx Localization changed, will be marked as complete.
ko/guides/cms/sanity.mdx Localization changed, will be marked as complete.
ko/guides/cms/sitecore.mdx Localization changed, will be marked as complete.
ko/guides/cms/sitepins.mdx Localization changed, will be marked as complete.
ko/guides/cms/spinal.mdx Localization changed, will be marked as complete.
ko/guides/cms/statamic.mdx Localization changed, will be marked as complete.
ko/guides/cms/storyblok.mdx Localization changed, will be marked as complete.
ko/guides/cms/strapi.mdx Localization changed, will be marked as complete.
ko/guides/cms/studiocms.mdx Localization changed, will be marked as complete.
ko/guides/cms/tina-cms.mdx Localization changed, will be marked as complete.
ko/guides/cms/umbraco.mdx Localization changed, will be marked as complete.
ko/guides/cms/wordpress.mdx Localization changed, will be marked as complete.
pt-br/guides/cms/prismic.mdx Localization changed, will be marked as complete.
pt-br/guides/cms/sanity.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/apostrophecms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/builderio.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/buttercms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/caisy.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/cloudcannon.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/contentful.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/cosmic.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/craft-cms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/craft-cross-cms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/crystallize.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/datocms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/decap-cms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/directus.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/drupal.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/flotiq.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/frontmatter-cms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/ghost.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/gitcms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/hashnode.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/hygraph.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/keystatic.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/keystonejs.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/kontent-ai.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/microcms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/optimizely.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/payload.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/preprcms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/prismic.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/sanity.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/sitecore.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/sitepins.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/spinal.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/statamic.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/storyblok.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/strapi.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/studiocms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/tina-cms.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/umbraco.mdx Localization changed, will be marked as complete.
zh-cn/guides/cms/wordpress.mdx Localization changed, will be marked as complete.
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.

@sarah11918 sarah11918 changed the title [cms guides] update nav component logic [i18nIgnore] update CMS nav component logic Dec 5, 2025
@sarah11918 sarah11918 added site improvement Some thing that improves the website functionality - ask @delucis for help! consistency/formatting Standardizing without changing docs content e.g. indenting, lists etc. labels Dec 5, 2025
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

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

This was a lot of changes! But everything looks good to me, well done! 🙌🏽

I don't think we actually use logic depending on slug anymore for any of these guides? If not, then a followup PR could remove the slug property from every guide, of every kind.

You mean stub not slug, right? If so, I don't have the history so I'm not sure when/how this was used. But, yeah, I think this is no longer used and this is safe to remove!

@sarah11918
Copy link
Copy Markdown
Member Author

You mean stub not slug, right?

D'oh, I do mean stub! Once upon a time, we displayed a different layout if a guide was considered a "stub" -- it had a big note that said, "This is just a stub! You can contribute to it!"

image

I think we care a lot less about that now 😅

@sarah11918 sarah11918 merged commit cb317e7 into main Dec 5, 2025
10 checks passed
@sarah11918 sarah11918 deleted the cms-nav-update branch December 5, 2025 21:43
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request Dec 13, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request Dec 16, 2025
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

consistency/formatting Standardizing without changing docs content e.g. indenting, lists etc. i18n Anything to do with internationalization & translation efforts - ask @YanThomas for help! site improvement Some thing that improves the website functionality - ask @delucis for help!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants