This repository contains the GraphWalker website and documentation. The pre-built static site is in the _site/ directory.
If you're on NixOS or have Nix installed, use the provided flake.nix for a reproducible dev environment:
-
Enter the dev shell:
nix flake update nix develop
-
Inside the shell, serve the site using Python or Node:
# Option A: Python HTTP server python3 -m http.server 8000or
# Option B: Node http-server npx http-server -p 8000 -
Open your browser to
http://localhost:8000to preview the site.
To serve the site without Nix, use any HTTP server pointing to the _site/ directory:
# Using Python
cd _site/
python3 -m http.server 8000or
# Using Node (install http-server globally first: npm install -g http-server)
cd _site/
http-server -p 8000-
Fork this repository.
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/graphwalker.github.io.git cd graphwalker.github.io -
Create a new branch for your changes:
git checkout -b feature/your-feature-name
-
Make your changes to the documentation in the
docs/directory. The site uses the Jekyll Documentation Theme (see Resources below). -
Build the site (regenerate
_site/):jekyll build
-
Test your changes locally by serving the site (see "Serving the Site Locally" above).
-
Commit and push:
git add . git commit -m "Describe your changes" git push origin feature/your-feature-name
-
Create a Pull Request on GitHub from your fork to the main repository.