Git Product home page Git Product logo

mpf-docs's Introduction

Mission Pinball website & documentation

This repo contains all the source code for MissionPinball.org, which also includes all user documentation.

Technical details

The MPF website is built using MkDocs, a static site generator using Markdown files as the source. It uses the Material for MkDocs theme.

The site is hosted on GitHub Pages, and the main branch of this repo controls what's published to the live site. A GitHub workflow is used to automatically build and deploy the site whenever a commit or merge is made to the main branch. You can see the commits and page builds in the Actions tab.

To build / run locally

  1. Clone the repo
  2. Open a terminal window and cd into the root folder of this repo
  3. pip install -r requirements.txt (to install mkdocs and what it needs)
  4. mkdocs serve (runs a local web server on port 8000)

You should be able to access the doc site via your web browser at localhost:8000.

To contribute

We would love contributions to the docs! We have a Contributing Guide (view on GitHub | view on the website) which explains how to contribute.

Configuring site navigation

All the navigation for the site is configured in the mkdocs.yml file. This is somewhat annoying since it means that if you add a new page, you have to go to a completely separate place to set up the nav.

I tried to use the auto pages plugin to automatically create the navigation, and/or at least keep it local to each subfolder, but unfortunately our navigation tree is different from our folder hierarchy which made that not possible. We may be able to combine both methods, and this is something someone could look into.

Script to build the showcase pages

The MPF project showcase is published at missionpinball.org/showcase. The source content for each showcase entry are YAML files /showcase folder of this repo. The script generate_showcase_pages.py generates the .md files for each project, and also generates the showcase index page.

This script is run automatically as part of the GitHub Actions workflow.

mpf-docs's People

Contributors

jabdoa2 avatar toomanybrians avatar qcapen avatar avanwinkle avatar worldpeace-germany avatar cfbenn avatar thepinballroom avatar travisbmartin avatar atummons avatar jankantert avatar ironspider avatar jeremytedwards avatar gabeknuth avatar homechicken avatar konjurertim avatar cobra18t avatar colemanomartin avatar unrared avatar kylenahas avatar mwiz avatar founfabug avatar seanirby avatar kevinleedrum avatar amoksolderer avatar bosh avatar compy avatar aaronmatthies avatar nbeaulat avatar beckermi avatar swizzlefish 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.