site_name: ScoDoc

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

extra_css:
  - stylesheets/extra.css

plugins:
  - search
  - inline-svg

nav:
  - Accueil:
      - "Accueil": index.md
      - "Documentation": GuideUtilisateur.md
      - "Installation": GuideAdminSys.md
      - "Association": AssociationScoDoc.md
      - "Développement": GuideDeveloppeurs.md

  - Documentation:
      - "Guide utilisateur": GuideUtilisateur.md
      - "Tutos vidéos": https://www.youtube.com/playlist?list=PLw49h6RbvswhasBk9bXj7PzOD8GDW3kG1
      - "Responsables de formations":
          - "Guide": GuideAdminFormation.md
          - "Programmes de formations": Formations.md
          - "Capitalisation des UEs": CapitalisationUE.md
          - "Inscription Apogée": InscriptionsEtudApogee.md
          - "Synchro Apogée": SynchroApogee.md
          - "Importation d'étudiants": ImportationEtuds.md
          - "Fin de semestre": TransitionSemestre.md

      - "Le BUT":
          - "Le BUT: introduction": BUT.md
          - "BUT: exemple complet": BUTExempleInfo.md
          - "BUT: capitalisation UEs": BUTCapitalisationUE.md
      - "Relations entreprises": RelationsEntreprises.md
      - "Développeurs":
          - "Guide": GuideDeveloppeurs.md
          - "Git": DevGit.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:
      - "Guide Développeurs": GuideDeveloppeurs.md
      - "Gitea": https://scodoc.org/git
      - "API": ScoDoc9API.md
      - "Introduction": DevInternals.md
      - "Utiliser Git": DevGit.md
      - "Config serveur dev.": ConseilServeurDev.md
      - "Tests unitaires": TestsScoDoc.md
  - "Contacts": Contact.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:
  - toc:
      permalink: true
  - admonition
  - pymdownx.details
  - 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
