-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs-dsfr.yml
More file actions
113 lines (100 loc) · 3.04 KB
/
mkdocs-dsfr.yml
File metadata and controls
113 lines (100 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Configuration DSFR POC - Test compatibilité mkdocs-dsfr
# Date: 2025-10-07
# Phase: POC Phase 1 (S7-01)
# Basé sur: mkdocs.yml (Material)
site_name: ""
site_url: https://alexmacapple.github.io/span-sg/
strict: true
# Configuration dépôt (requis pour bouton Éditer)
repo_url: https://github.com/Alexmacapple/span-sg
edit_uri: blob/main/docs/
theme:
name: dsfr
language: fr # Note: Doc officielle dit "locale" mais génère warning. "language" fonctionne.
# Configuration par défaut DSFR
include_search_page: true
afficher_date_de_revision: false
afficher_menu_lateral: true
afficher_sommaire: true # Réactivé avec hook fix_sidemenu_ids.py pour corriger les IDs
afficher_bouton_editer: true
libelle_bouton_editer: "Éditer dans GitHub"
bouton_hautdepage: right
# Intitulé République Française
intitule: "GOUVERNEMENT"
# Configuration header DSFR
header:
titre: "SPAN SG"
sous_titre: "Schéma Pluriannuel d'Accessibilité Numérique - Secrétariat Général"
# Note: liens_rapides non supporté dans mkdocs-dsfr 0.17.0 (ignoré silencieusement)
# Configuration footer DSFR
footer:
description: "Schéma Pluriannuel d'Accessibilité Numérique du Secrétariat Général - Ministère de l'Économie des Finances et de la Souveraineté industrielle et énergétique"
links:
- name: legifrance.gouv.fr
url: https://legifrance.gouv.fr
- name: service-public.fr
url: https://service-public.fr
- name: data.gouv.fr
url: https://data.gouv.fr
- name: info.gouv.fr
url: https://info.gouv.fr
# Liens footer bottom (RGAA 4.1 désactivé)
# bottom_links:
plugins:
- search:
lang: fr
# - git-revision-date-localized:
# enable_creation_date: false
- open-in-new-tab
nav:
- Accueil: accueil.md
- SPAN (SG): span-sg.md
- SPAN par direction du SG:
- BGS: modules/bgs.md
- SAFI: modules/safi.md
- SIEP: modules/siep.md
- SIRCOM: modules/sircom.md
- SNUM: modules/snum.md
- SRH: modules/srh.md
- Synthèse: synthese.md
- Processus: processus.md
- Guide d'accompagnement: accompagnement.md
- Téléchargement PDF: telechargement-pdf.md
hooks:
- hooks/dsfr_table_wrapper.py
- hooks/title_cleaner.py
- hooks/pdf_copy.py
- hooks/card_heading_level.py
- hooks/search_input_label.py
- hooks/pagination_title.py
- hooks/fix_sidemenu_ids.py
extra_javascript:
- assets/extra.js
extra_css:
- assets/custom.css
markdown_extensions:
- dsfr_structure.extension.all_extensions
- pymdownx.snippets
- pymdownx.tasklist:
custom_checkbox: true
clickable_checkbox: true
- pymdownx.highlight:
use_pygments: true
- pymdownx.emoji:
options:
attributes:
align: absmiddle
height: 20px
width: 20px
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- toc:
permalink: false
toc_depth: 3
- attr_list
- def_list
- tables
- md_in_html