From 363a333d7c52cc7a6ba4a0f0096a1ae13565e356 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Wed, 21 Oct 2026 23:30:33 +0000 Subject: [PATCH] SPEC 0: show date axis at top of chart Assisted-by: Claude Code:claude-opus-5-5 --- spec-0000/SPEC0_versions.py | 9 ++++++++- spec-0000/chart.md | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/spec-0000/SPEC0_versions.py b/spec-0000/SPEC0_versions.py index ca2ad5cc..11ea0314 100644 --- a/spec-0000/SPEC0_versions.py +++ b/spec-0000/SPEC0_versions.py @@ -119,7 +119,14 @@ def get_release_dates(package, support_time=plus24): print("Saving Mermaid chart to chart.md") with open("chart.md", "w") as fh: fh.write( - """gantt + """--- +config: + gantt: + topAxis: true + gridLineStartPadding: 50 + themeCSS: '.grid .tick text[dy="0em"] { transform: translateY(-4px); }' +--- +gantt dateFormat YYYY-MM-DD axisFormat %m / %Y title Support Window""" diff --git a/spec-0000/chart.md b/spec-0000/chart.md index 3bb4832e..544d3963 100644 --- a/spec-0000/chart.md +++ b/spec-0000/chart.md @@ -1,3 +1,10 @@ +--- +config: + gantt: + topAxis: true + gridLineStartPadding: 50 + themeCSS: '.grid .tick text[dy="0em"] { transform: translateY(-4px); }' +--- gantt dateFormat YYYY-MM-DD axisFormat %m / %Y