Skip to content

KelsamGames/monogame.github.io

 
 

Repository files navigation

monogame.github.io

This repository contains the documentation and the website for MonoGame.

Building Form Source

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

  1. .NET SDK version 6.0 or higher installed (download)
  2. Node.js and NPM installed (download)

With your environment setup properly, the following explains how to build from source

  1. Clone this repository
git clone https://github.com/MonoGame/monogame.github.io.git
  1. Install npm dependencies
npm install
  1. Optional Steps

    1. 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
    2. Next execute the command npm run docfx to generate the API Reference markdown pages. They will be placed in the /content/api directory
  2. Run a local build and serve it with hot reloading

npm run dev

LICENSE

The MonoGame project is under the Microsoft Public License except for a few portions of the code. See the LICENSE file for more details.

Releases

No releases published

Packages

No packages published

Languages

  • Nunjucks 46.0%
  • JavaScript 31.6%
  • CSS 22.4%