# ===========================================================
# NAVIGATION
# ===========================================================

nav:
  - Home: pages/home/home.md
  - About: README.md
  - Get started: get-started.md
  - Showcase: showcase.md


# ===========================================================
# CONFIGURATION
# ===========================================================

site_name: MkDocs MagicSpace
repo_url: https://github.com/Alnoda/workspaces-in-docker/tree/main/workspaces/base-workspace
site_url: https://alnoda.org
edit_uri: ""

# ===========================================================
# APPEARANCE
# ===========================================================

theme:
  name: 'material'
  favicon: 'assets/favicon.ico'
  logo: 'assets/Alnoda-logo.svg'
  custom_dir: overrides
  font:
    text: Lexend
  icon:
    repo: fontawesome/brands/github
  features:
    - search.suggest
  palette:
    - scheme: default
      toggle:
        icon: material/weather-sunny
        name: Switch to light mode
      primary: deep purple  
      accent: deep orange
    - scheme: slate
      toggle:
        icon: material/weather-night
        name: Switch to dark mode
      primary: deep purple
      accent: lime

extra:
  # Link to open when your logo is clicked
  homepage: https://alnoda.org
  host_url: http://localhost

plugins:
  - search
  # Enable Macros and jinja2 templates
  - macros:
      module_name: macros/helpers
  - awesome-pages
  # mermaid2 diagrams: https://mermaid-js.github.io/mermaid/#/
  - mermaid2:
      arguments:
        theme: forest   # default, forest, dark, neutral, base
        themeCSS: ".er.entityLabel{fill: black;} .messageLine0{stroke: orange;} .messageLine1{stroke: orange;} #arrowhead{fill: orange;} .messageText{fill: black; stroke: black}" 


markdown_extensions:
  - def_list
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.arithmatex:
      generic: true
  - admonition
  - pymdownx.inlinehilite
  - pymdownx.details
  - pymdownx.superfences:
      # make exceptions to highlighting of code:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:mermaid2.fence_mermaid
  - pymdownx.tabbed
  - abbr
  - pymdownx.snippets
  - attr_list
  - pymdownx.emoji:
      emoji_index: !!python/name:materialx.emoji.twemoji
      emoji_generator: !!python/name:materialx.emoji.to_svg
  - pymdownx.keys
  - pymdownx.betterem
  - pymdownx.caret
  - pymdownx.critic
  - pymdownx.escapeall
  - pymdownx.smartsymbols
  - pymdownx.tilde:
      smart_delete: true
  - footnotes

extra_javascript:
  - javascripts/config.js
  - https://polyfill.io/v3/polyfill.min.js?features=es6
  - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
  - https://unpkg.com/mermaid/dist/mermaid.min.js




          
 



