|
| 1 | +site_name: geo-index |
| 2 | +repo_name: kylebarron/geo-index |
| 3 | +repo_url: https://github.com/kylebarron/geo-index |
| 4 | +site_description: A Python library and Rust crate for packed, immutable, zero-copy spatial indexes. |
| 5 | +site_author: Kyle Barron |
| 6 | +# Note: trailing slash recommended with mike: |
| 7 | +# https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/#publishing-a-new-version |
| 8 | +site_url: https://kylebarron.dev/geo-index/ |
| 9 | +docs_dir: docs |
| 10 | + |
| 11 | +extra: |
| 12 | + social: |
| 13 | + - icon: "fontawesome/brands/github" |
| 14 | + link: "https://github.com/kylebarron" |
| 15 | + - icon: "fontawesome/brands/twitter" |
| 16 | + link: "https://twitter.com/kylebarron2" |
| 17 | + - icon: "fontawesome/brands/linkedin" |
| 18 | + link: "https://www.linkedin.com/in/kylebarrongeo/" |
| 19 | + version: |
| 20 | + provider: mike |
| 21 | + |
| 22 | +nav: |
| 23 | + - "index.md" |
| 24 | + - API Reference: |
| 25 | + - api/rtree.md |
| 26 | + - api/kdtree.md |
| 27 | + |
| 28 | +watch: |
| 29 | + - python |
| 30 | + - docs |
| 31 | + |
| 32 | +theme: |
| 33 | + name: material |
| 34 | + palette: |
| 35 | + # Palette toggle for automatic mode |
| 36 | + - media: "(prefers-color-scheme)" |
| 37 | + toggle: |
| 38 | + icon: material/brightness-auto |
| 39 | + name: Switch to light mode |
| 40 | + |
| 41 | + # Palette toggle for light mode |
| 42 | + - media: "(prefers-color-scheme: light)" |
| 43 | + primary: default |
| 44 | + accent: deep orange |
| 45 | + toggle: |
| 46 | + icon: material/brightness-7 |
| 47 | + name: Switch to dark mode |
| 48 | + |
| 49 | + # Palette toggle for dark mode |
| 50 | + - media: "(prefers-color-scheme: dark)" |
| 51 | + scheme: slate |
| 52 | + primary: default |
| 53 | + accent: deep orange |
| 54 | + toggle: |
| 55 | + icon: material/brightness-4 |
| 56 | + name: Switch to system preference |
| 57 | + |
| 58 | + font: |
| 59 | + text: Roboto |
| 60 | + code: Roboto Mono |
| 61 | + |
| 62 | + features: |
| 63 | + - content.code.annotate |
| 64 | + - content.code.copy |
| 65 | + - navigation.indexes |
| 66 | + - navigation.instant |
| 67 | + - navigation.tracking |
| 68 | + - search.suggest |
| 69 | + - search.share |
| 70 | + |
| 71 | +plugins: |
| 72 | + - search |
| 73 | + - social |
| 74 | + - mike: |
| 75 | + alias_type: "copy" |
| 76 | + canonical_version: "latest" |
| 77 | + - mkdocstrings: |
| 78 | + enable_inventory: true |
| 79 | + handlers: |
| 80 | + python: |
| 81 | + paths: [obstore/python] |
| 82 | + options: |
| 83 | + # We set allow_inspection: false to ensure that all docstrings come |
| 84 | + # from the pyi files, not the Rust-facing doc comments. |
| 85 | + allow_inspection: false |
| 86 | + docstring_section_style: list |
| 87 | + docstring_style: google |
| 88 | + line_length: 80 |
| 89 | + separate_signature: true |
| 90 | + show_root_heading: true |
| 91 | + show_signature_annotations: true |
| 92 | + show_source: false |
| 93 | + show_symbol_type_toc: true |
| 94 | + signature_crossrefs: true |
| 95 | + extensions: |
| 96 | + - griffe_inherited_docstrings |
| 97 | + |
| 98 | + import: |
| 99 | + - https://docs.python.org/3/objects.inv |
| 100 | + - https://kylebarron.dev/arro3/latest/objects.inv |
| 101 | + |
| 102 | +# https://github.com/developmentseed/titiler/blob/50934c929cca2fa8d3c408d239015f8da429c6a8/docs/mkdocs.yml#L115-L140 |
| 103 | +markdown_extensions: |
| 104 | + - admonition |
| 105 | + - attr_list |
| 106 | + - codehilite: |
| 107 | + guess_lang: false |
| 108 | + - def_list |
| 109 | + - footnotes |
| 110 | + - md_in_html |
| 111 | + - pymdownx.arithmatex |
| 112 | + - pymdownx.betterem |
| 113 | + - pymdownx.caret: |
| 114 | + insert: false |
| 115 | + - pymdownx.details |
| 116 | + - pymdownx.emoji: |
| 117 | + emoji_index: !!python/name:material.extensions.emoji.twemoji |
| 118 | + emoji_generator: !!python/name:material.extensions.emoji.to_svg |
| 119 | + - pymdownx.escapeall: |
| 120 | + hardbreak: true |
| 121 | + nbsp: true |
| 122 | + - pymdownx.magiclink: |
| 123 | + hide_protocol: true |
| 124 | + repo_url_shortener: true |
| 125 | + - pymdownx.smartsymbols |
| 126 | + - pymdownx.superfences |
| 127 | + - pymdownx.tasklist: |
| 128 | + custom_checkbox: true |
| 129 | + - pymdownx.tilde |
| 130 | + - toc: |
| 131 | + permalink: true |
0 commit comments