# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json

site_name: AboutOss
copyright: 'Copyright &copy; 2025 Frédéric Barthéléry'
repo_url: https://github.com/fbarthelery/AboutOss

theme:
  name: material
  palette:
    # Palette toggle for automatic mode
    - media: "(prefers-color-scheme)"
      toggle:
        icon: material/brightness-auto
        name: Switch to light mode
    - media: "(prefers-color-scheme: light)"
      scheme: default
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    - media: '(prefers-color-scheme: dark)'
      scheme: slate
      toggle:
        icon: material/brightness-4
        name: Switch to light mode
  icon:
    repo: fontawesome/brands/github

  features:
    - content.code.copy

markdown_extensions:
  - pymdownx.highlight:
      line_spans: __span
      pygments_lang_class: true
  - pymdownx.inlinehilite
  - pymdownx.snippets
  - pymdownx.superfences

nav:
  - Home: index.md
  - API: api/index.html
  - "Discussions ⏏": https://github.com/fbarthelery/AboutOss/discussions