Project documentation for SCF Public Goods Maintenance process and tooling.
Browse the documentation here: https://scf-public-goods-maintenance.github.io/
To maintain a consistent line length of 101 characters across all documentation, we use pre-commit
to automate the "folding" of Markdown files.
You only need to do this once on your machine:
- macOS/Linux (Homebrew):
brew install pre-commit - Any OS (Python/Pip):
pip install pre-commit
Run this command in the project root to link the hooks to your local Git:
pre-commit installAutomatic: When you run git commit, the hooks will automatically fold any long lines. If changes are made, simply git add the file again and commit.
Manual Check: To check all files without committing, run:
pre-commit run --all-filesIf you use VS Code, install the Prettier and markdownlint extensions. The project's
.vscode/settings.json is already configured to fold lines automatically whenever you save.
GitHub automatically builds this project as a Pages sites on pushes to the main branch. For smaller
content edits, it's not necessary to preview a local build. This is, however, recommended for larger
changes, especially those that affect the Jekyll config or theme.
- Install Jekyll
- Local dev preview:
cd docs/
bundle exec jekyll serve --watch