docs: make role of getQuartzComponents more clear and also make it optional

This commit is contained in:
Jacky Zhao
2025-03-05 18:34:02 -08:00
parent 5b13ff2199
commit 2213424195
7 changed files with 7 additions and 19 deletions

View File

@ -11,9 +11,6 @@ export function extractDomainFromBaseUrl(baseUrl: string) {
export const CNAME: QuartzEmitterPlugin = () => ({
name: "CNAME",
getQuartzComponents() {
return []
},
async getDependencyGraph(_ctx, _content, _resources) {
return new DepGraph<FilePath>()
},