Skip to content

i18n(fr): update config-reference/features.mdx#248

Merged
Adammatthiesen merged 1 commit into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-config-reference/features
Mar 19, 2026
Merged

i18n(fr): update config-reference/features.mdx#248
Adammatthiesen merged 1 commit into
withstudiocms:mainfrom
ArmandPhilippot:i18n/fr-update-config-reference/features

Conversation

@ArmandPhilippot
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot commented Mar 18, 2026

Description

Adds changes from #236 to the French translation of config-reference/features.mdx.

Summary by CodeRabbit

Release Notes

  • New Features

    • Added API configuration group with apiDocs flag to control API documentation availability (enabled by default).
  • Documentation

    • Cache configuration lifetime now uses Duration type instead of strings.
    • Updated configuration reference and examples to reflect the changes.

@ArmandPhilippot ArmandPhilippot requested a review from a team as a code owner March 18, 2026 20:48
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 18, 2026

📝 Walkthrough

Walkthrough

French configuration reference documentation updated to reflect SDK cache configuration changes from string-based to Duration-type lifetimes and introduction of a new API configuration group with apiDocs flag.

Changes

Cohort / File(s) Summary
French Configuration Documentation
src/content/docs/fr/config-reference/features.mdx
Updates SDK cacheConfig.lifetime type from string to Duration with new import; adds new top-level api configuration group featuring apiDocs boolean flag; revises examples and documentation blocks to reflect Duration-based configuration.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

i18n

Suggested reviewers

  • Adammatthiesen
  • dreyfus92

Poem

🐰 Through French paths we hop and bound,
Where configs fresh and new are found,
Duration's strength now takes the stage,
API docs bloom on feature's page,
Translations thrive with every change! ✨

🚥 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 change: updating the French translation of the config-reference/features.mdx file.
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
📝 Coding Plan
  • Generate coding plan for human review comments

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.

Tip

You can customize the tone of the review comments and chat replies.

Configure the tone_instructions setting to customize the tone of the review comments and chat replies. For example, you can set the tone to Act like a strict teacher, Act like a pirate and more.

@studiocms-no-reply
Copy link
Copy Markdown
Member

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
fr/config-reference/features.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.

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: 1

🤖 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/fr/config-reference/features.mdx`:
- Around line 100-109: The Duration import is placed after the // ---cut---
marker causing inconsistent rendered output; move the import for Duration
(import { Duration } from 'effect') to appear before the // ---cut--- line
alongside defineStudioCMSConfig so that Duration is hidden consistently like in
the first SDK example and the rest of the code (defineStudioCMSConfig and
features.sdk) remains after the cut.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9be985e7-8135-4857-9d4c-6c7c50adf751

📥 Commits

Reviewing files that changed from the base of the PR and between cf9dade and c492e23.

📒 Files selected for processing (1)
  • src/content/docs/fr/config-reference/features.mdx

Comment thread src/content/docs/fr/config-reference/features.mdx
@Adammatthiesen Adammatthiesen merged commit 042b8d0 into withstudiocms:main Mar 19, 2026
8 checks passed
@ArmandPhilippot ArmandPhilippot deleted the i18n/fr-update-config-reference/features branch March 19, 2026 11:30
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