Skip to content

Commit

Permalink
docs: add generators
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvanhulle committed Oct 6, 2024
1 parent 8aa2b81 commit e6e82c1
Show file tree
Hide file tree
Showing 109 changed files with 1,891 additions and 902 deletions.
3 changes: 2 additions & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"/examples/vue-query",
"/examples/zod",
"/examples/client",
"/examples/fetch"
"/examples/fetch",
"/examples/generators"
],
"node": "20",
"installCommand": "install:csb"
Expand Down
51 changes: 21 additions & 30 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,20 @@ const knowledgeBaseSidebar = [
link: '/knowledge-base/index',
},
{
text: 'How tos',
items: [
{
text: 'Debugging Kubb',
link: '/knowledge-base/how-tos/debugging',
},
{
text: 'Use JSX in Kubb',
link: '/knowledge-base/how-tos/react',
},
{
text: 'Filter and sort',
link: '/knowledge-base/how-tos/filter-and-sort',
},
{
text: 'Use of Fetch',
link: '/knowledge-base/how-tos/fetch',
},
],
text: 'Debugging Kubb',
link: '/knowledge-base/debugging',
},
{
text: 'Use of Fetch',
link: '/knowledge-base/fetch',
},
{
text: 'Filter and sort',
link: '/knowledge-base/filter-and-sort',
},
{
text: 'Use JSX in Kubb',
link: '/knowledge-base/react',
},
{
text: 'Generators',
Expand Down Expand Up @@ -77,6 +72,10 @@ const knowledgeBaseSidebar = [
},
],
},
{
text: 'Migration guide',
link: '/knowledge-base/migration-guide',
},
]

const mainSidebar = [
Expand Down Expand Up @@ -303,8 +302,8 @@ const examplesSidebar = [
link: '/examples/advanced',
},
{
text: 'Templates <span class="new">new</span>',
link: '/examples/client',
text: 'Generators <span class="new">new</span>',
link: '/examples/generators',
},
]

Expand All @@ -328,10 +327,6 @@ const tutorialsSidebar = [
text: 'Basic',
link: '/tutorials/basic',
},
{
text: 'Templates',
link: '/tutorials/templates',
},
]

const documentationMenu = [
Expand All @@ -345,7 +340,7 @@ const documentationMenu = [
{
text: '@kubb/parser-ts',
link: '/parsers/parser-ts/',
activeMatch: 'parser-ts'
activeMatch: 'parser-ts',
},
],
},
Expand Down Expand Up @@ -575,10 +570,6 @@ export default defineConfig({
text: 'Basic',
link: '/tutorials/basic',
},
{
text: 'Templates',
link: '/tutorials/templates',
},
],
},
{ text: 'Playground', link: '/playground' },
Expand Down
Loading

0 comments on commit e6e82c1

Please sign in to comment.