Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/docs/fr/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import ListCard from "~/components/landing/ListCard.astro";
import SplitCard from "~/components/landing/SplitCard.astro";
import { Center } from "studiocms:ui/components";

<Card title="Bienvenue sur StudioCMS" icon="seti:video">
<Youtube id="Ukh3Zb9VjIM" />
<Card title="Démo de StudioCMS" icon='seti:video'>
<video autoplay loop muted playsinline preload="auto" src="https://cdn.studiocms.dev/studiocms-trailer.mp4" />
</Card>

<CardGrid>
Expand Down
11 changes: 7 additions & 4 deletions src/content/docs/fr/start-here/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,24 @@ sidebar:

import { PackageManagers } from 'starlight-package-managers'
import TursoCLI from '~/components/TursoCLI.astro';
import { Aside, Steps, Tabs, TabItem } from '@astrojs/starlight/components';
import { Aside, Steps, Tabs, TabItem, LinkCard } from '@astrojs/starlight/components';
import ReadMore from '~/components/ReadMore.astro';
import { sponsors, SponsorLink } from '~/share-link'

<LinkCard title="Mise à niveau de StudioCMS vers la dernière version" href="/en/guides/upgrade/latest/" description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Incorrect locale in upgrade guide link.

The href attribute currently points to the English path (/en/...) within the French documentation. Update it to the French path /fr/guides/upgrade/latest/.

Apply this diff:

- <LinkCard title="Mise à niveau de StudioCMS vers la dernière version" href="/en/guides/upgrade/latest/" description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" />
+ <LinkCard title="Mise à niveau de StudioCMS vers la dernière version" href="/fr/guides/upgrade/latest/" description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" />
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<LinkCard title="Mise à niveau de StudioCMS vers la dernière version" href="/en/guides/upgrade/latest/" description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !" />
<LinkCard
title="Mise à niveau de StudioCMS vers la dernière version"
href="/fr/guides/upgrade/latest/"
description="Vous souhaitez mettre à niveau vers la version la plus récente ? Regardez ici !"
/>


## C’est parti

Pour commencer à utiliser StudioCMS, vous aurez besoin de :

- Une version de [Node.js prise en charge par Astro](https://docs.astro.build/fr/install-and-setup/#prérequis) (Bun et Deno ne sont pas pris en charge)
- Un projet Astro
- Un fournisseur libSQL ou un serveur libSQL auto-hébergé
- Un fournisseur libSQL ou un [serveur libSQL auto-hébergé][self-hosted-libsql]
- L’intégration StudioCMS

## Préparer votre base de données

StudioCMS utilise `@astrojs/db` pour se connecter à votre base de données libSQL. Vous pouvez utiliser n’importe quel fournisseur libSQL ou serveur libSQL auto-hébergé.
StudioCMS utilise `@astrojs/db` pour se connecter à votre base de données libSQL. Vous pouvez utiliser n’importe quel fournisseur libSQL ou [serveur libSQL auto-hébergé][self-hosted-libsql].

Si vous utilisez la CLI de StudioCMS, vous pouvez ignorer cette étape et utiliser l’interface en ligne de commande pour créer une nouvelle base de données si la CLI de Turso est installée.

Expand Down Expand Up @@ -208,7 +210,7 @@ LibSQL prend en charge HTTP et WebSockets comme protocoles de transport pour un

</Tabs>

Veuillez noter que l’option `site` dans le fichier `astro.config.mjs` est requise pour que StudioCMS fonctionne correctement. Vous pouvez la définir sur l’URL de votre site ou sur une URL temporaire. (c.-à-d. `https://demo.studiocms.xyz/` ou `http://localhost:4321/`)
Veuillez noter que l’option `site` dans le fichier `astro.config.mjs` est requise pour que StudioCMS fonctionne correctement. Vous pouvez la définir sur l’URL de votre site ou sur une URL temporaire. (c.-à-d. `https://demo.studiocms.dev/` ou `http://localhost:4321/`)

<Aside type="note" title="Adaptateur requis">
StudioCMS nécessite un [adaptateur Astro](https://docs.astro.build/fr/guides/on-demand-rendering/#adaptateurs-de-serveur) pour fonctionner correctement. Assurez-vous de définir un adaptateur prenant en charge les routes SSR dans votre fichier `astro.config.mjs`.
Expand Down Expand Up @@ -363,3 +365,4 @@ Apprenez-en plus sur les options de configuration de StudioCMS à l’aide des p
[encryption-key]: /fr/start-here/environment-variables/#clé-de-chiffrement-pour-studiocmsauth
[oauth-environment-variables]: /fr/start-here/environment-variables/#variables-denvironnement-dauthentification-oauth
[auth-config-ref]: /fr/config-reference/dashboard/#authconfig
[self-hosted-libsql]: /fr/guides/database/sqld-server/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Verify alias target path exists.

Please confirm that the target file or directory (src/content/docs/fr/guides/database/sqld-server.mdx) actually exists, as the [self-hosted-libsql] alias points to it.


🏁 Script executed:

#!/bin/bash
# Verify the existence of the self-hosted LibSQL server guide
fd sqld-server.mdx src/content/docs/fr/guides/database

Length of output: 179


🏁 Script executed:

#!/bin/bash
# Verify the presence of the alias target path and related directories
echo "Checking if 'src/content/docs/fr/guides' exists:"
if [ -d src/content/docs/fr/guides ]; then
  echo "  ✔ Exists"
else
  echo "  ✘ Does not exist"
fi

echo "Checking if 'src/content/docs/fr/guides/database' exists:"
if [ -d src/content/docs/fr/guides/database ]; then
  echo "  ✔ Exists"
else
  echo "  ✘ Does not exist"
fi

echo "Searching for any 'sqld-server' directories in the repository:"
fd --color=never -t d sqld-server || echo "  ⚠ No 'sqld-server' directories found"

Length of output: 587


Fix invalid alias target path

The alias [self-hosted-libsql]: /fr/guides/database/sqld-server/ points to a location that doesn’t exist:

src/content/docs/fr/guides – ✔ exists
src/content/docs/fr/guides/database – ✘ missing
• No sqld-server directory found anywhere in the repo

Please correct this by one of the following:

  • Create the database/sqld-server.mdx file (and its parent directory) under src/content/docs/fr/guides
  • Update the alias to point to the correct existing path for your self‑hosted LibSQL guide
🧰 Tools
🪛 LanguageTool

[uncategorized] ~368-~368: Le trait d’union doit être supprimé.
Context: ...config-reference/dashboard/#authconfig [self-hosted-libsql]: /fr/guides/database/sqld-serve...

(MOT_TRAIT_MOT)


[uncategorized] ~368-~368: Les deux-points sont précédés d’une espace insécable.
Context: ...ashboard/#authconfig [self-hosted-libsql]: /fr/guides/database/sqld-server/

(FRENCH_WHITESPACE)


[uncategorized] ~368-~368: Le trait d’union doit être supprimé.
Context: ...elf-hosted-libsql]: /fr/guides/database/sqld-server/

(MOT_TRAIT_MOT)

Loading