fix: Script team-block-script.js avec remplacement DOM
- Nouvelle approche: remplace le DOM apres chargement (defer-compatible) - Charge Cytoscape, ECharts dynamiquement - Initialise les 3 visualisations: graphe reseau, matrice congestion, equipe genese - Ajout de patch_document.py pour inclure le script dans _document.tsx
This commit is contained in:
@@ -99,6 +99,12 @@ RUN echo "📊 Comptage des fichiers .md dans .techradar/data/radar" && \
|
||||
RUN mkdir -p .techradar/src/pages
|
||||
COPY docker/team-page.tsx .techradar/src/pages/team.tsx
|
||||
|
||||
# Modifier _document.tsx pour charger team-block-script.js en premier (avant le rendu)
|
||||
COPY docker/patch_document.py /tmp/patch_document.py
|
||||
RUN python3 /tmp/patch_document.py && \
|
||||
echo "📄 _document.tsx apres modification:" && \
|
||||
cat .techradar/src/pages/_document.tsx
|
||||
|
||||
# Script Python pour ajouter le lien Équipe dans Navigation.tsx (supprime TOUS les doublons)
|
||||
COPY docker/add_team_link.py /tmp/add_team_link.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user