Skip to content

Commit 9167130

Browse files
committed
fix: citation xml file not found
1 parent e8ffea5 commit 9167130

4 files changed

Lines changed: 22 additions & 21 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install Dependencies
3030
run: bun install
3131
- name: Build Quartz
32-
run: bun run quartz build
32+
run: bun run quartz build --concurrency 1
3333
- name: Upload artifact
3434
uses: actions/upload-pages-artifact@v4
3535
with:

bun.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quartz/plugins/filters/local.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ export const RemoveLocal: QuartzFilterPlugin<{}> = () => ({
55
shouldPublish(_ctx, [_tree, vfile]) {
66
const localFlag: boolean = vfile.data.frontmatter?.tags?.includes("Local") || false
77
const draw: boolean = vfile.data.filePath?.includes("Excalidraw") || false
8+
const ai_file: boolean = vfile.data.filePath?.includes("00-copilot") || false
89
const private_file: boolean = vfile.data.filePath?.includes("private") || false
910
const task: boolean = vfile.data.filePath?.includes("task") || false
10-
return !localFlag && !draw && !private_file && !task
11+
return !localFlag && !draw && !private_file && !task && !ai_file
1112
},
1213
})

quartz/plugins/transformers/citations.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ export const Citations: QuartzTransformerPlugin<Partial<Options>> = (userOpts) =
3030
// thus, we optimistically assume there is indeed an appropriate
3131
// locale available and simply create the lang url-string
3232
let lang: string = "en-US"
33-
if (ctx.cfg.configuration.locale !== "en-US") {
34-
lang = `https://raw.githubusercontent.com/citation-stylelanguage/locales/refs/heads/master/locales-${ctx.cfg.configuration.locale}.xml`
35-
}
33+
// if (ctx.cfg.configuration.locale !== "en-US") {
34+
// lang = `https://raw.githubusercontent.com/citation-stylelanguage/locales/refs/heads/master/locales-${ctx.cfg.configuration.locale}.xml`
35+
// }
3636
// Add rehype-citation to the list of plugins
3737
plugins.push([
3838
rehypeCitation,

0 commit comments

Comments
 (0)