1.0.0 • Published 11 months ago
sanity-plugin-sitemap v1.0.0
sanity-plugin-sitemap
This is a Sanity Studio v3 plugin.
Installation
npm install sanity-plugin-sitemap
Usage
Add it as a plugin in sanity.config.ts
(or .js):
import {defineConfig} from 'sanity'
import {sitemap} from 'sanity-plugin-sanity-sitemap'
export default defineConfig({
//...
plugins: [sitemap({pages : [*ADD LIST OF YOUR PAGES HERE*]})],
})
License
MIT © Suman Chapai
Develop & test
This plugin uses @sanity/plugin-kit with default configuration for build & watch scripts.
See Testing a plugin in Sanity Studio on how to run this plugin with hotreload in the studio.
License
MIT © Frikk Jarl & Suman Chapai
Release new version
Run "CI & Release" workflow. Make sure to select the main branch and check "Release new version".
Semantic release will only release on configured branches, so it is safe to run release on any branch.
1.0.0
11 months ago