Skip to content
Myr

mkdocs.yml

This file

Path

mkdocs.yml

255 lines · 6.7 KiB · YAML

Last changed by

💄 Fix code blocks in reference docs overflowing table width (#1630)Motov Yuriibefore adoptionf9e3c59

History of this file

Take it

The walk stopped after 200 commits: lines older than f955908 point at it.

📝 Update release notesgithub-actions[bot]before adoptionf955908

lines 1–69why, one step back
1INHERIT: ./mkdocs.env.yml
2site_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:62 typeset:63 # 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 back
70 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 adoptionf955908

lines 89–158why, one step back
89
90nav: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.md99 - tutorial/typer-app.md100 - 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/package.md156 - tutorial/exceptions.md157 - tutorial/one-file-per-command.md158 - tutorial/typer-command.md

📝 Add reference (code API) docs (#1504)Sofie Van Landeghembefore adoption2d529b2

lines 159–165why, one step back
159 - Reference (Code API):
160 - reference/index.md161 - reference/typer.md162 - reference/run_launch.md163 - reference/parameters.md164 - reference/file_objects.md165 - reference/context.md

📝 Update release notesgithub-actions[bot]before adoptionf955908

lines 166–197why, one step back
166 - Resources:
167 - resources/index.md168 - help-typer.md169 - contributing.md170 - management-tasks.md171 - About:172 - about/index.md173 - alternatives.md174 - management.md175 - release-notes.md176177markdown_extensions:178 # Material for MkDocs Extensions179 material.extensions.preview:180 targets:181 include:182 - "*"183 # Python Markdown184 abbr:185 attr_list:186 footnotes:187 md_in_html:188 tables:189 toc:190 permalink: true191192 # Python Markdown Extensions193 pymdownx.betterem:194 smart_enable: all195 pymdownx.caret:196 pymdownx.highlight:197 line_spans: __span

💄 Fix code blocks in reference docs overflowing table width (#1630)Motov Yuriibefore adoptionf9e3c59

line 198why, one step back
198 linenums_style: pymdownx-inline

📝 Update release notesgithub-actions[bot]before adoptionf955908

lines 199–255why, one step back
199 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