diff --git a/README.md b/README.md index cdad558..4702941 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,9 @@ A template & package for documents targeting the Typst developer community. This - [ ] add examples to the docs - [ ] Functionality - [ ] Port author reading code from unreleased thesis template to here - - [ ] Source forge specific sub links such as `/issues` - [ ] Mantys like building blocks for documentation adjacent purposes +- [ ] API + - [ ] improved higher level API + - [ ] error handling This template is a fork of [mantys](https://github.com/jneug/typst-mantys). diff --git a/src/packages.typ b/src/_pkg.typ similarity index 100% rename from src/packages.typ rename to src/_pkg.typ diff --git a/src/author.typ b/src/author.typ index 09ba072..2bee8ec 100644 --- a/src/author.typ +++ b/src/author.typ @@ -2,7 +2,7 @@ /// /// Can be used to add new or alter existing marks, marks come in the form of /// arbitrary content which is placed as a superscript. -#let marks = state("__mantodea:util:author:marks", ( +#let marks = state("__mantodea:author:marks", ( marks: (:), current-auto: 0, )) diff --git a/src/component/table-of-contents.typ b/src/component/table-of-contents.typ index f953df5..6f16549 100644 --- a/src/component/table-of-contents.typ +++ b/src/component/table-of-contents.typ @@ -1,4 +1,4 @@ -#import "/src/packages.typ" as _pkg +#import "/src/_pkg.typ" #import "/src/theme.typ" as _theme #let _columns = columns diff --git a/src/component/title-page.typ b/src/component/title-page.typ index cbca1a4..7fe45cc 100644 --- a/src/component/title-page.typ +++ b/src/component/title-page.typ @@ -1,4 +1,4 @@ -#import "/src/packages.typ" as _pkg +#import "/src/_pkg.typ" #import "/src/theme.typ" as _theme #let _version = version diff --git a/src/example.typ b/src/example.typ index b3d1fc1..5d23532 100644 --- a/src/example.typ +++ b/src/example.typ @@ -1,4 +1,4 @@ -#import "/src/packages.typ" as _pkg +#import "/src/_pkg.typ" #import "/src/theme.typ" as _theme /// Show a source code frame. diff --git a/src/lib.typ b/src/lib.typ index 8b59394..f8bfff0 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -1,4 +1,4 @@ -#import "packages.typ" as _pkg +#import "_pkg.typ" #import "author.typ" #import "component.typ" diff --git a/src/link.typ b/src/link.typ index 807f0fa..03218a8 100644 --- a/src/link.typ +++ b/src/link.typ @@ -194,7 +194,7 @@ /// /// The default matchers include GitHub, GitLab and Codeberg as well as a crude /// git-subdomain matcher which returns the top and second level domain. -#let forges = state("__mantodea:util:link:forges", ( +#let forges = state("__mantodea:link:forges", ( GitHub: s => s.contains("github.com"), GitLab: s => s.contains("gitlab.com"), Codeberg: s => s.contains("codeberg.org"), diff --git a/src/style.typ b/src/style.typ index 54372bb..58f7d8c 100644 --- a/src/style.typ +++ b/src/style.typ @@ -1,4 +1,4 @@ -#import "packages.typ" as _pkg +#import "_pkg.typ" #import "theme.typ" as _theme /// The default style applied over the whole document. diff --git a/src/util.typ b/src/util.typ index cd256f9..ce8ba81 100644 --- a/src/util.typ +++ b/src/util.typ @@ -1,4 +1,4 @@ -#import "/src/packages.typ" as _pkg +#import "/src/_pkg.typ" /// Draw an alert box. /// diff --git a/tests/complete/ref/1.png b/tests/complete/ref/1.png deleted file mode 100644 index 3a04d3b..0000000 Binary files a/tests/complete/ref/1.png and /dev/null differ