Skip to content

mpv-player/mpv.io

Repository files navigation

mpv.io

Overview

This repository is the source code to our website running at http://mpv.io. The website is hosted with GitHub Pages, and the compiled version is available on this repository.

The compiled version is automatically created and committed by Github Actions when changes are pushed to the master of this repository.

Contributing

To contribute you have these possibilities:

  • Fork this website, make your changes and send pull requests.
    • If you find errors but are unable to contribute then please open a issue.
  • Note that the source files for the online manual are entirely in the main "mpv" repo.

Setup a local development environment

The website is created using a static website generator called Middleman. Here's what you need to do to get a copy of the website running on your local machine.

  • Optional: have rbenv or rvm installed. These tools will automatically select the correct version of Ruby based on the .ruby-version file. Alternatively you will need to install Ruby 2.7 (not 3.x) manually.
  • gem install bundler:1.17.3
  • bundle _1.17.3_ install
  • rbenv rehash (only if using rbenv)
  • bundle exec middleman server
  • See the website running at: http://localhost:4567/