How usgpo/collections works
Project type and purpose
• This is an open-source documentation repository (“govinfo Collections”) whose goal is to explain how the govinfo team’s metadata extraction parsers work—specifically via regular expressions—for a given collection (here, the Congressional Hearings, “CHRG”).
• It is *not* an application codebase but a “docs-as-code” project that publishes Markdown and PDF renderings of parser specifications and metadata definitions.
File structure
• Top-level files:
• README.md – general project overview (“What’s a collection?”, initial CHRG release)
• CONTRIBUTING.md – how to propose changes
• CODEOWNERS – reviewers/maintainers
• LICENSE.md – licensing terms
• CHRG/ folder: documentation specific to the CHRG collection
• CHRG-Metadata.md – definitions of available metadata fields
• CHRG-RegEx.md – the regex patterns used to extract that metadata
• pdf/CHRG-Metadata.pdf & CHRG-RegEx.pdf – prebuilt PDF versions