-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.typ
48 lines (42 loc) · 1.19 KB
/
docs.typ
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#import "@preview/tidy:0.4.1"
#import "lib/documentazione.typ" as docs-template
#metadata([docs]) <titolo>
#set text(font: "Hanken Grotesk")
#show heading.where(level: 1): set text(size: 19pt)
#show heading.where(level: 3): set text(size: 19pt)
#show heading.where(level: 4): set text(size: 12pt, weight: "medium")
#align(center)[= Documentazione]
#align(center)[== Modulo `common`]
#import "lib/common.typ"
#let module = tidy.parse-module(
read("lib/common.typ"),
name: "common",
scope: (common: common),
preamble: "import common: *;",
)
#tidy.show-module(
module,
style: docs-template,
show-outline: true,
omit-empty-param-descriptions: true,
show-module-name: false,
local-names: (parameters: [Signature], default: [Default]),
sort-functions: none,
)
#align(center)[== Modulo `verbale`]
#import "lib/verbale.typ"
#let module = tidy.parse-module(
read("lib/verbale.typ"),
name: "common",
scope: (verbale: verbale),
preamble: "import verbale: *;",
)
#tidy.show-module(
module,
style: docs-template,
show-outline: true,
omit-empty-param-descriptions: true,
show-module-name: false,
local-names: (parameters: [Signature], default: [Default]),
sort-functions: none,
)