Repository navigation
docs: cross-references everywhere, and the playground links its output to the docs - #35
Merged
Merged
Conversation
…arning to its reference, spec rule and API docs, opens its examples in the playground, and adds a Go module badge and an API docs column
…sks docs to link the first mention of a rule, option, field, warning or function and to give examples a playground link
…site reference and the spec rules, with playground links and the other packages' READMEs, changelogs and API docs
…the site reference and the spec rules, with playground links and the other packages' READMEs, changelogs and API docs
…spec rules, with playground links and the other packages' READMEs, changelogs and API docs
… spec rules, point the license at go/LICENSE, and add playground links and the other packages' docs
… and the spec, and the skip lists and port READMEs
…, functions, types and warning codes to their reference or guide, docs.rs and pkg.go.dev items, playground links for the examples Also: Go and Rust differential runs and fuzz-ports.mjs on the testing and contributing pages, See also lists on contributing and roadmap, and a Parse options heading on reference/options.
…ippets as the formatters do - The generated code moves to src/lib/codegen.ts and comes out as Biome, Ruff, rustfmt and gofmt print it: sorted JS imports, the quote style with fewer escapes, one space before `//` in JS and two before `#` in Python, long calls and arrays broken as each formatter breaks them, `1e21` instead of `1e+21`, and a Python list that does not fit on a line as `lines = [...]`. The Go imports keep the goimports groups (standard library, blank line, module) and drop the empty group when there is no standard-library import. - Under each code panel, every function and type the snippet uses links to its API docs: docs.rs, pkg.go.dev, or the reference pages for JavaScript and Python. - Field names in the field list link to their row in the ParsedTrack table; roles, version types, modifiers, junk kinds, flags, year, position, cue time and mode link to their guide sections. Option labels link to their rows in the options tables, the tracklist columns to TracklistEntry and ParsedTrack, the line kinds to the guide. - The landing cards link their guides, and the stats line says the 0 differences are on the fixtures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Links every rule, option, field, warning, mode, function and type, at its first mention in a section, to where it is explained: the site reference or guide, the spec rule, and the language's API docs (docs.rs items, pkg.go.dev anchors). Examples get "try it" links that open the playground prefilled.
READMEs (root, js, python, rust, go, fixtures, generator)
go/LICENSEis linked from the Go README.AGENTS.md
go/, and the first changelog compare link points at a tag that never existed.Site pages
allArtistsand filename-mode descriptions, and fuzz-ports on the testing page.Playground and landing
site/src/lib/codegen.ts.Checks
The
docscommits underjs/,python/,rust/andgo/will open a 0.6.1 release PR after this merges, so the registries show the new READMEs.