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

# General
site_name: InvokeAI Stable Diffusion Toolkit Docs
site_url: https://invoke-ai.github.io/InvokeAI
site_author: mauwii
dev_addr: '127.0.0.1:8080'

# Repository
repo_name: 'invoke-ai/InvokeAI'
repo_url: 'https://github.com/invoke-ai/InvokeAI'
edit_uri: edit/main/docs/

# Copyright
copyright: Copyright © 2023 InvokeAI Team

# Configuration
theme:
  name: material
  icon:
    repo: fontawesome/brands/github
    edit: material/file-document-edit-outline
  palette:
    - media: '(prefers-color-scheme: light)'
      scheme: default
      toggle:
        icon: material/lightbulb
        name: Switch to dark mode
    - media: '(prefers-color-scheme: dark)'
      scheme: slate
      primary: blue
      toggle:
        icon: material/lightbulb-outline
        name: Switch to light mode
  features:
    - navigation.instant
    - navigation.tabs
    - navigation.tabs.sticky
    - navigation.top
    - navigation.tracking
    - navigation.indexes
    - navigation.path
    - search.highlight
    - search.suggest
    - toc.integrate

# Extensions
markdown_extensions:
  - abbr
  - admonition
  - attr_list
  - def_list
  - footnotes
  - md_in_html
  - toc:
      permalink: '#'
  - pymdownx.arithmatex:
      generic: true
  - pymdownx.betterem:
      smart_enable: all
  - pymdownx.caret
  - pymdownx.details
  - pymdownx.emoji:
      emoji_index: !!python/name:materialx.emoji.twemoji
      emoji_generator: !!python/name:materialx.emoji.to_svg
  - pymdownx.highlight:
      anchor_linenums: true
  - pymdownx.inlinehilite
  - pymdownx.keys
  - pymdownx.magiclink:
      repo_url_shorthand: true
      user: 'invoke-ai'
      repo: 'InvokeAI'
  - pymdownx.mark
  - pymdownx.smartsymbols
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
  - pymdownx.snippets
  - pymdownx.tabbed:
      alternate_style: true
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.tilde
  - tables

plugins:
  - search
  - git-revision-date-localized:
      enable_creation_date: true
  - redirects:
      redirect_maps:
          'installation/INSTALL_AUTOMATED.md': 'installation/010_INSTALL_AUTOMATED.md'
          'installation/INSTALL_MANUAL.md': 'installation/020_INSTALL_MANUAL.md'
          'installation/INSTALL_SOURCE.md': 'installation/020_INSTALL_MANUAL.md'
          'installation/INSTALL_DOCKER.md': 'installation/040_INSTALL_DOCKER.md'
          'installation/INSTALLING_MODELS.md': 'installation/050_INSTALLING_MODELS.md'
          'installation/INSTALL_PATCHMATCH.md': 'installation/060_INSTALL_PATCHMATCH.md'

nav:
    - Home: 'index.md'
    - Installation:
      - Overview: 'installation/index.md'
      - Installing with the Automated Installer: 'installation/010_INSTALL_AUTOMATED.md'
      - Installing manually: 'installation/020_INSTALL_MANUAL.md'
      - NVIDIA Cuda / AMD ROCm: 'installation/030_INSTALL_CUDA_AND_ROCM.md'
      - Installing with Docker: 'installation/040_INSTALL_DOCKER.md'
      - Installing Models: 'installation/050_INSTALLING_MODELS.md'
      - Installing PyPatchMatch: 'installation/060_INSTALL_PATCHMATCH.md'
      - Installing xFormers: 'installation/070_INSTALL_XFORMERS.md'
      - Developers Documentation: 'installation/Developers_documentation/BUILDING_BINARY_INSTALLERS.md'
      - Deprecated Documentation:
        - Binary Installer: 'installation/deprecated_documentation/INSTALL_BINARY.md'
        - Runninng InvokeAI on Google Colab: 'installation/deprecated_documentation/INSTALL_JUPYTER.md'
        - Manual Installation on Linux: 'installation/deprecated_documentation/INSTALL_LINUX.md'
        - Manual Installation on macOS: 'installation/deprecated_documentation/INSTALL_MAC.md'
        - Manual Installation on Windows: 'installation/deprecated_documentation/INSTALL_WINDOWS.md'
        - Installing Invoke with pip: 'installation/deprecated_documentation/INSTALL_PCP.md'
        - Source Installer: 'installation/deprecated_documentation/INSTALL_SOURCE.md'
    - Community Nodes:
      - Community Nodes: 'nodes/communityNodes.md'
      - Overview: 'nodes/overview.md'
    - Features:
      - Overview: 'features/index.md'
      - Concepts: 'features/CONCEPTS.md'
      - Configuration: 'features/CONFIGURATION.md'
      - ControlNet: 'features/CONTROLNET.md'
      - Image-to-Image: 'features/IMG2IMG.md'
      - Controlling Logging: 'features/LOGGING.md'
      - Model Merging: 'features/MODEL_MERGING.md'
      - Nodes Editor (Experimental): 'features/NODES.md'
      - NSFW Checker: 'features/NSFW.md'
      - Postprocessing: 'features/POSTPROCESS.md'
      - Prompting Features: 'features/PROMPTS.md'
      - Training: 'features/TRAINING.md'
      - Unified Canvas: 'features/UNIFIED_CANVAS.md'
      - Variations: 'features/VARIATIONS.md'
      - InvokeAI Web Server: 'features/WEB.md'
      - WebUI Hotkeys: "features/WEBUIHOTKEYS.md"
      - Other: 'features/OTHER.md'
    - Contributing:
      - How to Contribute: 'contributing/CONTRIBUTING.md'
      - Development:
        - Overview: 'contributing/contribution_guides/development.md'
        - InvokeAI Architecture: 'contributing/ARCHITECTURE.md'
        - Frontend Documentation: 'contributing/contribution_guides/development_guides/contributingToFrontend.md'
        - Local Development: 'contributing/LOCAL_DEVELOPMENT.md'
      - Documentation: 'contributing/contribution_guides/documentation.md'
      - Translation: 'contributing/contribution_guides/translation.md'
      - Tutorials: 'contributing/contribution_guides/tutorials.md'
    - Changelog: 'CHANGELOG.md'
    - Deprecated:
      - Command Line Interface: 'deprecated/CLI.md'
      - Embiggen: 'deprecated/EMBIGGEN.md'
      - Inpainting: 'deprecated/INPAINTING.md'
      - Outpainting: 'deprecated/OUTPAINTING.md'
    - Help:
      - Sampler Convergence: 'help/SAMPLER_CONVERGENCE.md'
    - Other:
      - Contributors: 'other/CONTRIBUTORS.md'
      - CompViz-README: 'other/README-CompViz.md'