Source code for gofs.org.
This site was built using MkDocs, a static site generator, and mkdocs-materialx, a technical documentation theme for MkDocs (a fork of Material for MkDocs).
- In Terminal, change the directory to one where you wish to build the site.
- Ensure you have an up-to-date version of pip:
- Linux:
pip install piporpip install --upgrade pip - macOS:
pip3 install piporpip3 install --upgrade pip
- Linux:
- Clone this repository:
git clone https://github.com/MobilityData/gofs.org
- Change the directory to the cloned repository, and create & enable a Python virtual environment:
python3 -m venv venvsource venv/bin/activate
- Install dependencies, including the
mkdocs-materialxtheme (command defined inMakefile):make setup
- To run the site locally (command defined in
Makefile):make serve- Then you can access the site via
http://127.0.0.1:8000/
- To build the site locally only (command defined in
Makefile):make build
- Deactivate the Python virtual environment when done:
deactivate
Except as otherwise noted, the content of this site is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License.