Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -1,20 +1,21 @@ -PDF=_build/syllabus-latest.pdf +PDF=syllabus-latest.pdf .PHONY: publish clean serve purge site: build $(PDF): myst build --pdf build: clean - myst build --html + BASE_URL=/ecer/uv myst build --html publish: build $(PDF) - fossil uv add `find _build/html` + cd _build/html && \ + fossil uv add `find . | xargs realpath --relative-to=. | grep -v '^\.'` fossil uv add $(PDF) fossil uv sync clean: find -name '*~' | xargs -r rm myst clean -y serve: myst start purge: clean fossil uv ls | xargs fossil uv rm {} Index: myst.yml ================================================================== --- myst.yml +++ myst.yml @@ -7,11 +7,11 @@ authors: [] license: CC-BY-SA-4.0 exports: - format: typst template: ieee-typst - output: _build/syllabus-latest.pdf + output: syllabus-latest.pdf site: template: book-theme options: logo_text: ECER 2024 folders: true