File tree Expand file tree Collapse file tree 4 files changed +24
-13
lines changed
Expand file tree Collapse file tree 4 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 1+ import { GitChangelog , GitChangelogMarkdownSection } from '@nolebase/vitepress-plugin-git-changelog/vite'
12import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
23import { defineConfig } from 'vitepress'
34import { groupIconMdPlugin , groupIconVitePlugin , localIconLoader } from 'vitepress-plugin-group-icons'
45import { version } from '../../packages/core/package.json'
56import { renderMermaidGraphsPlugin } from './mermaid'
67import { transposeTables } from './transposeTables'
7- // import { GitChangelog, GitChangelogMarkdownSection } from '@nolebase/vitepress-plugin-git-changelog/vite'
88
99const ogImage = 'https://kubb.dev/og.png'
1010const title = 'Generate SDKs for all your APIs'
@@ -717,10 +717,10 @@ export default defineConfig({
717717 'kubb.config.js' : localIconLoader ( import . meta. url , '../public/logo.svg' ) ,
718718 } ,
719719 } ) ,
720- // GitChangelog({
721- // repoURL: () => 'https://github.com/kubb-labs/kubb',
722- // }),
723- // GitChangelogMarkdownSection(),
720+ GitChangelog ( {
721+ repoURL : ( ) => 'https://github.com/kubb-labs/kubb' ,
722+ } ) ,
723+ GitChangelogMarkdownSection ( ) ,
724724 ] ,
725725 } ,
726726} )
Original file line number Diff line number Diff line change 1+ import { NolebaseEnhancedReadabilitiesMenu , NolebaseEnhancedReadabilitiesScreenMenu } from '@nolebase/vitepress-plugin-enhanced-readabilities/client'
2+ import { NolebaseGitChangelogPlugin } from '@nolebase/vitepress-plugin-git-changelog/client'
3+ import { NolebaseHighlightTargetedHeading } from '@nolebase/vitepress-plugin-highlight-targeted-heading/client'
14import TwoslashFloatingVue from '@shikijs/vitepress-twoslash/client'
2- import type { EnhanceAppContext } from 'vitepress'
5+ import type { EnhanceAppContext , Theme } from 'vitepress'
36import DefaultTheme from 'vitepress/theme'
47import { h } from 'vue'
5- import type { Theme } from 'vitepress'
6- // import { NolebaseGitChangelogPlugin } from '@nolebase/vitepress-plugin-git-changelog/client'
7- import { NolebaseHighlightTargetedHeading } from '@nolebase/vitepress-plugin-highlight-targeted-heading/client'
8- import { NolebaseEnhancedReadabilitiesMenu , NolebaseEnhancedReadabilitiesScreenMenu } from '@nolebase/vitepress-plugin-enhanced-readabilities/client'
98
109import '@nolebase/vitepress-plugin-highlight-targeted-heading/client/style.css'
1110import '@nolebase/vitepress-plugin-git-changelog/client/style.css'
@@ -33,6 +32,6 @@ export default {
3332 enhanceApp ( ctx : EnhanceAppContext ) {
3433 DefaultTheme . enhanceApp ( ctx )
3534 ctx . app . use ( TwoslashFloatingVue )
36- // ctx.app.use(NolebaseGitChangelogPlugin)
35+ ctx . app . use ( NolebaseGitChangelogPlugin )
3736 } ,
3837} satisfies Theme
Original file line number Diff line number Diff line change 1+ [phases .setup ]
2+ nixPkgs = [" git" , " nodejs_20" , " pnpm" ]
3+
4+ [phases .install ]
5+ cmds = [
6+ " git init && git remote add origin https://github.com/kubb-labs/kubb.git" ,
7+ " git fetch --depth=10 origin main && git reset --hard origin/main" ,
8+ " pnpm install --no-frozen-lockfile"
9+ ]
10+
11+ [phases .build ]
12+ cmds = [
13+ " pnpm build:docs"
14+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments