Skip to content

i18n(es): update features.mdx, markdown-remark.mdx & es.json#238

Merged
Adammatthiesen merged 2 commits intomainfrom
es-up-07
Mar 10, 2026
Merged

i18n(es): update features.mdx, markdown-remark.mdx & es.json#238
Adammatthiesen merged 2 commits intomainfrom
es-up-07

Conversation

@dreyfus92
Copy link
Member

@dreyfus92 dreyfus92 commented Mar 10, 2026

Description

  • What does this PR change? Give us a brief description.
    Updates features.mdx, markdown-remark.mdx & es.json

Summary by CodeRabbit

  • Documentation
    • Updated SDK cache docs to use Duration-based lifetime defaults for clarity.
    • Added a new API configuration section with examples and default behaviors.
    • Revised package docs: updated import guidance, removed legacy processor-specific instructions, and clarified usage wording.
    • Improved Spanish localization and sidebar metadata, including a new label for API documentation and an "Actualizado" badge.

@dreyfus92 dreyfus92 requested a review from a team as a code owner March 10, 2026 17:53
@htg-1-studiocms-cloud
Copy link

htg-1-studiocms-cloud bot commented Mar 10, 2026

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
StudioCMS Docs ✅ Done Preview URL 2026-03-10T19:04:38.587Z

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 10, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 14ed39e5-c2e4-4caf-ad77-ef03c3dd51b5

📥 Commits

Reviewing files that changed from the base of the PR and between 20b7416 and 31efa61.

📒 Files selected for processing (2)
  • src/content/docs/es/config-reference/features.mdx
  • src/starlight-sidebar/es.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/starlight-sidebar/es.json

📝 Walkthrough

Walkthrough

Spanish docs updated: SDK cacheConfig lifetime changed from string to Duration (default Duration.minutes(5)); new api / api.apiDocs documentation added; markdown-remark page refactored to use @studiocms/markdown-remark/core and processor content removed; Spanish sidebar translations extended.

Changes

Cohort / File(s) Summary
Spanish Config Reference
src/content/docs/es/config-reference/features.mdx
Changed features.sdk.cacheConfig.lifetime type from string to Duration and default to Duration.minutes(5); added features.api / api.apiDocs docs and examples (imports updated to use Duration).
Spanish Ecosystem Documentation
src/content/docs/es/ecosystem/packages/markdown-remark.mdx
Added frontmatter badge; removed the Processor section; replaced imports/usages from @studiocms/markdown-remark-processor with @studiocms/markdown-remark/core; updated code examples and text.
Sidebar Localization
src/starlight-sidebar/es.json
Updated topic-ecosystem to "Ecosistema y Complementos"; added api-docs key with "Documentación de la API".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested reviewers

  • Adammatthiesen
  • louisescher

Poem

🐰 Saltando entre líneas y configuración,
Cambio a Duration, con nueva dirección.
Docs de API y ecosistema renové,
Imports ajustados, el texto pulí — ¡olé!
🌿🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: localization updates to three specific Spanish documentation and configuration files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch es-up-07

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@studiocms-no-reply
Copy link
Member

studiocms-no-reply commented Mar 10, 2026

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
es/config-reference/features.mdx Localization changed, will be marked as complete.
es/ecosystem/packages/markdown-remark.mdx Localization changed, will be marked as complete.
src/starlight-sidebar/es.json 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.

Copy link
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: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/content/docs/es/config-reference/features.mdx`:
- Line 432: The subheading "#### Usage" in the file should be translated to
Spanish to match the rest of the page; replace the literal heading "#### Usage"
with "#### Uso" (locate the heading text in
src/content/docs/es/config-reference/features.mdx and update the Markdown
heading).

In `@src/starlight-sidebar/es.json`:
- Line 15: Update the sidebar label for the "api-docs" key to match the
idiomatic phrasing used in the docs: change the current value "Documentación de
API" to "documentación de la API" (note the added "la" and the lowercase initial
letter) so the sidebar label and
src/content/docs/es/config-reference/features.mdx stay consistent.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: aadefc41-76a8-4287-83ef-b1eee0ee22db

📥 Commits

Reviewing files that changed from the base of the PR and between 02ebf80 and 20b7416.

📒 Files selected for processing (3)
  • src/content/docs/es/config-reference/features.mdx
  • src/content/docs/es/ecosystem/packages/markdown-remark.mdx
  • src/starlight-sidebar/es.json

@Adammatthiesen Adammatthiesen merged commit be85572 into main Mar 10, 2026
8 checks passed
@Adammatthiesen Adammatthiesen deleted the es-up-07 branch March 10, 2026 23:38
@coderabbitai coderabbitai bot mentioned this pull request Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants