Source code for gbfs.org.
This site was built using MkDocs, a static site generator, and Material for MkDocs, a technical documentation theme for MkDocs.
To edit the General Bikeshare Feed Specification reference, go to the MobilityData/gbfs repository.
To propose a feature, content addition, or UI/UX improvement, open an issue or pull request on this repository.
- 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/operational-data-standard
- Change the directory to the cloned repository, and create & enable a Python virtual environment:
python3 -m venv venvsource venv/bin/activate
- Have
requirements.txtinstalled:- Linux:
pip install --force-reinstall -r requirements.txt - macOS:
pip3 install --force-reinstall -r requirements.txt
- Linux:
- To run the site locally (command defined in
MakeFile):make serve- Then you can reach the site at this address:
http://127.0.0.1:8000/ - To shut down MKdocs from serving the site:
make killserve
- 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.