mkdocs.yml
This file
Path
mkdocs.yml
255 lines · 6.7 KiB · YAML
Last changed by
📝 Add reference (code API) docs (#1504)Sofie Van Landeghembefore adoption2d529b2
History of this fileTake it
The walk stopped after 200 commits: lines older than cf27022 point at it.
🔧 Upgrade Material for MkDocs and remove insiders (#1416)Sebastián Ramírezbefore adoptionf327548
line 1why, one step back1INHERIT: ./mkdocs.env.yml📝 Update release notesgithub-actions[bot]before adoptioncf27022
lines 2–61why, one step back2site_name: Typer3site_description: Typer, build great CLIs. Easy to code. Based on Python type hints.4site_url: https://typer.tiangolo.com/56theme:7 name: material8 custom_dir: docs/overrides9 palette:10 - media: "(prefers-color-scheme)"11 toggle:12 icon: material/lightbulb-auto13 name: Switch to light mode14 - media: '(prefers-color-scheme: light)'15 scheme: default16 primary: black17 accent: teal18 toggle:19 icon: material/lightbulb20 name: Switch to dark mode21 - media: '(prefers-color-scheme: dark)'22 scheme: slate23 primary: black24 accent: teal25 toggle:26 icon: material/lightbulb-outline27 name: Switch to system preference28 features:29 - content.code.annotate30 - content.code.copy31 # - content.code.select32 - content.footnote.tooltips33 - content.tabs.link34 - content.tooltips35 - navigation.footer36 - navigation.indexes37 - navigation.instant38 - navigation.instant.prefetch39 # - navigation.instant.preview40 - navigation.instant.progress41 - navigation.path42 - navigation.tabs43 - navigation.tabs.sticky44 - navigation.top45 - navigation.tracking46 - search.highlight47 - search.share48 - search.suggest49 - toc.follow5051 icon:52 repo: fontawesome/brands/github-alt53 logo: img/icon.svg54 favicon: img/favicon.png55 language: en56repo_name: fastapi/typer57repo_url: https://github.com/fastapi/typer58plugins:59 # Material for MkDocs60 search:61 social:🔧 Upgrade Material for MkDocs and remove insiders (#1416)Sebastián Ramírezbefore adoptionf327548
line 62why, one step back62 typeset:📝 Update release notesgithub-actions[bot]before adoptioncf27022
lines 63–69why, one step back63 # Other plugins64 macros:65 include_yaml:66 - members: data/members.yml67 redirects:68 redirect_maps:69 typer-cli.md: tutorial/typer-command.md📝 Add reference (code API) docs (#1504)Sofie Van Landeghembefore adoption2d529b2
lines 70–88why, one step back70 mkdocstrings:71 handlers:72 python:73 options:74 extensions:75 - griffe_typingdoc76 show_root_heading: true77 show_if_no_docstring: true78 inherited_members: true79 members_order: source80 separate_signature: true81 unwrap_annotated: true82 filters:83 - '!^_'84 merge_init_into_class: true85 docstring_section_style: spacy86 signature_crossrefs: true87 show_symbol_type_heading: true88 show_symbol_type_toc: true📝 Update release notesgithub-actions[bot]before adoptioncf27022
lines 89–98why, one step back8990nav:91 - Typer: index.md92 - features.md93 - Tutorial - User Guide:94 - tutorial/index.md95 - environment-variables.md96 - virtual-environments.md97 - tutorial/install.md98 - tutorial/first-steps.md📝 Update docs to use `Typer()` more prominently (#1418)Sofie Van Landeghembefore adoptiondf2cb14
line 99why, one step back99 - tutorial/typer-app.md📝 Update release notesgithub-actions[bot]before adoptioncf27022
lines 100–159why, one step back100 - tutorial/printing.md101 - tutorial/terminating.md102 - CLI Arguments:103 - tutorial/arguments/index.md104 - tutorial/arguments/optional.md105 - tutorial/arguments/default.md106 - tutorial/arguments/help.md107 - tutorial/arguments/envvar.md108 - tutorial/arguments/other-uses.md109 - CLI Options:110 - tutorial/options/index.md111 - tutorial/options/help.md112 - tutorial/options/required.md113 - tutorial/options/prompt.md114 - tutorial/options/password.md115 - tutorial/options/name.md116 - tutorial/options/callback-and-context.md117 - tutorial/options/version.md118 - Commands:119 - tutorial/commands/index.md120 - tutorial/commands/arguments.md121 - tutorial/commands/options.md122 - tutorial/commands/help.md123 - tutorial/commands/name.md124 - tutorial/commands/callback.md125 - tutorial/commands/one-or-multiple.md126 - tutorial/commands/context.md127 - tutorial/options-autocompletion.md128 - CLI Parameter Types:129 - tutorial/parameter-types/index.md130 - tutorial/parameter-types/number.md131 - tutorial/parameter-types/bool.md132 - tutorial/parameter-types/uuid.md133 - tutorial/parameter-types/datetime.md134 - tutorial/parameter-types/enum.md135 - tutorial/parameter-types/path.md136 - tutorial/parameter-types/file.md137 - tutorial/parameter-types/custom-types.md138 - SubCommands - Command Groups:139 - tutorial/subcommands/index.md140 - tutorial/subcommands/add-typer.md141 - tutorial/subcommands/single-file.md142 - tutorial/subcommands/nested-subcommands.md143 - tutorial/subcommands/callback-override.md144 - tutorial/subcommands/name-and-help.md145 - Multiple Values:146 - tutorial/multiple-values/index.md147 - tutorial/multiple-values/multiple-options.md148 - tutorial/multiple-values/options-with-multiple-values.md149 - tutorial/multiple-values/arguments-with-multiple-values.md150 - tutorial/prompt.md151 - tutorial/progressbar.md152 - tutorial/app-dir.md153 - tutorial/launch.md154 - tutorial/testing.md155 - tutorial/using-click.md156 - tutorial/package.md157 - tutorial/exceptions.md158 - tutorial/one-file-per-command.md159 - tutorial/typer-command.md📝 Add reference (code API) docs (#1504)Sofie Van Landeghembefore adoption2d529b2
lines 160–166why, one step back160 - Reference (Code API):161 - reference/index.md162 - reference/typer.md163 - reference/run_launch.md164 - reference/parameters.md165 - reference/file_objects.md166 - reference/context.md📝 Update release notesgithub-actions[bot]before adoptioncf27022
lines 167–178why, one step back167 - Resources:168 - resources/index.md169 - help-typer.md170 - contributing.md171 - management-tasks.md172 - About:173 - about/index.md174 - alternatives.md175 - management.md176 - release-notes.md177178markdown_extensions:🔧 Upgrade Material for MkDocs and remove insiders (#1416)Sebastián Ramírezbefore adoptionf327548
lines 179–183why, one step back179 # Material for MkDocs Extensions180 material.extensions.preview:181 targets:182 include:183 - "*"📝 Update release notesgithub-actions[bot]before adoptioncf27022
lines 184–255why, one step back184 # Python Markdown185 abbr:186 attr_list:187 footnotes:188 md_in_html:189 tables:190 toc:191 permalink: true192193 # Python Markdown Extensions194 pymdownx.betterem:195 smart_enable: all196 pymdownx.caret:197 pymdownx.highlight:198 line_spans: __span199 pymdownx.inlinehilite:200 pymdownx.keys:201 pymdownx.mark:202 pymdownx.superfences:203 custom_fences:204 - name: mermaid205 class: mermaid206 format: !!python/name:pymdownx.superfences.fence_code_format207 pymdownx.tilde:208209 # pymdownx blocks210 pymdownx.blocks.admonition:211 types:212 - note213 - attention214 - caution215 - danger216 - error217 - tip218 - hint219 - warning220 # Custom types221 - info222 - check223 pymdownx.blocks.details:224 pymdownx.blocks.tab:225 alternate_style: True226227 # Other extensions228 mdx_include:229 markdown_include_variants:230231extra:232 social:233 - icon: fontawesome/brands/github-alt234 link: https://github.com/fastapi/typer235 - icon: fontawesome/brands/twitter236 link: https://twitter.com/tiangolo237 - icon: fontawesome/brands/linkedin238 link: https://www.linkedin.com/in/tiangolo239 - icon: fontawesome/brands/dev240 link: https://dev.to/tiangolo241 - icon: fontawesome/brands/medium242 link: https://medium.com/@tiangolo243 - icon: fontawesome/solid/globe244 link: https://tiangolo.com245246extra_css:247 - css/termynal.css248 - css/custom.css249250extra_javascript:251 - js/termynal.js252 - js/custom.js253254hooks:255 - scripts/mkdocs_hooks.py