Code Monkey home page Code Monkey logo

gtfs.org's Introduction

GTFS.org

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.

How can I contribute to gtfs.org?

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.

Building the site locally

  1. In Terminal, change the directory to one where you wish to build the site.
  2. Ensure you have an up-to-date version of pip:
    • Linux: pip install pip or pip install --upgrade pip
    • macOS: pip3 install pip or pip3 install --upgrade pip
  3. Clone this repository:
    • git clone https://github.com/MobilityData/gtfs.org
  4. 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
  5. 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
  6. 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
  7. To run the site locally: mkdocs serve
  8. To build the site locally only: mkdocs build --clean
  9. To deploy the site to GitHub Pages: mkdocs gh-deploy

License

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.

gtfs.org's People

Contributors

github-actions[bot] avatar fredericsimard avatar emmambd avatar isabelle-dr avatar eliasmbd avatar sergiodero avatar tzujenchanmbd avatar nomeq avatar scmcca avatar astonlau avatar aurelienc avatar briandonahue avatar carlfredl avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.