Skip to content

Commit e18f4ff

Browse files
committed
Simplify build and _quarto.yml (#47)
1 parent 803dbcf commit e18f4ff

15 files changed

Lines changed: 79 additions & 205 deletions

File tree

Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
1-
all: render
2-
3-
render: prepare clean
1+
all: _extensions/preprint/typst/preprint.typ
42
quarto render
53

6-
prepare: _extensions/preprint/typst/preprint.typ README.md
7-
84
_extensions/preprint/typst/preprint.typ: typst/lib.typ
95
mkdir -p _extensions/preprint/typst/
106
cp $< $@
117

12-
README.md: index.qmd
13-
quarto render $< --to gfm --output $@ --output-dir . -M toc-depth:1 -M wrap:none
14-
158
# Tests
169
test-use:
1710
mkdir -p tests/use && cd tests/use && quarto use template ../../. --no-prompt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Overview
1313

14-
**[Example PDF](https://vuorre.com/quarto-preprint/example.pdf)[Journal theme PDF](https://vuorre.com/quarto-preprint/example-jou.pdf)[Online documentation](https://vuorre.com/quarto-preprint/index.html)**
14+
**[Example PDF](https://vuorre.com/quarto-preprint/example.pdf)**
1515

1616
> “An article about computational science in a scientific publication is not the scholarship itself, it is merely advertising of the scholarship. The actual scholarship is the complete software development environment and the complete set of instructions which generated the figures.”
1717
>

_freeze/example-content/execute-results/html.json

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

0 commit comments

Comments
 (0)