diff --git a/README.md b/README.md index 48e2d1a..307b70b 100644 --- a/README.md +++ b/README.md @@ -52,16 +52,13 @@ Circuiteria is a [Typst](https://typst.app) package for drawing block circuit di *Click on the example image to jump to the code.* ## Usage -For information, see the [manual](manual.pdf) +For more information, see the [manual](manual.pdf) -To use this package, simply import [src/lib.typ](src/lib.typ) and call the `circuit` function: +To use this package, simply import [circuiteria](https://typst.app/universe/package/circuiteria) and call the `circuit` function: ```typ -#import "src/lib.typ" -#lib.circuit({ - import lib: * +#import "@preview/circuiteria:0.1.0" +#circuiteria.circuit({ + import circuiteria: * ... }) -``` - -## Installing -> TODO +``` \ No newline at end of file diff --git a/manual.pdf b/manual.pdf index 8cbadd5..2750ae9 100644 Binary files a/manual.pdf and b/manual.pdf differ diff --git a/src/lib.typ b/src/lib.typ index d2d324f..a5177a3 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -1,4 +1,4 @@ -#let version = version((0,0,3)) +#let version = version(0, 1, 0) #import "circuit.typ": circuit #import "element.typ" diff --git a/typst.toml b/typst.toml index 7a10c31..c1e80c5 100644 --- a/typst.toml +++ b/typst.toml @@ -1,6 +1,6 @@ [package] name = "circuiteria" -version = "0.0.3" +version = "0.1.0" compiler = "0.11.0" repository = "https://git.kb28.ch/HEL/circuiteria" entrypoint = "src/lib.typ" @@ -11,4 +11,4 @@ categories = [ "visualization" ] license = "Apache-2.0" description = "Drawing block circuits with Typst made easy, using CeTZ" keywords = [ "circuit", "block", "draw" ] -exclude = [ "/gallery/*" ] \ No newline at end of file +exclude = [ "gallery", "gallery.bash", "doc" ] \ No newline at end of file