site_name: ScoDoc

theme:
  # name: mkdocs
  name: material
  navigation_depth: 3
  features:
    - navigation.tabs
    - toc.follow
    - navigation.top
  palette:
    primary: light blue
  language: fr
  logo: assets/images/android-chrome-192x192.png

extra_css:
  - stylesheets/extra.css

nav:
  - Accueil: index.md
  - Documentation:
      - "Guide utilisateur": GuideUtilisateur.md
      - "Tutos vidéos": https://www.youtube.com/playlist?list=PLw49h6RbvswhasBk9bXj7PzOD8GDW3kG1
      - "Responsables de formations": GuideAdminFormation.md
      - "Le BUT": BUT.md
      - "FAQ": FAQ.md

  - Installation:
      - "Guide administration": GuideAdminSys.md
      - "Installation": GuideInstallDebian11.md
      - "Mises à jour": MisesAJour.md
      - "Interfaces SI": InterrogationPortail.md
      - "Publication des notes": PublicationEtudiants.md
      - "Export Apogée": ScoDocApogee.md

  - Association:
      - "Association 1901": AssociationScoDoc.md
      - "Utilisateurs": UtilisateursScoDoc.md

  - Développement:
      - "Git": https://scodoc.org/git
      - "Guide Développeurs": GuideDeveloppeurs.md
      - "API (interfaçages autres logiciels)": ScoDoc9API.md

  - FAQ: FAQ.md

# theme: readthedocs

# Pour LaTex, juste faire pip install python-markdown-math
# dans l'environnement choisi (mkdocs)
#extra_javascript:
#    - https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML

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

markdown_extensions:
  - pymdownx.arithmatex:
      generic: true
  - footnotes
  - pymdownx.tasklist:
      custom_checkbox: true
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
