Skip to content

laws-africa/laws-africa.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laws.africa website

This is a GitHub Pages website for laws.africa.

Changing content

It's easiest to make content changes through Siteleaf. You can also click the edit link at the bottom right corner of a page.

Be sure to read the Siteleaf documentation if you're not sure how to use the Siteleaf editor.

You will need to be added to the website in Siteleaf, ask someone on the team.

Local development

To make code or style changes, you'll need to edit the site locally.

  1. Clone the repo
  2. You'll need to have a modern Ruby installation
  3. Ensure Bundler is installed: gem install bundler
  4. Install dependencies: bundle install
  5. Run the webserver: jekyll server --watch
  6. Visit http://localhost:4000

Updating stats on the legislation commons

Every night, GitHub Actions runs and updates _data/commons.json with stats from Laws.Africa and commits it back into the master branch, which updates the website.