-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathzensical.toml
More file actions
103 lines (84 loc) · 3.5 KB
/
Copy pathzensical.toml
File metadata and controls
103 lines (84 loc) · 3.5 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[project]
site_name = "optype"
site_author = "Joren Hammudoglu"
site_description = "Building blocks for precise & flexible type hints"
site_url = "https://jorenham.github.io/optype"
repo_url = "https://github.com/jorenham/optype"
docs_dir = "docs"
site_dir = "site"
extra_javascript = ["scripts/posthog.js"]
# nav
[[project.nav]]
"Home" = "index.md"
[[project.nav]]
"Installation" = "installation.md"
[[project.nav]]
"Getting Started" = "getting-started.md"
[[project.nav]]
"Type Inference" = "infer.md"
[[project.nav]]
"Reference" = [
"reference/index.md",
{ "Core Types" = ["reference/core/just.md", "reference/core/conversion.md", "reference/core/relations.md", "reference/core/binary.md", "reference/core/reflected.md", "reference/core/inplace.md", "reference/core/unary.md", "reference/core/rounding.md", "reference/core/callables.md", "reference/core/iteration.md", "reference/core/awaitables.md", "reference/core/async-iteration.md", "reference/core/containers.md", "reference/core/attributes.md", "reference/core/context.md", "reference/core/descriptors.md", "reference/core/metaclasses.md", "reference/core/buffer.md"] },
{ "Standard Library" = ["reference/stdlib/copy.md", "reference/stdlib/dataclasses.md", "reference/stdlib/inspect.md", "reference/stdlib/io.md", "reference/stdlib/json.md", "reference/stdlib/pickle.md", "reference/stdlib/string.md", "reference/stdlib/typing.md", "reference/stdlib/dlpack.md"] },
{ "NumPy" = ["reference/numpy/index.md", "reference/numpy/shape.md", "reference/numpy/array-likes.md", "reference/numpy/literals.md", "reference/numpy/compat.md", "reference/numpy/random.md", "reference/numpy/dtype.md", "reference/numpy/scalar.md", "reference/numpy/ufunc.md", "reference/numpy/aliases.md", "reference/numpy/low-level.md"] },
{ "Experimental" = ["reference/experimental/infer.md", "reference/experimental/test.md"] },
]
# theme
[project.theme]
features = [
"content.code.annotate",
"content.code.copy",
"content.code.select",
"navigation.footer",
"navigation.path",
"navigation.prune",
"navigation.indexes",
"navigation.sections",
"navigation.tabs",
"navigation.tracking",
"navigation.top",
"toc.integrate",
]
[[project.theme.palette]]
media = "(prefers-color-scheme)"
toggle.icon = "lucide/sun-moon"
toggle.name = "Switch to light mode"
[[project.theme.palette]]
media = "(prefers-color-scheme: light)"
scheme = "default"
toggle.icon = "lucide/sun"
toggle.name = "Switch to dark mode"
[[project.theme.palette]]
media = "(prefers-color-scheme: dark)"
scheme = "slate"
toggle.icon = "lucide/moon"
toggle.name = "Switch to system preference"
# extra
[project.extra]
repo_url = "https://github.com/jorenham/optype"
repo_name = "jorenham/optype"
edit_uri = "edit/master/docs/"
[[project.extra.social]]
icon = "simple/github"
link = "https://github.com/jorenham/optype"
[[project.extra.social]]
icon = "simple/pypi"
link = "https://pypi.org/project/optype"
[[project.extra.social]]
icon = "simple/condaforge"
link = "https://anaconda.org/conda-forge/optype"
# markdown extensions
[project.markdown_extensions.tables]
[project.markdown_extensions.admonition]
# https://zensical.org/docs/authoring/code-blocks/
[project.markdown_extensions.pymdownx.highlight]
anchor_linenums = true
line_spans = "__span"
pygments_lang_class = true
[project.markdown_extensions.pymdownx.details]
[project.markdown_extensions.pymdownx.tabbed]
alternate_style = true
[project.markdown_extensions.pymdownx.inlinehilite]
[project.markdown_extensions.pymdownx.snippets]
[project.markdown_extensions.pymdownx.superfences]