Pages deploy ux a11y refresh (#1252)

* 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