-
Notifications
You must be signed in to change notification settings - Fork 3
/
mkdocs.yml
63 lines (57 loc) · 2.43 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
site_name: Typing Tips
site_url: https://decorator-factory.github.io/typing-tips/
repo_url: https://github.com/decorator-factory/typing-tips
nav:
- About: index.md
- Start here:
- "From zero to types": main-tutorial/0-start-here/index.md
- "Working with classes": main-tutorial/1-working-with-classes/index.md
- Tutorials:
- Generics (series):
- Intro: tutorials/generics/index.md
- Type variables: tutorials/generics/type-vars/index.md
- Subtyping: tutorials/generics/subtyping/index.md
- "Generic types": tutorials/generics/generic-types/index.md
- Variance: tutorials/generics/variance/index.md
- "Variance for your own classes": tutorials/generics/custom-variance/index.md
- General tips:
- "Avoid `Any`": tips/avoid-any/index.md
- "`Optional` doesn't mean an optional argument": tips/optional-is-not-optional/index.md
- "Type variables vs type aliases vs `NewType`": tips/typevar-typealias-newtype/index.md
- "`NoReturn` doesn't just mean no `return` statement": tips/no-return-confusion/index.md
- "Use new-style annotations": tips/pep585/index.md
- Frequently asked questions:
- "How to enforce type annotations at runtime?": faq/runtime-checking/index.md
- 'I want to specify "X or any subclass of X"': faq/class-or-subclass/index.md
- What if my function can raise an exception?: faq/sometimes-raises/index.md
- "Is `object` the same as `Any`?": faq/object-vs-any/index.md
- "Why can I put a cat in a list of animals?": faq/cat-in-animals/index.md
- 'How do I "peek" at my generic parameter?': faq/peek-at-generic-param/index.md
# - Patterns:
# - Intro: patterns/index.md
# - 'Callable Protocol': patterns/callable-protocol/index.md
# - Anti-patterns and smells:
# - Intro: antipatterns/index.md
# - Complex annotations: antipatterns/complex-annotations/index.md
# - "`Optional` attribute hell": antipatterns/optional-attributes/index.md
theme:
name: material
icon:
logo: material/language-python
markdown_extensions:
- attr_list
- tables
- md_in_html
- admonition
- pymdownx.details
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- footnotes