Skip to content

Beta.22 docs#150

Merged
Adammatthiesen merged 13 commits into
mainfrom
beta.22
Jul 31, 2025
Merged

Beta.22 docs#150
Adammatthiesen merged 13 commits into
mainfrom
beta.22

Conversation

@Adammatthiesen
Copy link
Copy Markdown
Member

@Adammatthiesen Adammatthiesen commented Jul 31, 2025

TODO Before final merge (after release has been done):

  • update the following to true
  • Update the following to their released versions:

    docs/package.json

    Lines 25 to 32 in 1664ef6

    "studiocms": "https://pkg.pr.new/withstudiocms/studiocms@35664a7",
    "@studiocms/blog": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/blog@35664a7",
    "@studiocms/cloudinary-image-service": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/cloudinary-image-service@35664a7",
    "@studiocms/devapps": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/devapps@35664a7",
    "@studiocms/html": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/html@35664a7",
    "@studiocms/markdoc": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/markdoc@35664a7",
    "@studiocms/md": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/md@35664a7",
    "@studiocms/mdx": "https://pkg.pr.new/withstudiocms/studiocms/@studiocms/mdx@35664a7",

Summary by CodeRabbit

Summary by CodeRabbit

  • New Features

    • Added official documentation and package catalog entries for new rendering plugins: @studiocms/md (Markdown) and @studiocms/html (HTML).
    • Introduced a new upgrade guide for version 0.1.0-beta.22, outlining breaking changes, new features, and bug fixes.
    • Updated documentation to reflect new rendering plugin requirements and configuration.
  • Bug Fixes

    • Corrected and updated GitHub URLs in package catalog entries for several plugins.
  • Documentation

    • Expanded and clarified plugin documentation, including requirements and configuration examples.
    • Added explanatory notes and asides to improve clarity on rendering system and plugin dependencies.
    • Updated references to deprecated packages and removed outdated sidebar badges.
  • Chores

    • Updated dependency versions and locked key packages for consistency.
    • Improved internal configuration for documentation generation and dependency management.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jul 31, 2025

Walkthrough

This update introduces new documentation and plugin support for @studiocms/md and @studiocms/html, updates multiple package references to use scoped names and commit-based URLs, and revises documentation to reflect new rendering plugin requirements and virtual module changes. Several configuration and metadata files were updated or extended, and badges were adjusted or removed across documentation.

Changes

Cohort / File(s) Change Summary
Sidebar & Plugin Documentation Expansion
astro.config.mts, typedoc.config.ts, src/content/docs/en/package-catalog/studiocms-plugins/studiocms-html.mdx, src/content/docs/en/package-catalog/studiocms-plugins/studiocms-md.mdx, src/content/package-catalog/studiocms-html.json, src/content/package-catalog/studiocms-md.json
Added sidebar entries and documentation for new plugins @studiocms/md and @studiocms/html; updated TypeDoc config to generate docs for these; added corresponding package catalog entries.
Package Metadata & Dependency Updates
package.json, studiocms, knip.config.ts, ec.config.mjs
Updated dependencies to commit-based URLs, added new @studiocms packages, locked vite version, updated TypeScript and Astro dependencies, and extended ignored dependencies and error codes.
Documentation: Rendering System & Plugin Requirements
src/content/docs/en/start-here/getting-started.mdx, src/content/docs/en/utils/rendering.mdx
Added new section and aside explaining the requirement for at least one rendering plugin, with configuration examples and informational notes.
Documentation: Virtual Modules & API Routes
src/content/docs/en/how-it-works/index.mdx
Updated documentation to reflect new virtual module names (component-registry), removed deprecated modules, and simplified API route documentation.
Documentation: SDK and Effects
src/content/docs/en/how-it-works/sdk.mdx
Removed explicit environment provision from SDK Effect example code.
Documentation: New Upgrade Guide
src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-22.mdx
Added a new upgrade guide for version 0.1.0-beta.22, detailing breaking changes, new features, and bug fixes.
Documentation: Plugin Usage Requirements
src/content/docs/en/package-catalog/studiocms-plugins/studiocms-blog.mdx, src/content/docs/en/package-catalog/studiocms-plugins/studiocms-markdoc.mdx, src/content/docs/en/package-catalog/studiocms-plugins/studiocms-mdx.mdx
Updated documentation to include asides noting required dependencies on @studiocms/md for certain plugins.
Documentation: Formatting and Badge Adjustments
src/content/docs/en/config-reference/features.mdx, src/content/docs/en/config-reference/index.mdx, src/content/docs/en/config-reference/locale.mdx, src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-21.mdx, src/content/docs/en/how-it-works/cli.mdx, src/content/docs/en/how-it-works/effect.mdx, src/content/docs/en/plugins/index.mdx, src/content/docs/en/start-here/configuration.mdx, src/content/docs/en/start-here/environment-variables.mdx
Removed or adjusted sidebar badges and formatting in various documentation files.
Package Catalog Metadata Updates
src/content/package-catalog/astrojs-web-vitals.json, src/content/package-catalog/studiocms-blog.json, src/content/package-catalog/studiocms-cloudinary-image-service.json, src/content/package-catalog/studiocms-devapps.json, src/content/package-catalog/studiocms-markdoc.json, src/content/package-catalog/studiocms-mdx.json
Updated descriptions and GitHub URLs in package catalog metadata files to reflect new paths, deprecation status, or corrections.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant StudioCMSConfig
    participant PluginHTML
    participant PluginMD

    User->>StudioCMSConfig: Import and configure plugins
    StudioCMSConfig->>PluginHTML: Register HTML renderer
    StudioCMSConfig->>PluginMD: Register Markdown renderer
    StudioCMSConfig-->>User: Plugins enabled for rendering
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~18 minutes

Possibly related PRs

Suggested reviewers

  • louisescher
  • dreyfus92

Poem

A whisk of code, a hop, a bound,
New plugins in the docs are found!
With Markdown, HTML, and more,
Our rendering system starts to soar.
Badges hop away, configs align—
This bunny’s proud of every line!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0d6f4c2 and 7e017f4.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (6)
  • package.json (2 hunks)
  • src/content/docs/en/config-reference/features.mdx (0 hunks)
  • src/content/package-catalog/studiocms-html.json (1 hunks)
  • src/content/package-catalog/studiocms-md.json (1 hunks)
  • src/util/contributors.config.ts (3 hunks)
  • studiocms (1 hunks)
💤 Files with no reviewable changes (1)
  • src/content/docs/en/config-reference/features.mdx
🚧 Files skipped from review as they are similar to previous changes (4)
  • studiocms
  • src/content/package-catalog/studiocms-html.json
  • package.json
  • src/content/package-catalog/studiocms-md.json
🧰 Additional context used
🧠 Learnings (3)
📓 Common learnings
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.
📚 Learning: in the withstudiocms/docs repository, documentation urls in the package-catalog may maintain legacy ...
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

Applied to files:

  • src/util/contributors.config.ts
📚 Learning: in the withstudiocms/docs repository, when reviewing french translation files, maintain consistency ...
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx:13-15
Timestamp: 2025-07-24T11:57:15.225Z
Learning: In the withstudiocms/docs repository, when reviewing French translation files, maintain consistency with the English version even if it means keeping unused imports. Structural parity between language versions is prioritized over removing unused code.

Applied to files:

  • src/util/contributors.config.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Run Starlight Link Check
🔇 Additional comments (3)
src/util/contributors.config.ts (3)

36-40: LGTM! Core package paths updated correctly.

The new paths correctly reflect the repository restructuring to include the root README.md, updated playground path, and the new scoped studiocms package location.


64-69: LGTM! Devapps paths updated with proper scoped naming.

The addition of the scoped @studiocms/devapps/ path alongside the legacy path ensures proper contributor attribution during the package migration.


85-92: LGTM! Plugin paths comprehensively updated with new scoped packages.

The new scoped package paths correctly reflect the expanded plugin ecosystem, including the new rendering plugins (@studiocms/md, @studiocms/html) and image service plugin (@studiocms/cloudinary-image-service) while maintaining the established @studiocms/ naming convention.

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch beta.22

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Adammatthiesen Adammatthiesen changed the title a start to next version's docs [WIP] Beta.22 docs Jul 31, 2025
- Added new upgrade guide for version 0.1.0-beta.22.
- Introduced new HTML and MD plugins with installation instructions.
- Removed outdated badges from various documentation pages.
- Updated GitHub URLs for several plugins to reflect new package structure.
- Enhanced rendering documentation with additional notes on required plugins.
- Added aside notes in relevant sections to clarify plugin dependencies.
- Cleaned up code examples and improved formatting across multiple files.
@studiocms-no-reply
Copy link
Copy Markdown
Member

studiocms-no-reply commented Jul 31, 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/config-reference/features.mdx Source changed, localizations will be marked as outdated.
en/config-reference/index.mdx Source changed, localizations will be marked as outdated.
en/config-reference/locale.mdx Source changed, localizations will be marked as outdated.
en/guides/upgrade/version-guides/0-1-0-beta-21.mdx Source changed, localizations will be marked as outdated.
en/guides/upgrade/version-guides/0-1-0-beta-22.mdx Localization added, will be marked as complete.
en/how-it-works/cli.mdx Source changed, localizations will be marked as outdated.
en/how-it-works/effect.mdx Source changed, localizations will be marked as outdated.
en/how-it-works/index.mdx Source changed, localizations will be marked as outdated.
en/how-it-works/sdk.mdx Source changed, localizations will be marked as outdated.
en/package-catalog/studiocms-plugins/studiocms-blog.mdx Source changed, localizations will be marked as outdated.
en/package-catalog/studiocms-plugins/studiocms-html.mdx Localization added, will be marked as complete.
en/package-catalog/studiocms-plugins/studiocms-markdoc.mdx Source changed, localizations will be marked as outdated.
en/package-catalog/studiocms-plugins/studiocms-md.mdx Localization added, will be marked as complete.
en/package-catalog/studiocms-plugins/studiocms-mdx.mdx Source changed, localizations will be marked as outdated.
en/plugins/index.mdx Source changed, localizations will be marked as outdated.
en/start-here/configuration.mdx Source changed, localizations will be marked as outdated.
en/start-here/environment-variables.mdx Source changed, localizations will be marked as outdated.
en/start-here/getting-started.mdx Source changed, localizations will be marked as outdated.
en/utils/rendering.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.

@Adammatthiesen Adammatthiesen changed the title [WIP] Beta.22 docs Beta.22 docs Jul 31, 2025
@Adammatthiesen Adammatthiesen marked this pull request as ready for review July 31, 2025 04:33
@Adammatthiesen Adammatthiesen requested a review from a team as a code owner July 31, 2025 04:33
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 5

🧹 Nitpick comments (14)
src/content/docs/en/package-catalog/studiocms-plugins/studiocms-blog.mdx (2)

14-14: Import list grows; drop unused imports to avoid dead code

Steps, Tabs, and TabItem are still imported but not referenced anywhere in the document. Removing unused component imports eliminates dead code and tree-shaking overhead.

-import { Steps, Tabs, TabItem, Aside } from '@astrojs/starlight/components';
+import { Aside } from '@astrojs/starlight/components';

18-20: Helpful dependency aside – consider linking to setup docs

The added aside clearly states the new dependency, great. You could make it even more actionable by linking to the @studiocms/md catalog page so readers can jump straight to installation instructions.

-This plugin requires the `@studiocms/md` plugin.
+This plugin requires the [`@studiocms/md`](../studiocms-md/) plugin.
src/content/docs/en/package-catalog/studiocms-plugins/studiocms-mdx.mdx (1)

14-15: Unused imports – will trigger build-time lint errors

Steps, Tabs, and TabItem are imported but never used in this document.
Astro/Type-aware MDX pipelines generally treat unused imports as errors/warnings.

-import { Steps, Tabs, TabItem, Aside } from '@astrojs/starlight/components';
+import { Aside } from '@astrojs/starlight/components';

Remove or use the extra components.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-markdoc.mdx (1)

14-15: Same unused-import issue as above

Steps, Tabs, and TabItem are imported but not referenced.

Apply the same trim-down as suggested for the MDX doc.

src/content/package-catalog/studiocms-html.json (1)

8-9: released flag still false – remember to flip before merge

The PR objectives mention setting released: true once Beta 22 ships.
Add a TODO comment or create a follow-up task so this doesn’t slip through.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-md.mdx (2)

16-20: Prefer “Markdown” over “MD” for clarity

Line 18 introduces the plugin as “MD Support”. Throughout the docs we refer to the format as “Markdown”, not “MD”. Consistency helps searchability and avoids confusion with MDX.


41-60: Type definitions are duplicated – consider extracting a shared SanitizeOptions

Both flavor definitions embed an identical sanitize object. Documenting a single type SanitizeOptions = { … } and referencing it in each flavor (sanitize: SanitizeOptions) reduces doc drift when the shape changes.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-html.mdx (2)

18-20: Minor grammar – “HTML support”, lower-case “support”

HTML SupportHTML support for standard capitalization.


41-54: Typo in type alias

type htmlOptionstype HtmlOptions (Pascal-case matches exported type in the package).

-type htmlOptions = {
+type HtmlOptions = {
package.json (1)

88-92: pnpm.overrides forces Vite 6 – add a comment explaining the risk

Add a short rationale (“Required by @studiocms/ui which already depends on Vite 6”) so future maintainers know why this override exists and when it can be removed.

src/content/docs/en/start-here/getting-started.mdx (2)

7-9: Badge layout breaks on narrow viewports

The new sidebar badge (“Updated”) pushes the title onto two lines at ≤320 px width. Consider variant='note' size='sm' or moving the badge into the page body.


222-248: Rendering-plugin section is great – add MDX code sample parity

We show a StudioCMS config but some users configure only via astro.config.mjs. A parallel snippet mirroring the earlier Astro-integrations example would avoid ambiguity.

src/content/docs/en/how-it-works/index.mdx (2)

42-44: Link to migration guide for new component registry

The addition of studiocms:component-registry is significant; a link to the Beta 22 upgrade guide section would help readers migrate custom components quickly.


113-115: Parameterised auth routes: explicitly list supported providers

Replacing hard-coded routes with [provider] is concise but hides the allowed values. Append a short note “(github, discord, google, auth0 today)” to keep discoverability.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 489a987 and 0d6f4c2.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (33)
  • astro.config.mts (1 hunks)
  • ec.config.mjs (2 hunks)
  • knip.config.ts (1 hunks)
  • package.json (2 hunks)
  • src/content/docs/en/config-reference/features.mdx (2 hunks)
  • src/content/docs/en/config-reference/index.mdx (0 hunks)
  • src/content/docs/en/config-reference/locale.mdx (0 hunks)
  • src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-21.mdx (0 hunks)
  • src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-22.mdx (1 hunks)
  • src/content/docs/en/how-it-works/cli.mdx (0 hunks)
  • src/content/docs/en/how-it-works/effect.mdx (0 hunks)
  • src/content/docs/en/how-it-works/index.mdx (2 hunks)
  • src/content/docs/en/how-it-works/sdk.mdx (1 hunks)
  • src/content/docs/en/package-catalog/studiocms-plugins/studiocms-blog.mdx (1 hunks)
  • src/content/docs/en/package-catalog/studiocms-plugins/studiocms-html.mdx (1 hunks)
  • src/content/docs/en/package-catalog/studiocms-plugins/studiocms-markdoc.mdx (1 hunks)
  • src/content/docs/en/package-catalog/studiocms-plugins/studiocms-md.mdx (1 hunks)
  • src/content/docs/en/package-catalog/studiocms-plugins/studiocms-mdx.mdx (1 hunks)
  • src/content/docs/en/plugins/index.mdx (0 hunks)
  • src/content/docs/en/start-here/configuration.mdx (0 hunks)
  • src/content/docs/en/start-here/environment-variables.mdx (0 hunks)
  • src/content/docs/en/start-here/getting-started.mdx (2 hunks)
  • src/content/docs/en/utils/rendering.mdx (1 hunks)
  • src/content/package-catalog/astrojs-web-vitals.json (1 hunks)
  • src/content/package-catalog/studiocms-blog.json (1 hunks)
  • src/content/package-catalog/studiocms-cloudinary-image-service.json (1 hunks)
  • src/content/package-catalog/studiocms-devapps.json (1 hunks)
  • src/content/package-catalog/studiocms-html.json (1 hunks)
  • src/content/package-catalog/studiocms-markdoc.json (1 hunks)
  • src/content/package-catalog/studiocms-md.json (1 hunks)
  • src/content/package-catalog/studiocms-mdx.json (1 hunks)
  • studiocms (1 hunks)
  • typedoc.config.ts (3 hunks)
💤 Files with no reviewable changes (8)
  • src/content/docs/en/config-reference/locale.mdx
  • src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-21.mdx
  • src/content/docs/en/start-here/configuration.mdx
  • src/content/docs/en/plugins/index.mdx
  • src/content/docs/en/how-it-works/effect.mdx
  • src/content/docs/en/config-reference/index.mdx
  • src/content/docs/en/start-here/environment-variables.mdx
  • src/content/docs/en/how-it-works/cli.mdx
🧰 Additional context used
🧠 Learnings (19)
📓 Common learnings
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.
src/content/package-catalog/studiocms-mdx.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/package-catalog/studiocms-cloudinary-image-service.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/package-catalog/studiocms-devapps.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

studiocms (2)

Learnt from: ArmandPhilippot
PR: #149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx:13-15
Timestamp: 2025-07-24T11:57:15.225Z
Learning: In the withstudiocms/docs repository, when reviewing French translation files, maintain consistency with the English version even if it means keeping unused imports. Structural parity between language versions is prioritized over removing unused code.

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/package-catalog/studiocms-blog.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/en/utils/rendering.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

astro.config.mts (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/package-catalog/studiocms-html.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-md.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/package-catalog/astrojs-web-vitals.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

package.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-22.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/package-catalog/studiocms-markdoc.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

typedoc.config.ts (2)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

Learnt from: ArmandPhilippot
PR: #149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx:13-15
Timestamp: 2025-07-24T11:57:15.225Z
Learning: In the withstudiocms/docs repository, when reviewing French translation files, maintain consistency with the English version even if it means keeping unused imports. Structural parity between language versions is prioritized over removing unused code.

src/content/package-catalog/studiocms-md.json (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-html.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/en/start-here/getting-started.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

src/content/docs/en/how-it-works/index.mdx (1)

Learnt from: ArmandPhilippot
PR: #140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.

🔇 Additional comments (29)
src/content/package-catalog/astrojs-web-vitals.json (1)

4-4: Verify new package name – potential typo/inconsistency

The replacement package is referenced as @withstudiocms/web-vitals, whereas the rest of the code-base (e.g. @studiocms/html, @studiocms/md) uses the @studiocms/… scope.
Double-check that the published package is indeed scoped to @withstudiocms/*; if it is actually @studiocms/web-vitals, update this description (and any related docs/links) to avoid broken install commands.

knip.config.ts (1)

7-8: LGTM – new plugins correctly ignored

Adding @studiocms/html and @studiocms/md to ignoreDependencies keeps Knip noise down while these packages remain dev-only. No further action needed.

studiocms (1)

1-1: Verify the submodule SHA maps to the intended Beta.22 tag
The pointer now references commit 35664a7. Please double-check that:

  1. This commit is the exact SHA on the studiocms repo that corresponds to the published Beta.22 release tag (or another immutable release reference).
  2. CI and downstream consumers can fetch this commit (i.e., it’s on a public branch or tag, not an ephemeral feature branch).

If a release tag exists, consider updating the submodule to that tag instead of a raw SHA for clearer traceability.

src/content/package-catalog/studiocms-mdx.json (1)

6-6: Update remaining legacy path in contributors.config.ts

A repo scan found one lingering reference to the old underscore-based folder. Please update it to the new scoped path:

• File: src/util/contributors.config.ts (line 79)

- 'packages/studiocms_mdx/',
+ 'packages/@studiocms/mdx/',

This will ensure all links use the updated directory structure.

⛔ Skipped due to learnings
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx:13-15
Timestamp: 2025-07-24T11:57:15.225Z
Learning: In the withstudiocms/docs repository, when reviewing French translation files, maintain consistency with the English version even if it means keeping unused imports. Structural parity between language versions is prioritized over removing unused code.
src/content/package-catalog/studiocms-blog.json (1)

6-6: Update blog package path in contributors.config.ts

A remaining reference to the old directory needs updating:

  • File: src/util/contributors.config.ts (line 78)
    Replace:
    - 'packages/studiocms_blog/',
    + 'packages/@studiocms/blog/',
⛔ Skipped due to learnings
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#140
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-19.mdx:24-24
Timestamp: 2025-07-21T12:16:32.374Z
Learning: In the withstudiocms/docs repository, documentation URLs in the package-catalog may maintain legacy path names for stability and consistency across language versions, even when the actual package names have been updated. Always verify that corresponding files exist before flagging URLs as broken.
Learnt from: ArmandPhilippot
PR: withstudiocms/docs#149
File: src/content/docs/fr/guides/upgrade/version-guides/0-1-0-beta-21.mdx:13-15
Timestamp: 2025-07-24T11:57:15.225Z
Learning: In the withstudiocms/docs repository, when reviewing French translation files, maintain consistency with the English version even if it means keeping unused imports. Structural parity between language versions is prioritized over removing unused code.
src/content/package-catalog/studiocms-cloudinary-image-service.json (1)

5-7: docsLink slug mismatch – please double-check the path

The JSON entry is for @studiocms/cloudinary-image-service, yet docsLink points to
/package-catalog/studiocms-plugins/studiocms-cloudinary-js/.

Unless the documentation really lives under the cloudinary-js slug (legacy naming), this will render a broken link in the catalog UI.

If the slug is historical, add an inline comment explaining the divergence so future maintainers don’t “fix” it accidentally.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-mdx.mdx (1)

20-22: Good call-out!

The <Aside> block clearly states the new hard dependency on @studiocms/md. Nice addition.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-markdoc.mdx (1)

20-22: Dependency note looks good

Clear communication of the @studiocms/md prerequisite.

src/content/docs/en/how-it-works/sdk.mdx (1)

28-34: Sample code may no longer run – environment no longer provided

Previously the snippet explicitly called .pipe(Effect.provide(SDKCore.Default)).
With that removed, runSDK(pagesEffect) must supply an SDKCore layer implicitly. If runSDK doesn’t auto-provide, newcomers will hit an unhelpful runtime error.

Consider either:

  1. Restoring the explicit provide, or
  2. Adding a short note that runSDK wires the environment for you.
src/content/docs/en/config-reference/features.mdx (1)

217-217: Ensure consistent documentation structure.

The JSX comment closure properly ends the commented section, but the large commented block may confuse users about available configuration options.

astro.config.mts (1)

293-312: LGTM! New TypeDoc sidebar entries follow established patterns.

The additions of @studiocms/md, @studiocms/html, and @withstudiocms/config-utils to the TypeDoc sidebar are well-structured and consistent with existing entries. All entries are properly configured with appropriate labels, directory paths, and collapsed state.

src/content/docs/en/utils/rendering.mdx (2)

12-12: LGTM! Proper import for the Aside component.

The import statement correctly imports the Aside component from @astrojs/starlight/components for use in the documentation.


18-21: Excellent addition of clarifying information.

The aside block provides crucial information about renderer plugin requirements, which helps users understand the new modular architecture. The content is clear and references the appropriate plugins (@studiocms/md, @studiocms/html).

src/content/package-catalog/studiocms-md.json (1)

1-10: LGTM! Well-structured package catalog entry.

The JSON metadata for @studiocms/md is properly structured with all required fields. The "released": false flag correctly indicates this is preparation for an upcoming release, which aligns with the Beta.22 documentation objectives.

ec.config.mjs (3)

4-4: LGTM! TypeScript import enables better type safety.

Adding the TypeScript import allows the use of TypeScript enums instead of magic numbers in the configuration.


15-15: Good addition of new error codes.

Adding error codes 2307 and 2379 to the recognized errors list will help with TypeScript error handling in the documentation examples.


18-21: Excellent improvement using TypeScript enums.

Replacing magic numbers with TypeScript enum values (ts.ModuleResolutionKind.Bundler, ts.ScriptTarget.ESNext, etc.) improves code readability and maintainability. The simplified lib array is also appropriate.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-md.mdx (1)

24-37: Installation step omits the -D flag used elsewhere

Most integration docs add plugins as dev-dependencies (pnpm add -D …). Decide whether runtime or dev scope is intended and document it consistently across all plugin pages.

src/content/docs/en/package-catalog/studiocms-plugins/studiocms-html.mdx (1)

24-37: Consistent config paths

The code block header says studiocms.config.mjs but the import in line 29 uses defineStudioCMSConfig (good) whereas earlier docs still show studiocms.config.mjs with default export only. Make sure both plugin pages follow the same pattern.

package.json (1)

38-45: Potential Vite/ Astro incompatibility

Astro 5 pins Vite 5.*, yet the override below forces ^6.3.4. Verify that Astro 5.12.6 works with Vite 6; otherwise local dev & build will break.

src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-22.mdx (4)

1-17: LGTM! Well-structured frontmatter and imports.

The frontmatter properly configures the upgrade guide with appropriate metadata, NEW badge, and correct ordering. The component imports align with the document structure.


19-30: Clear documentation of breaking changes with good migration guidance.

The breaking changes are well-documented and provide users with clear understanding of what needs to be updated. The section effectively communicates the architectural shift toward modular rendering plugins.


31-38: LGTM! Comprehensive overview of new features.

The new features section effectively highlights the improvements and architectural enhancements introduced in this release.


39-43: LGTM! Clear documentation of bug fixes.

The bug fixes section concisely documents the key improvements and corrections made in this release.

typedoc.config.ts (5)

59-65: LGTM! New plugin declarations align with architectural changes.

The addition of TypeDoc plugins for the new @studiocms/md, @studiocms/html, and @withstudiocms/config-utils packages is consistent with the modular plugin architecture introduced in beta.22.


255-277: LGTM! Package path updates follow scoped naming conventions.

The updates from flat naming to scoped package names (e.g., @studiocms/devapps) improve consistency and follow standard npm scoped package conventions.

Also applies to: 288-302


240-247: LGTM! Entry points reflect component registry refactoring.

The addition of src/componentRegistry/ entry points aligns with the architectural changes documented in the upgrade guide, where studiocms:component-proxy is replaced by the new component registry system.


311-365: LGTM! Well-structured configurations for new plugins.

The TypeDoc configurations for the new plugins follow established patterns and include comprehensive entry points. The structure is consistent with existing plugin configurations.


303-309: LGTM! Explicit entry points improve MDX plugin documentation.

The addition of explicit entry points for the @studiocms/mdx package ensures comprehensive documentation coverage for this plugin.

Comment thread package.json Outdated
Comment thread src/content/docs/en/config-reference/features.mdx Outdated
Comment thread src/content/docs/en/guides/upgrade/version-guides/0-1-0-beta-22.mdx
Comment thread src/content/package-catalog/studiocms-devapps.json
Comment thread src/content/package-catalog/studiocms-markdoc.json
@Adammatthiesen Adammatthiesen merged commit 6b38c77 into main Jul 31, 2025
8 checks passed
@Adammatthiesen Adammatthiesen deleted the beta.22 branch July 31, 2025 19:44
ArmandPhilippot added a commit to ArmandPhilippot/studiocms-docs that referenced this pull request Aug 5, 2025
ArmandPhilippot added a commit to ArmandPhilippot/studiocms-docs that referenced this pull request Aug 5, 2025
dreyfus92 pushed a commit that referenced this pull request Aug 5, 2025
* i18n(fr): update `upgrade/versions-guides`

See #150 and #151

* fix OAuth case
dreyfus92 added a commit that referenced this pull request Aug 5, 2025
See #150 and #151

Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
ArmandPhilippot added a commit to ArmandPhilippot/studiocms-docs that referenced this pull request Aug 6, 2025
ArmandPhilippot added a commit to ArmandPhilippot/studiocms-docs that referenced this pull request Aug 6, 2025
ArmandPhilippot added a commit to ArmandPhilippot/studiocms-docs that referenced this pull request Aug 6, 2025
dreyfus92 pushed a commit that referenced this pull request Aug 6, 2025
dreyfus92 added a commit that referenced this pull request Aug 6, 2025
See #150

Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
dreyfus92 added a commit that referenced this pull request Aug 6, 2025
See #150 and #151

Co-authored-by: Paul Valladares <85648028+dreyfus92@users.noreply.github.com>
ArmandPhilippot added a commit to ArmandPhilippot/studiocms-docs that referenced this pull request Aug 7, 2025
dreyfus92 pushed a commit that referenced this pull request Aug 7, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Aug 11, 2025
1 task
@coderabbitai coderabbitai Bot mentioned this pull request Aug 25, 2025
1 task
@coderabbitai coderabbitai Bot mentioned this pull request Sep 27, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants