1
0
forked from HEL/circuiteria

updated manual

This commit is contained in:
2024-11-10 01:40:50 +01:00
parent b8a7adb58f
commit 60898d1e60
3 changed files with 41 additions and 2 deletions

View File

@ -4,6 +4,7 @@
#import "doc/examples.typ"
#import "src/circuit.typ": circuit
#import "src/element.typ"
#import "src/electrical.typ"
#import "src/gates.typ"
#import "src/util.typ"
#import "src/wire.typ"
@ -195,4 +196,24 @@ Simply import #link("src/lib.typ") and call the `circuit` function:
)
)
#tidy.show-module(gates-docs, sort-functions: false)
#tidy.show-module(gates-docs, sort-functions: false)
#pagebreak()
#let electrical-docs = tidy.parse-module(
read("src/elements/electrical/capacitor.typ") + "\n" +
read("src/elements/electrical/resistor.typ") + "\n",
name: "electrical",
scope: (
element: element,
circuit: circuit,
electrical: electrical,
draw: draw,
wire: wire,
tidy: tidy,
examples: examples,
doc-ref: doc-ref
)
)
#tidy.show-module(electrical-docs, sort-functions: false)