Skip to content

Commit 447df61

Browse files
committed
Clean up
- Remove old test case - Remove redundant README entry - Rename internal package module to _pkg - Added README entries
1 parent 14d2ee8 commit 447df61

11 files changed

+11
-9
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ A template & package for documents targeting the Typst developer community. This
77
- [ ] add examples to the docs
88
- [ ] Functionality
99
- [ ] Port author reading code from unreleased thesis template to here
10-
- [ ] Source forge specific sub links such as `/issues`
1110
- [ ] Mantys like building blocks for documentation adjacent purposes
11+
- [ ] API
12+
- [ ] improved higher level API
13+
- [ ] error handling
1214

1315
This template is a fork of [mantys](https://github.com/jneug/typst-mantys).

src/packages.typ src/_pkg.typ

File renamed without changes.

src/author.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
///
33
/// Can be used to add new or alter existing marks, marks come in the form of
44
/// arbitrary content which is placed as a superscript.
5-
#let marks = state("__mantodea:util:author:marks", (
5+
#let marks = state("__mantodea:author:marks", (
66
marks: (:),
77
current-auto: 0,
88
))

src/component/table-of-contents.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "/src/packages.typ" as _pkg
1+
#import "/src/_pkg.typ"
22
#import "/src/theme.typ" as _theme
33

44
#let _columns = columns

src/component/title-page.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "/src/packages.typ" as _pkg
1+
#import "/src/_pkg.typ"
22
#import "/src/theme.typ" as _theme
33

44
#let _version = version

src/example.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "/src/packages.typ" as _pkg
1+
#import "/src/_pkg.typ"
22
#import "/src/theme.typ" as _theme
33

44
/// Show a source code frame.

src/lib.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "packages.typ" as _pkg
1+
#import "_pkg.typ"
22

33
#import "author.typ"
44
#import "component.typ"

src/link.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
///
195195
/// The default matchers include GitHub, GitLab and Codeberg as well as a crude
196196
/// git-subdomain matcher which returns the top and second level domain.
197-
#let forges = state("__mantodea:util:link:forges", (
197+
#let forges = state("__mantodea:link:forges", (
198198
GitHub: s => s.contains("github.com"),
199199
GitLab: s => s.contains("gitlab.com"),
200200
Codeberg: s => s.contains("codeberg.org"),

src/style.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "packages.typ" as _pkg
1+
#import "_pkg.typ"
22
#import "theme.typ" as _theme
33

44
/// The default style applied over the whole document.

src/util.typ

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "/src/packages.typ" as _pkg
1+
#import "/src/_pkg.typ"
22

33
/// Draw an alert box.
44
///

tests/complete/ref/1.png

-3.75 KB
Binary file not shown.

0 commit comments

Comments
 (0)