Skip to content

Commit c527f6d

Browse files
stijnvanhullemstijnvanhulle
authored andcommitted
docs: correct location
1 parent 263aec1 commit c527f6d

File tree

4 files changed

+24
-13
lines changed

4 files changed

+24
-13
lines changed

docs/.vitepress/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import { GitChangelog, GitChangelogMarkdownSection } from '@nolebase/vitepress-plugin-git-changelog/vite'
12
import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
23
import { defineConfig } from 'vitepress'
34
import { groupIconMdPlugin, groupIconVitePlugin, localIconLoader } from 'vitepress-plugin-group-icons'
45
import { version } from '../../packages/core/package.json'
56
import { renderMermaidGraphsPlugin } from './mermaid'
67
import { transposeTables } from './transposeTables'
7-
// import { GitChangelog, GitChangelogMarkdownSection } from '@nolebase/vitepress-plugin-git-changelog/vite'
88

99
const ogImage = 'https://kubb.dev/og.png'
1010
const 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
})

docs/.vitepress/theme/index.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
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'
14
import TwoslashFloatingVue from '@shikijs/vitepress-twoslash/client'
2-
import type { EnhanceAppContext } from 'vitepress'
5+
import type { EnhanceAppContext, Theme } from 'vitepress'
36
import DefaultTheme from 'vitepress/theme'
47
import { 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

109
import '@nolebase/vitepress-plugin-highlight-targeted-heading/client/style.css'
1110
import '@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

nixpacks.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
]

packages/core/nixpacks.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)