Skip to content

Commit

Permalink
recordkit: Add sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-cain13 committed May 7, 2024
1 parent efc703c commit 12d5a5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions recordkit/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ export default defineConfig({
title: "RecordKit",
description: "Recording SDK for macOS apps",
base: '/recordkit/',
sitemap: {
hostname: 'https://nonstrict.eu/recordkit/',
transformItems: (items) => {
// DocC doesn't generate a sitemap, so at least reference the Swift API docs here
items.push({url: 'https://nonstrict.eu/recordkit/api/swift/documentation/recordkit/'})
return items
}
},
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
Expand Down

0 comments on commit 12d5a5f

Please sign in to comment.