diff --git a/.gitignore b/.gitignore index d5c4b8c..5b8cd31 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ __pycache__/ # SVG intermediaires du schema (regeneres par docs/schema_parametres.py) docs/*.svg + +# Page de presentation : hors depot (publiee par site/deploy.ps1) +site/ diff --git a/docs/parametres.png b/docs/parametres.png index a828bb1..385f955 100644 Binary files a/docs/parametres.png and b/docs/parametres.png differ diff --git a/docs/schema_parametres.py b/docs/schema_parametres.py index f386cdb..d01badd 100644 --- a/docs/schema_parametres.py +++ b/docs/schema_parametres.py @@ -330,11 +330,12 @@ def panel_edge(): .format(fmt(cx), fmt(cy), fmt(r), EDGE)) out.append(''.format(fmt(cx), fmt(cy), fmt(r - margin), DIM)) - u = unit(35) + # Cote et legende cote gauche : a droite, la legende sortirait du panneau + u = unit(145) dimension((cx + (r - margin) * u[0], cy + (r - margin) * u[1]), (cx + r * u[0], cy + r * u[1]), 0, "", color=DIM) text(cx + (r + 12) * u[0], cy + (r + 12) * u[1] - 4, T["margin"], size=17, - color=DIM, weight="bold") + color=DIM, anchor="end", weight="bold") text(cx, cy + r + 30 * FS, T["whole"], size=17, anchor="middle", weight="bold", halo=False) note(30, H - 28, T["note3"]) diff --git a/images/parameters_en.png b/images/parameters_en.png index 8d20bed..8538ccb 100644 Binary files a/images/parameters_en.png and b/images/parameters_en.png differ