site_name: TRaSH Guides
site_description: Guides mainly for Sonarr/Radarr/Bazarr and everything related to it.
site_author: TRaSH
site_url: https://trash-guides.info/

repo_url: https://github.com/TRaSH-/Guides
repo_name: TRaSH-/Guides

copyright: Copyright &copy; 2022 TRaSH

extra:
  analytics:
    provider: google
    property: G-ZZKM4MPQXL
  social:
    - icon: fontawesome/brands/discord
      link: https://trash-guides.info/discord
    - icon: fontawesome/brands/square-github
      link: https://github.com/TRaSH-/Guides

extra_css:
  - stylesheets/extra.css
  - stylesheets/github-permalink-style.css

markdown_extensions:
  - admonition
  - pymdownx.caret
  - pymdownx.critic
  - pymdownx.details
  - pymdownx.emoji:
      emoji_index: !!python/name:materialx.emoji.twemoji
      emoji_generator: !!python/name:materialx.emoji.to_svg
  - pymdownx.extra
  - pymdownx.highlight:
      guess_lang: true
  - pymdownx.keys
  - pymdownx.mark
  - pymdownx.snippets
  - pymdownx.tabbed
  - pymdownx.tilde
  - toc:
      permalink: ""
      toc_depth: 5

plugins:
  - include-markdown:
      opening_tag: "{!"
      closing_tag: "!}"
  - markdownextradata:
      data: docs/json
  - search
  - git-revision-date-localized:
      type: datetime
      locale: en
  #    fallback_to_build_date: false
  - awesome-pages
  - glightbox:
      touchNavigation: true
      loop: false
      effect: zoom
      width: 100%
      height: auto
      zoomable: true
      draggable: true
      auto_caption: false
      caption_position: bottom
  - macros:
      j2_block_start_string: "[[%"
      j2_block_end_string: "%]]"
      j2_variable_start_string: "[["
      j2_variable_end_string: "]]"
  - redirects:
      redirect_maps:
        updates.txt: updates.txt
        discord.md: https://discord.gg/4K2kdvwzFh
        syno-script.md: https://github.com/TRaSH-/Guides-Synology-Templates/blob/main/script/trash_syno_installer.sh
        # Radarr redirects
        Radarr/Radarr-setup-custom-formats.md: Radarr/radarr-setup-quality-profiles.md
        Radarr/radarr-setup-custom-formats-anime.md: Radarr/radarr-setup-quality-profiles-anime.md
        Radarr/radarr-setup-custom-formats-french.md: Radarr/radarr-setup-quality-profiles-french-en.md
        # Sonarr redirects
        Sonarr/sonarr-setup-custom-formats.md: Sonarr/sonarr-setup-quality-profiles.md
        Sonarr/sonarr-setup-custom-formats-anime.md: Sonarr/sonarr-setup-quality-profiles-anime.md
        # How to old redirects
        How-to-setup-for/index.md: Hardlinks/How-to-setup-for/index.md
        How-to-setup-for/Docker.md: Hardlinks/How-to-setup-for/Docker.md
        How-to-setup-for/Dockstarter.md: Hardlinks/How-to-setup-for/Dockstarter.md
        How-to-setup-for/Native.md: Hardlinks/How-to-setup-for/Native.md
        How-to-setup-for/Synology.md: Hardlinks/How-to-setup-for/Synology.md
        How-to-setup-for/Unraid.md: Hardlinks/How-to-setup-for/Unraid.md
        # Random redirects
        Misc/trash-sync.md: Guide-Sync/index.md
        # Shortcuts redirects
        hardlinks.md: Hardlinks/Hardlinks-and-Instant-Moves.md
        hardlink.md: Hardlinks/Hardlinks-and-Instant-Moves.md
        check-hardlinks.md: Hardlinks/Check-if-hardlinks-are-working.md
        custom-formats.md: Radarr/Radarr-collection-of-custom-formats.md
        cf.md: Radarr/Radarr-collection-of-custom-formats.md
        TorGuard.md: Misc/How-to-setup-Torguard-for-port-forwarding.md
        torguard.md: Misc/How-to-setup-Torguard-for-port-forwarding.md
        compose.md: Misc/how-to-provide-a-docker-compose.md
        Golden-Rule.md: Misc/x265-4k.md
        show-unknown.md: Radarr/Tips/Radarr-show-unknown-movie-items.md
        merge-quality.md: Radarr/Tips/Merge-quality.md
        jdupes.md: Hardlinks/Replace-copies-with-hardlinks.md

theme:
  name: material
  custom_dir: overrides
  features:
    - navigation.instant
    - navigation.tabs
    - navigation.top
    - content.code.copy
    - content.action.edit
    - content.action.view
  language: en
  palette:
    - media: "(prefers-color-scheme: dark)"
      primary: indigo
      accent: blue
      scheme: slate
      toggle:
        icon: material/toggle-switch
        name: Switch to light mode
    - media: "(prefers-color-scheme: light)"
      primary: indigo
      accent: blue
      scheme: default
      toggle:
        icon: material/toggle-switch-off-outline
        name: Switch to dark mode
  font:
    text: "Noto Sans"
    code: "Encode Sans Expanded"
  favicon: img/favicon.png
  logo: img/logo.png
