File: mkdocs.yml

package info (click to toggle)
python-odmantic 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,488 kB
  • sloc: python: 8,646; sh: 110; javascript: 45; makefile: 34; xml: 13
file content (120 lines) | stat: -rw-r--r-- 2,978 bytes parent folder | download | duplicates (2)
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
site_name: ODMantic
site_description: AsyncIO MongoDB ODM (Object Document Mapper) using python type hinting
repo_name: art049/odmantic
repo_url: https://github.com/art049/odmantic
site_url: https://art049.github.io/odmantic/
docs_dir: ./docs
site_dir: ./site

theme:
  name: material
  palette:
    - media: "(prefers-color-scheme: light)"
      scheme: default
      primary: green
      accent: green
      toggle:
        icon: material/weather-night
        name: Switch to dark mode
    - media: "(prefers-color-scheme: dark)"
      scheme: slate
      primary: green
      accent: green
      toggle:
        icon: material/weather-sunny
        name: Switch to light mode
  icon:
    logo: material/spa
    repo: fontawesome/brands/github
  features:
    - instant
    - content.tabs.link

extra_css:
  - css/extra.css

extra_javascript:
  - js/gitter.js
  - https://sidecar.gitter.im/dist/sidecar.v1.js

extra_templates:
  - sitemap.xml

markdown_extensions:
  - admonition
  - attr_list
  - def_list
  - toc:
      permalink: true
      toc_depth: 4
  - codehilite:
      linenums: true
      guess_lang: false
  - pymdownx.snippets:
      base_path: docs/examples_src
      check_paths: true # Fail when the document to include is not found
  - pymdownx.tabbed:
      alternate_style: true
  - pymdownx.superfences
  - pymdownx.details
  - pymdownx.inlinehilite
  - pymdownx.magiclink:
      user: art049
      repo: odmantic
      repo_url_shorthand: true
  - pymdownx.emoji:
      emoji_index: !!python/name:pymdownx.emoji.twemoji

plugins:
  - search
  - macros:
      module_name: docs/main
  - mkdocstrings:
      custom_templates: docs/api_reference/templates
      default_handler: python
      handlers:
        python:
          rendering:
            show_source: true
            show_root_heading: true
watch:
  - odmantic/
  - docs/

nav:
  - Getting Started: index.md
  - fields.md
  - modeling.md
  - engine.md
  - querying.md
  - raw_query_usage.md
  - usage_fastapi.md
  - usage_pydantic.md
  - API Reference:
      - odmantic.model: ./api_reference/model.md
      - odmantic.engine: ./api_reference/engine.md
      - odmantic.session: ./api_reference/session.md
      - odmantic.query: ./api_reference/query.md
      - odmantic.field: ./api_reference/field.md
      - odmantic.reference: ./api_reference/reference.md
      - odmantic.index: ./api_reference/index.md
      - odmantic.bson: ./api_reference/bson.md
      - odmantic.exceptions: ./api_reference/exceptions.md
      - odmantic.config: ./api_reference/config.md
  - contributing.md
  - changelog.md
  - migration_guide.md

extra:
  social:
    - icon: fontawesome/brands/github
      link: https://github.com/art049
    - icon: fontawesome/brands/twitter
      link: https://twitter.com/art049
    - icon: fontawesome/brands/linkedin
      link: https://www.linkedin.com/in/arthur-pastel-a08579112
  analytics:
    provider: google
    property: UA-180814888-1

use_directory_urls: false