Expand Makefile workflow dependencies and sync parser formatting

This commit is contained in:
Julien Bisconti
2026-02-28 01:07:53 +01:00
parent ae81c12fc5
commit 0089da7ecb
3 changed files with 126 additions and 15 deletions

View File

@@ -11,8 +11,8 @@ import (
// entryRe matches: - [Name](URL) - Description
// Also handles optional markers/text between URL and " - " separator, e.g.:
//
// - [Name](URL) :skull: - Description
// - [Name](URL) (2) :skull: - Description
// - [Name](URL) :skull: - Description
// - [Name](URL) (2) :skull: - Description
var entryRe = regexp.MustCompile(`^[-*]\s+\[([^\]]+)\]\(([^)]+)\)(.*?)\s+-\s+(.+)$`)
// headingRe matches markdown headings: # Title, ## Title, etc.

View File

@@ -30,6 +30,6 @@ type Section struct {
// Document is the parsed representation of the full README.
type Document struct {
Preamble []string // lines before the first section
Preamble []string // lines before the first section
Sections []Section
}