How dpgalliance/publicgoods-website works
Project type and purpose
• This is a “static‐site generator” pipeline that produces the live Digital Public Goods website. It glues together:
• An offline WordPress CMS (for content editing and theming)
• A repository of JSON “candidate” data
• A set of scripts that crawl the WP CMS and merge candidate JSON into HTML
• A GitHub Pages–hosted static website (the output)
File‐structure highlights
• Top‐level: plain HTML directories (about, blog, map, registry, etc.), plus WP folders (wp‐content, wp‐includes)– this is the raw static snapshot.
• Several subfolders (map/, registry/, eligibility/, roadmap/) contain React builds (static/js, static/css, runtime‐main.js, chunk files).
• README describes the four‐repo architecture:
• publicgoods‐wordpress (offline CMS)
• publicgoods‐candidates (JSON files)
• publicgoods‐scripts (crawler + HTML‐generator)
• publicgoods‐website (this repo; static output)
Detail level
• Subcomponent that’s essential: the offline WP stack, the JSON data repo, the script engine, the React‐built subapps, CI pipelines, hosting.
• Avoid over-splitting trivial static pages. Keep a high-level overview but indicate that many static directories exist.
• How the create-react-app outputs are nested under map/, registry/, eligibility/, roadmap/.