laws-africa / laws-africa.github.io

Home Page:https://laws.africa/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

https://laws.africa/

License:MIT License


Languages

Language:SCSS 65.5%Language:HTML 33.1%Language:Python 0.8%Language:JavaScript 0.4%Language:Ruby 0.2%