Skip to content

Commit 492d03f

Browse files
committed
various: clean up build
1. Don't copy large math files to the output directory since they're not used; we create an empty file to "shadow" the ones in the theme. See getzola/zola#2677 for more. 2. Move the .gitignore for public/ to the root since the directory is recreated by the 'zola serve' command. Signed-off-by: Andrew Dunham <[email protected]>
1 parent 698ef62 commit 492d03f

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Output folder
2+
/public

config.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ taxonomies = [
2020

2121
theme = "serene"
2222

23+
# TODO: when the following issue is fixed, use this:
24+
# https://github.com/getzola/zola/issues/2677
25+
ignored_static = [
26+
#"*/typst-auto-render.js",
27+
#"*/c2bda2230c7262de9e2a.wasm",
28+
]
29+
2330
[markdown]
2431
# Code highlighting
2532
highlight_code = true

public/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

static/js/c2bda2230c7262de9e2a.wasm

Whitespace-only changes.

static/js/typst-auto-render.js

Whitespace-only changes.

0 commit comments

Comments
 (0)