Skip to content

Commit 8cbead8

Browse files
committed
fix: Update test matrix and generate thumbnails with new template
Switch thumbnail generation to template/thumbnail.typ and remove old Typst version from test matrix. Add template/thumbnail.typ file.
1 parent e77bc6f commit 8cbead8

3 files changed

Lines changed: 27 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
matrix:
1414
# add any other Typst versions that your package should support
1515
typst-version:
16-
- typst: 0.12
17-
tytanic: 0.1
1816
- typst: 0.13
1917
tytanic: 0.2
2018
# the docs don't need to build with all versions supported by the package;

Justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ default:
99
# generate manual
1010
doc:
1111
typst compile src/manual.typ docs/manual.pdf
12-
typst compile template/main.typ --format=png assets/images/page-{p}.png
13-
typst compile template/main.typ --format=svg assets/images/page-{p}.svg
12+
typst compile template/thumbnail.typ --format=png assets/images/page-{p}.png
13+
typst compile template/thumbnail.typ --format=svg assets/images/page-{p}.svg
1414

1515
# run test suite
1616
test *args:

template/thumbnail.typ

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#import "@preview/articulate-coderscompass:0.1.0": articulate-coderscompass, render-markdown
2+
3+
#show: articulate-coderscompass.with(
4+
title: lorem(15),
5+
subtitle: lorem(10),
6+
authors: (
7+
(name: "First Author", email: "first@coderscompass.org", affiliation: "Coders' Compass"),
8+
(name: "Second Author", email: "second@coderscompass.org", affiliation: "Coders' Compass"),
9+
// (name: "Third Author", email: "third@coderscompass.org", affiliation: "Coders' Compass"),
10+
),
11+
abstract: [
12+
#lorem(40)
13+
],
14+
keywords: (
15+
"keyword1",
16+
"keyword2",
17+
"keyword3",
18+
),
19+
version: "1.0.0",
20+
reading-time: "6 minutes",
21+
date: datetime.today(),
22+
bibliography: bibliography("refs.bib", style: "institute-of-electrical-and-electronics-engineers")
23+
)
24+
25+
#render-markdown(read("content.md"))

0 commit comments

Comments
 (0)