Pages deploy ux a11y refresh (#1252)
Some checks failed
Deploy to GitHub Pages / build (push) Failing after 3s
Deploy to GitHub Pages / deploy (push) Has been skipped
Pull Requests / Weekly QA / test (push) Failing after 4s
Broken Links Report / check-links (push) Failing after 9s
Weekly Health Report / health-check (push) Failing after 2s

* Improve Pages workflow and redesign site with accessible sidebar navigation

* README clean up

* Use Makefile website target in Pages deploy workflow
This commit is contained in:
Julien Bisconti
2026-02-28 12:13:59 +01:00
committed by GitHub
parent 26e2d664ec
commit 05266bd8ac
8 changed files with 655 additions and 117 deletions

View File

@@ -8,6 +8,7 @@ import (
"github.com/yuin/goldmark"
"github.com/yuin/goldmark/extension"
"github.com/yuin/goldmark/parser"
"github.com/yuin/goldmark/renderer/html"
)
@@ -27,6 +28,7 @@ func Build(markdownPath, templatePath, outputPath string) error {
// Convert markdown to HTML
gm := goldmark.New(
goldmark.WithExtensions(extension.GFM),
goldmark.WithParserOptions(parser.WithAutoHeadingID()),
goldmark.WithRendererOptions(html.WithUnsafe()),
)
var buf bytes.Buffer