This repository contains the documentation and the website for MonoGame.
The MonoGame website is built using the .NET tool DocFX to generate the API reference documentation and the static site generator 11ty to generate the full website. This means you will need the following prerequisites to build locally from source
With your environment setup properly, the following explains how to build from source
- Clone this repository
git clone https://github.com/MonoGame/monogame.github.io.git
- Install npm dependencies
npm install
-
Optional Steps
- If you want to generate the API Reference documentation locally, you will need to ensure that the MonoGame submodule has been initialized by running
git submodule update --init --recursive
- Next execute the command
npm run docfx
to generate the API Reference markdown pages. They will be placed in the /content/api directory
- If you want to generate the API Reference documentation locally, you will need to ensure that the MonoGame submodule has been initialized by running
-
Run a local build and serve it with hot reloading
npm run dev
The MonoGame project is under the Microsoft Public License except for a few portions of the code. See the LICENSE file for more details.