Skip to content

Community-drafted model-law to tie housing, land, vehicle & insurance pricing to wages and real conditions. Anti-gouging by design. Contributions welcome.

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE
Notifications You must be signed in to change notification settings

cFerg/Affordability-Act

Repository files navigation

Affordability Act — Website & Docs

Live site: https://affordact.com
Repo: https://github.com/cFerg/Affordability-Act

What this is

This repo hosts a public, version-controlled copy of the Affordability Act text and the website that renders it.

How to read

  • Full bill: /policy/bill-text/
  • Individual sections: /policy/sections/<name>.md → browsable on the website

How to contribute

Please avoid editing the compiled policy/bill-text.md directly — it’s generated. Edit files under policy/sections/ instead.

Full Repo Structure, for clarification

policy/
  sections/            # <— Edit these .md files (one per section)
  bill-text.md         # <— Generated by tools/build_docs.py; Not manually edited.
assets/                # CSS, JS, icons, images (OG image, webmanifest, etc.)
tools/
  build_docs.py        # Merges the sections -> bill-text.md (Excludes section page info)
.github/workflows/
  pages.yml            # Builds and deploys the site (GitHub Pages)
  gen_icons.yml        # Optional: renders PNG/ICO from assets/favicon.svg
_config.yml            # Jekyll config (Used for website styling)
index.md               # Landing page (home)
submit.md              # Public feedback form (Used for individuals without github accounts)
sections.json          # Order of sections (manual or generated)
_data/sections.json    # Optional mirror of sections.json for server-side index

What NOT to touch

  • policy/bill-text.md (Generated via Build_Docs.py)
  • .github/workflows (Unless you know CI)
  • assets/favicon.*, assets/icon-*.png, assets/site.webmanifest (Auto-Rendered via SVGs)

Local preview (optional)

You can run the site locally to check layout or content changes before pushing.

  1. Install Ruby and Jekyll — or open this repo in GitHub Codespaces (which already has them).
  2. In your terminal, run the following:
bundle install
bundle exec jekyll serve
  1. This will build the site and serve it locally.
  2. Open the preview in your browser at http://127.0.0.1:4000
  3. Edit files under policy/sections/, then refresh the page to see updates.

About

Community-drafted model-law to tie housing, land, vehicle & insurance pricing to wages and real conditions. Anti-gouging by design. Contributions welcome.

Topics

Resources

License

CC-BY-4.0, MIT licenses found

Licenses found

CC-BY-4.0
LICENSE
MIT
LICENSE-CODE

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •