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.
Alternatively, you can provide feedback using this form.
GBFS.org employs a custom AI translation tool to automatically maintain consistency across all language versions when updates occur. While external contributions are welcome, please note that they may be subject to automated updates. In cases of discrepancy between language versions, the English version shall be considered authoritative.
GBFS.org utilise un outil de traduction basé sur l'IA personnalisé pour maintenir automatiquement la cohérence entre toutes les versions linguistiques lors des mises à jour. Bien que les contributions externes soient les bienvenues, veuillez noter qu'elles peuvent être soumises à des mises à jour automatisées. En cas de divergence entre les versions linguistiques, la version anglaise sera considérée comme faisant autorité.
GBFS.org utiliza una herramienta de traducción personalizada basada en IA para mantener automáticamente la consistencia entre todas las versiones de idiomas cuando se realizan actualizaciones. Si bien las contribuciones externas son bienvenidas, tenga en cuenta que pueden estar sujetas a actualizaciones automatizadas. En caso de discrepancia entre las versiones de idiomas, la versión en inglés se considerará como autoritativa.
- 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 pip
orpip install --upgrade pip
- macOS:
pip3 install pip
orpip3 install --upgrade pip
- Linux:
- Clone this repository:
git clone https://github.com/MobilityData/gbfs.org
- Change the directory to the cloned repository, and create & enable a Python virtual environment:
python3 -m venv venv
source venv/bin/activate
- Have
requirements.txt
installed:- Linux:
pip install --force-reinstall -r requirements.txt
- macOS:
pip3 install --force-reinstall -r requirements.txt
- Linux:
- Have Material for MkDocs Insiders installed. Substitute
${GH_TOKEN}
with MobilityData's access token:- Linux:
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
- macOS:
pip3 install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
- Linux:
- Assuming you are still in the cloned repository, run this command to update the content for the specification references and best practices:
bash scripts/fetchdata.sh
- To run the site locally (command defined in
MakeFile
):make serve
- Then each language will have it's own address:
- English:
http://127.0.0.1:8000/
- French:
http://127.0.0.1:8001/
- Spanish:
http://127.0.0.1:8002/
- English:
- 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.