Skip to content

Commit

Permalink
Fix Verso path [annotate]
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 28, 2024
1 parent f9e075d commit ce2a6e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lean4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
shared:
- added|modified: '.github/workflows/lean4.yml'
- added|modified: 'lean4-xp-kit/**/*'
- added|modified: 'justfile'
lean4:
- added|modified: 'lean4/**/*'
duper:
Expand Down Expand Up @@ -134,7 +135,7 @@ jobs:
popd
pushd lean4-verso-xp
just doc
just vsgen
popd
just pages lean4
Expand Down
8 changes: 5 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,11 @@ up *NAME:
lake -R build

[no-cd]
doc:
vsgen:
lake -R exe mkVersoDoc
rm -rf dist
mv _out/html-multi dist

[no-cd]
vdoc: doc
open dist/html-multi/index.html
vs: vsgen
open dist/index.html
2 changes: 1 addition & 1 deletion lean4-verso-xp/Main.lean
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def main :=
manualMain (%doc VersoXp) (config := config)
where
config := {
destination := "dist",
-- destination := "dist",
extraFiles := [("static", "static")],
-- extraCss := ["/static/colors.css", "/static/theme.css", "/static/print.css", "/static/fonts/source-serif/source-serif-text.css", "/static/fonts/source-code-pro/source-code-pro.css", "/static/katex/katex.min.css"],
-- extraJs := ["/static/katex/katex.min.js", "/static/math.js", "/static/print.js"],
Expand Down

0 comments on commit ce2a6e1

Please sign in to comment.