Source code for GTFS.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).
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
Translations live under docs/<lang>/ for each supported language. To add or improve a translation, fork the repository, edit the relevant Markdown files under that language's docs/<lang>/ directory, and submit your changes as a pull request.
- 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/gtfs.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 each language will have its own address:
- English:
http://127.0.0.1:8000/ - French:
http://127.0.0.1:8001/ - Spanish:
http://127.0.0.1:8002/ - Japanese:
http://127.0.0.1:8003/
- 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, and code samples are licensed under the Apache 2.0 License.