mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-01 06:28:14 +00:00
base path refactor to better support subpath hosting
This commit is contained in:
parent
3201f83b70
commit
c874e7e937
29 changed files with 257 additions and 389 deletions
quartz/plugins
|
@ -2,7 +2,7 @@ import { PluggableList } from "unified"
|
|||
import { StaticResources } from "../util/resources"
|
||||
import { ProcessedContent } from "./vfile"
|
||||
import { QuartzComponent } from "../components/types"
|
||||
import { FilePath, ServerSlug } from "../util/path"
|
||||
import { FilePath, FullSlug } from "../util/path"
|
||||
import { BuildCtx } from "../util/ctx"
|
||||
|
||||
export interface PluginTypes {
|
||||
|
@ -46,7 +46,7 @@ export type QuartzEmitterPluginInstance = {
|
|||
}
|
||||
|
||||
export interface EmitOptions {
|
||||
slug: ServerSlug
|
||||
slug: FullSlug
|
||||
ext: `.${string}` | ""
|
||||
content: string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue