diff options
author | delucis | 2024-01-15 09:26:21 +0000 |
---|---|---|
committer | fredkbot | 2024-01-15 09:26:21 +0000 |
commit | d9005aa52322380ed322e5e57011fde74e566acb (patch) | |
tree | e73002d6e96cdc8f9e584405267f7c7f825274fb | |
parent | 7637708b1e851cf4b07a2af4dd943480e9d49bf6 (diff) | |
download | IT.starlight-d9005aa52322380ed322e5e57011fde74e566acb.tar.gz IT.starlight-d9005aa52322380ed322e5e57011fde74e566acb.tar.bz2 IT.starlight-d9005aa52322380ed322e5e57011fde74e566acb.zip |
[ci] format
-rw-r--r-- | docs/src/content/docs/zh-cn/reference/frontmatter.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/src/content/docs/zh-cn/reference/frontmatter.md b/docs/src/content/docs/zh-cn/reference/frontmatter.md index af62937e..c6551fcd 100644 --- a/docs/src/content/docs/zh-cn/reference/frontmatter.md +++ b/docs/src/content/docs/zh-cn/reference/frontmatter.md @@ -35,7 +35,6 @@ description: 了解更多关于此项目的信息。 覆盖页面的slug。有关更多详细信息,请参阅 Astro文档中的 [ "定义自定义slugs"](https://docs.astro.build/zh-cn/guides/content-collections/#定义自定义-slugs) 部分。 - ### `editUrl` **类型:** `string | boolean` @@ -403,7 +402,6 @@ export const collections = { 通过在 `docsSchema()` 选项中设置 `extend` 来使用其他字段扩展 Starlight 的 schema。 值应该是一个 [Zod schema](https://docs.astro.build/zh-cn/guides/content-collections/#用-zod-定义数据类型)。 - 在下面的示例中,我们为 `description` 提供了一个更严格的类型,使其成为必填项,并添加了一个新的可选的 `category` 字段: ```ts {8-13} |