- Add 🧊 marker for 113 stale projects (2+ years inactive) - Remove 4 archived repos (Centurion, notary, Minio, docker-ls) - Remove 1 broken link (docker-lock / safe-waters) - Add Arcane to the Web section - Replace 💲 with 💴 across README and tooling - Add 🧊 (MarkerStale) support to Go parser/linter - Update CONTRIBUTING.md, PR template, issue template, and AGENTS.md Closes #1260, relates to #1188, #1255 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
887 B
Markdown
37 lines
887 B
Markdown
package parser
|
|
|
|
// Marker represents a status emoji on an entry.
|
|
type Marker int
|
|
|
|
const (
|
|
MarkerAbandoned Marker = iota // :skull:
|
|
MarkerPaid // :yen:
|
|
MarkerWIP // :construction:
|
|
MarkerStale // :ice_cube:
|
|
)
|
|
|
|
// Entry is a single link entry in the README.
|
|
type Entry struct {
|
|
Name string
|
|
URL string
|
|
Description string
|
|
Markers []Marker
|
|
Line int // 1-based line number in source
|
|
Raw string // original line text
|
|
}
|
|
|
|
// Section is a heading with optional entries and child sections.
|
|
type Section struct {
|
|
Title string
|
|
Level int // heading level: 1 = #, 2 = ##, etc.
|
|
Entries []Entry
|
|
Children []Section
|
|
Line int
|
|
}
|
|
|
|
// Document is the parsed representation of the full README.
|
|
type Document struct {
|
|
Preamble []string // lines before the first section
|
|
Sections []Section
|
|
}
|