From 3899f1a0e7b4d5359a25a5fd1f2e00078b702854 Mon Sep 17 00:00:00 2001 From: Thomas Cristina de Carvalho Date: Fri, 29 Mar 2024 16:26:53 -0400 Subject: [PATCH] Update readme --- .changeset/good-wolves-compare.md | 5 +++++ packages/sanity-studio/README.md | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .changeset/good-wolves-compare.md diff --git a/.changeset/good-wolves-compare.md b/.changeset/good-wolves-compare.md new file mode 100644 index 00000000..81279c4a --- /dev/null +++ b/.changeset/good-wolves-compare.md @@ -0,0 +1,5 @@ +--- +"@tinloof/sanity-studio": major +--- + +The pages plugin list items now render document icon diff --git a/packages/sanity-studio/README.md b/packages/sanity-studio/README.md index af66955d..740e3556 100644 --- a/packages/sanity-studio/README.md +++ b/packages/sanity-studio/README.md @@ -2,7 +2,8 @@ A collection of studio plugins, fields, and components to boost your Sanity studio. -https://github.com/tinloof/sanity-kit/assets/10447155/467e32d2-ded1-47ad-b7f1-85007a941785 + ## Installation @@ -74,7 +75,8 @@ Use the `creatablePages` option to define which schema types can be used to crea When a page is created, it will automatically have the current folder in its pathname. -https://github.com/tinloof/sanity-kit/assets/10447155/bd8efb2b-c0cf-45da-bf9b-8a06be9ee620 + ```tsx import { pages } from "@tinloof/sanity-studio"; @@ -103,7 +105,8 @@ When page creation is enabled, the currently selected `locale` is also used as a Pathnames are automatically validated to be unique accros locales. -https://github.com/tinloof/sanity-kit/assets/10447155/5f6a063d-833c-4e96-8c3b-58e7611f4b43 + ```tsx import { pages } from "@tinloof/sanity-studio"; @@ -197,7 +200,8 @@ export default { The `defineSection` field lets you easily define a new section schema. Used in combination with the `SectionsArrayInput` component, it will render a useful section picker in your Sanity documents. -https://github.com/tinloof/sanity-kit/assets/10447155/6215f0b5-0b6e-44e8-bd52-84f59d8d0304 + #### 1. Create a new section schema