|
| 1 | +# Project information |
| 2 | +site_name: "flet-flashlight" |
| 3 | +site_url: https://flet-dev.github.io/flet-flashlight/ |
| 4 | +site_author: Flet Contributors |
| 5 | +site_description: A Flet extension to manage the device torch/flashlight. |
| 6 | + |
| 7 | +# Repository |
| 8 | +edit_uri: edit/main/docs/ |
| 9 | +repo_name: flet-dev/flet-flashlight |
| 10 | +repo_url: https://github.com/flet-dev/flet-flashlight |
| 11 | + |
| 12 | +# Copyright |
| 13 | +copyright: Copyright © 2025 Flet Contributors |
| 14 | + |
| 15 | +# Theme |
| 16 | +theme: |
| 17 | + name: "material" |
| 18 | + favicon: 'images/favicon.ico' |
| 19 | + logo: 'images/logo.svg' |
| 20 | + icon: |
| 21 | + annotation: material/plus-circle |
| 22 | + palette: |
| 23 | + - scheme: default |
| 24 | + primary: indigo |
| 25 | + accent: pink |
| 26 | + toggle: |
| 27 | + icon: material/brightness-7 |
| 28 | + name: Switch to dark mode |
| 29 | + - scheme: slate |
| 30 | + primary: indigo |
| 31 | + accent: pink |
| 32 | + toggle: |
| 33 | + icon: material/brightness-4 |
| 34 | + name: Switch to system preference |
| 35 | + - scheme: slate |
| 36 | + primary: indigo |
| 37 | + accent: pink |
| 38 | + toggle: |
| 39 | + icon: material/brightness-auto |
| 40 | + name: Switch to light mode |
| 41 | + features: |
| 42 | + - content.action.edit |
| 43 | + - content.action.view |
| 44 | + - content.action.annotate |
| 45 | + - content.action.copy |
| 46 | + - content.action.tooltips |
| 47 | + - content.code.annotate |
| 48 | + - content.code.copy |
| 49 | + - content.code.select |
| 50 | + # - navigation.tabs |
| 51 | + - navigation.instant |
| 52 | + - navigation.tracking |
| 53 | + - navigation.sections |
| 54 | + - navigation.footer |
| 55 | + - navigation.top |
| 56 | + - search.highlight |
| 57 | + - search.share |
| 58 | + - search.suggest |
| 59 | + - toc.follow |
| 60 | + |
| 61 | +extra: |
| 62 | + version: |
| 63 | + provider: mike |
| 64 | + social: |
| 65 | + - icon: fontawesome/brands/github |
| 66 | + link: https://github.com/flet-dev |
| 67 | + - icon: fontawesome/brands/discord |
| 68 | + link: https://discord.gg/bCFXYgZR3b |
| 69 | + - icon: fontawesome/brands/x-twitter |
| 70 | + link: https://x.com/fletdev |
| 71 | + - icon: fontawesome/brands/bluesky |
| 72 | + link: https://bsky.app/profile/fletdev.bsky.social |
| 73 | + |
| 74 | +# Navigation |
| 75 | +nav: |
| 76 | + - Getting Started: index.md |
| 77 | + - API Reference: |
| 78 | + - Lottie: lottie.md |
| 79 | + - Changelog: changelog.md |
| 80 | + - License: license.md |
| 81 | + |
| 82 | +# Validation |
| 83 | +validation: |
| 84 | + omitted_files: warn |
| 85 | + absolute_links: warn |
| 86 | + unrecognized_links: warn |
| 87 | + anchors: warn |
| 88 | + |
| 89 | +# Watch |
| 90 | +watch: |
| 91 | + - docs |
| 92 | + - src |
| 93 | + |
| 94 | +# Plugins |
| 95 | +plugins: |
| 96 | + # - footnotes |
| 97 | + - search: |
| 98 | + lang: en |
| 99 | + - mike: |
| 100 | + alias_type: symlink |
| 101 | + - glightbox |
| 102 | + - mkdocstrings: |
| 103 | + default_handler: python_xref |
| 104 | + handlers: |
| 105 | + python_xref: |
| 106 | + options: |
| 107 | + relative_crossrefs: true |
| 108 | + docstring_style: google |
| 109 | + show_signature_annotations: true |
| 110 | + signature_crossrefs: true |
| 111 | + show_symbol_type_heading: true |
| 112 | + show_symbol_type_toc: true |
| 113 | + show_root_heading: true |
| 114 | + show_root_full_path: false |
| 115 | + show_bases: true |
| 116 | + show_source: false |
| 117 | + group_by_category: true |
| 118 | + show_category_heading: false |
| 119 | + show_labels: false |
| 120 | + show_if_no_docstring: true |
| 121 | + docstring_section_style: spacy |
| 122 | + filters: |
| 123 | + - "!^_" # Exclude private members starting with only one underscore |
| 124 | + - "^__" # Include private members starting with two underscores |
| 125 | + - "!before_update" |
| 126 | + inventories: |
| 127 | + - url: https://docs.python.org/3/objects.inv |
| 128 | + domains: [ py, std ] |
| 129 | + - url: https://typing-extensions.readthedocs.io/en/latest/objects.inv |
| 130 | + |
| 131 | +# Markdown Extensions |
| 132 | +markdown_extensions: |
| 133 | + - admonition |
| 134 | + - toc: |
| 135 | + permalink: "#" |
| 136 | + - pymdownx.highlight: |
| 137 | + anchor_linenums: true |
| 138 | + line_spans: __span |
| 139 | + pygments_lang_class: true |
| 140 | + - pymdownx.inlinehilite |
| 141 | + - pymdownx.snippets |
| 142 | + - pymdownx.superfences |
| 143 | + - pymdownx.details |
| 144 | + - pymdownx.magiclink: |
| 145 | + repo_url_shorthand: true |
| 146 | + - pymdownx.tabbed: |
| 147 | + alternate_style: true |
| 148 | + - attr_list |
| 149 | + - md_in_html |
| 150 | + - def_list |
| 151 | + - pymdownx.tasklist: |
| 152 | + custom_checkbox: true |
0 commit comments