Source code for GTFS.org.
This site was built using MkDocs, a static site generator, and Material for MkDocs, a technical documentation theme for MkDocs.
Submit an issue or a content addition idea
The more ideas, the merrier! If you have an idea for how to improve GTFS.org's content or user experience design, open an issue on the GTFS.org repository.
Suggest a change with a Pull Request
To propose edits to the content, navigate to the page you want to change on GTFS.org and click on the "Edit this page" icon on the top-right of the page. The "Edit this page" icon will direct you to an editable page on the appropriate Github repository. You can then submit your edits as a pull request. ๐
Contributing translations
GTFS.org uses Simpleen, an automated machine learning translation tool, to ensure translations are kept up to date with repository changes. Since our priority is to keep translations up-to-date, any one-time translation contributions will be overwritten by Simpleen in the future.
We do accept glossary changes. Simpleen uses a glossary for key terms that are commonly used across GTFS.org, like trip or station. If you want to suggest a translation for a key term that should be applied across the entire site, you can create an issue on the GTFS.org 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 pip
orpip install --upgrade pip
- macOS:
pip3 install pip
orpip3 install --upgrade pip
- Linux:
- Clone this repository:
git clone https://github.com/MobilityData/gtfs.org
- Change the directory to the cloned repository, and 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:
mkdocs serve
- To build the site locally only:
mkdocs build --clean
- To deploy the site to GitHub Pages:
mkdocs gh-deploy
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.