Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
- Remove old test case
- Remove redundant README entry
- Rename internal package module to _pkg
- Added README entries
  • Loading branch information
tingerrr committed May 29, 2024
1 parent 14d2ee8 commit 447df61
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 9 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
File renamed without changes.
2 changes: 1 addition & 1 deletion src/author.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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,
))
Expand Down
2 changes: 1 addition & 1 deletion src/component/table-of-contents.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "/src/packages.typ" as _pkg
#import "/src/_pkg.typ"
#import "/src/theme.typ" as _theme

#let _columns = columns
Expand Down
2 changes: 1 addition & 1 deletion src/component/title-page.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "/src/packages.typ" as _pkg
#import "/src/_pkg.typ"
#import "/src/theme.typ" as _theme

#let _version = version
Expand Down
2 changes: 1 addition & 1 deletion src/example.typ
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/lib.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "packages.typ" as _pkg
#import "_pkg.typ"

#import "author.typ"
#import "component.typ"
Expand Down
2 changes: 1 addition & 1 deletion src/link.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
2 changes: 1 addition & 1 deletion src/style.typ
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/util.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "/src/packages.typ" as _pkg
#import "/src/_pkg.typ"

/// Draw an alert box.
///
Expand Down
Binary file removed tests/complete/ref/1.png
Binary file not shown.

0 comments on commit 447df61

Please sign in to comment.