-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Restart server when config file dependencies have changed (#203)
- Loading branch information
Showing
10 changed files
with
101 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import { Sidebar } from "zudoku"; | ||
|
||
export const sidebar: Sidebar = { | ||
docs: [ | ||
{ | ||
type: "category", | ||
label: "Getting started", | ||
icon: "sparkles", | ||
items: ["introduction", "app-quickstart", "html-quickstart"], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Configuration", | ||
icon: "cog", | ||
link: "configuration/overview", | ||
items: [ | ||
"configuration/api-reference", | ||
"configuration/navigation", | ||
"configuration/search", | ||
"configuration/authentication", | ||
"configuration/vite-config", | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Markdown", | ||
icon: "book-open-text", | ||
link: "markdown/overview", | ||
items: ["markdown/mdx", "markdown/admonitions", "markdown/code-blocks"], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Guide", | ||
icon: "monitor-check", | ||
items: ["environment-variables", "custom-pages", "using-multiple-apis"], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Deployment", | ||
icon: "cloud-upload", | ||
link: "deployment", | ||
items: [ | ||
"deploy/cloudflare-pages", | ||
"deploy/github-pages", | ||
"deploy/vercel", | ||
"deploy/direct-upload", | ||
], | ||
}, | ||
{ | ||
type: "category", | ||
label: "Extending", | ||
icon: "blocks", | ||
items: ["custom-plugins", "api-keys"], | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Config | ||
export type { ZudokuConfig } from "./config/config.js"; | ||
export type { InputSidebar as Sidebar } from "./config/validators/InputSidebarSchema.js"; | ||
export type { ConfigSidebar as Sidebar } from "./config/validators/InputSidebarSchema.js"; | ||
export type { MDXImport } from "./lib/plugins/markdown/index.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters