first commit
This commit is contained in:
BIN
template/CONDITIONS_GENERALES_DE_VENTE.docx
Normal file
BIN
template/CONDITIONS_GENERALES_DE_VENTE.docx
Normal file
Binary file not shown.
43
template/formation_template.yaml
Normal file
43
template/formation_template.yaml
Normal file
@@ -0,0 +1,43 @@
|
||||
# Configuration de remplacement pour dossier de formation
|
||||
# Usage:
|
||||
# 1. Creer un dossier pour la formation : mkdir formations/ma_formation
|
||||
# 2. Copier ce fichier dedans : cp template/formation_template.yaml formations/ma_formation/formation.yaml
|
||||
# 3. Editer le fichier copie avec les bonnes infos
|
||||
# 4. Lancer : python3 replace_docx.py formations/ma_formation/formation.yaml
|
||||
#
|
||||
# Le script copie automatiquement les .docx du template dans le dossier de la formation.
|
||||
# Les chemins sont relatifs a la racine du projet.
|
||||
|
||||
# Dossier contenant les .docx template
|
||||
dossier_source: template
|
||||
|
||||
# Liste des remplacements (appliques a TOUS les .docx copies)
|
||||
remplacements:
|
||||
# Infos formation
|
||||
- ancien: "Word - Initiation bureautique"
|
||||
nouveau: "Excel Avance - Tableaux croises dynamiques"
|
||||
|
||||
# Infos client
|
||||
- ancien: "Societe Martin SARL"
|
||||
nouveau: "Societe Dupont SAS"
|
||||
|
||||
# Dates
|
||||
- ancien: "10 et 11 mars 2026"
|
||||
nouveau: "15 et 16 avril 2026"
|
||||
|
||||
# Formateur
|
||||
- ancien: "Marie Martin"
|
||||
nouveau: "Jean Dupont"
|
||||
|
||||
# Lieu
|
||||
- ancien: "14 allee d'Argenson, Chatellerault"
|
||||
nouveau: "12 rue des Lilas, Poitiers"
|
||||
|
||||
# Duree
|
||||
- ancien: "7 heures (1 jour)"
|
||||
nouveau: "14 heures (2 jours)"
|
||||
|
||||
# Remplacement cible sur un seul fichier (optionnel)
|
||||
# - ancien: "Texte specifique a la convention"
|
||||
# nouveau: "Nouveau texte convention"
|
||||
# fichiers: ["convention.docx"]
|
||||
Reference in New Issue
Block a user