-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
mkdocs.yml
170 lines (158 loc) · 6.13 KB
/
mkdocs.yml
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
site_name: Pony Tutorial
copyright: Copyright © 2021 The Pony Developers
edit_uri: edit/main/docs/
repo_url: https://github.com/ponylang/pony-tutorial/
site_url: https://tutorial.ponylang.io/
use_directory_urls: false
extra:
generator: false
social:
- icon: fontawesome/brands/github
link: https://github.com/ponylang
- icon: fontawesome/brands/twitter
link: https://twitter.com/ponylang
markdown_extensions:
- pymdownx.highlight
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid-experimental
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.snippets:
base_path: ['code-samples']
check_paths: true
dedent_subsections: true
- smarty
- toc:
permalink: true
plugins:
- search
- ezlinks
- htmlproofer:
raise_error: True
raise_error_excludes:
429: ["https://github.com/ponylang", "https://web.archive.org/*"]
404: ["https://github.com/ponylang"]
theme:
name: material
favicon: assets/logo.png
features:
- content.code.copy
- content.code.select
- navigation.footer
- navigation.instant
- navigation.indexes
- navigation.tracking
- search.highlight
- search.share
- search.suggest
icon:
repo: fontawesome/brands/github
logo: assets/logo.png
palette:
# Light mode
- scheme: default
primary: brown
accent: amber
toggle:
icon: material/brightness-4
name: Switch to dark mode
# Dark mode
- scheme: slate
primary: brown
accent: amber
toggle:
icon: material/brightness-4
name: Switch to light mode
nav:
- Home: "index.md"
- Getting Started:
- Overview: "getting-started/index.md"
- What You Need: "getting-started/what-you-need.md"
- Hello World -- Your First Pony Program: "getting-started/hello-world.md"
- Hello World -- How It Works: "getting-started/how-it-works.md"
- Types:
- Overview: "types/index.md"
- The Pony Type System at a Glance: "types/at-a-glance.md"
- Classes: "types/classes.md"
- Primitives: "types/primitives.md"
- Actors: "types/actors.md"
- Traits and Interfaces: "types/traits-and-interfaces.md"
- Structs: "types/structs.md"
- Type Aliases: "types/type-aliases.md"
- Type Expressions: "types/type-expressions.md"
- Expressions:
- Overview: "expressions/index.md"
- Literals: "expressions/literals.md"
- Variables: "expressions/variables.md"
- Operators: "expressions/ops.md"
- Arithmetic: "expressions/arithmetic.md"
- Control Structures: "expressions/control-structures.md"
- Match Expressions: "expressions/match.md"
- As Operator: "expressions/as.md"
- Methods: "expressions/methods.md"
- Errors: "expressions/errors.md"
- Equality in Pony: "expressions/equality.md"
- Sugar: "expressions/sugar.md"
- Object Literals: "expressions/object-literals.md"
- Partial Application: "expressions/partial-application.md"
- Reference Capabilities:
- Overview: "reference-capabilities/index.md"
- Reference Capabilities: "reference-capabilities/reference-capabilities.md"
- Reference Capability Guarantees: "reference-capabilities/guarantees.md"
- Consume and Destructive Read: "reference-capabilities/consume-and-destructive-read.md"
- Recovering Capabilities: "reference-capabilities/recovering-capabilities.md"
- Aliasing: "reference-capabilities/aliasing.md"
- Passing and Sharing References: "reference-capabilities/passing-and-sharing.md"
- Capability Subtyping: "reference-capabilities/capability-subtyping.md"
- Combining Capabilities: "reference-capabilities/combining-capabilities.md"
- Arrow Types aka Viewpoints: "reference-capabilities/arrow-types.md"
- Reference Capability Matrix: "reference-capabilities/capability-matrix.md"
- Object Capabilities:
- Overview: "object-capabilities/index.md"
- Object Capabilities: "object-capabilities/object-capabilities.md"
- Derived Authority: "object-capabilities/derived-authority.md"
- Trust Boundary: "object-capabilities/trust-boundary.md"
- Generics:
- Overview: "generics/index.md"
- Generics and Reference Capabilities: "generics/generics-and-reference-capabilities.md"
- Constraints: "generics/generic-constraints.md"
- Packages:
- Overview: "packages/index.md"
- Use Statement: "packages/use-statement.md"
- Standard Library: "packages/standard-library.md"
- Testing:
- Overview: "testing/index.md"
- Testing with PonyTest: "testing/ponytest.md"
- Testing with PonyCheck: "testing/ponycheck.md"
- C-FFI:
- Overview: "c-ffi/index.md"
- Calling C from Pony: "c-ffi/calling-c.md"
- Linking to C Libraries: "c-ffi/linking-c.md"
- C ABI: "c-ffi/c-abi.md"
- Callbacks: "c-ffi/callbacks.md"
- Gotchas:
- Overview: "gotchas/index.md"
- Divide by Zero: "gotchas/divide-by-zero.md"
- Garbage Collection: "gotchas/garbage-collection.md"
- Scheduling: "gotchas/scheduling.md"
- Function Call Side Effects: "gotchas/side-effect-ordering-in-function-call-expressions.md"
- Recursion: "gotchas/recursion.md"
- Where Next?:
- Overview: "where-next/index.md"
- Appendices:
- Overview: "appendices/index.md"
- PONYPATH: "appendices/ponypath.md"
- Lexicon: "appendices/lexicon.md"
- Symbol Lookup Cheat Sheet: "appendices/symbol-lookup-cheat-sheet.md"
- Keywords: "appendices/keywords.md"
- Examples: "appendices/examples.md"
- Whitespace: "appendices/whitespace.md"
- Compiler Arguments: "appendices/compiler-args.md"
- Memory Allocation at Runtime: "appendices/memory-allocation.md"
- Garbage Collection with Pony-ORCA: "appendices/garbage-collection.md"
- Platform-dependent Code: "appendices/platform-dependent-code.md"
- A Short Guide to Pony Error Messages: "appendices/error-messages.md"
- Program Annotations: "appendices/annotations.md"
- Serialisation: "appendices/serialisation.md"