Build GitHub Pages

This documentation is created by GitHub Pages. The source files are stored in the repository MOOSE in the subfolder docs. We use Just the Docs, which is a modern, highly customizable, and responsive Jekyll theme for documentation.

The class documentation is created by its own build and is not the scope for this page!

The build steps to create this documentation are defined in .github/workflows/gh-pages.yml.

It is divided into two jobs:

Preview of this documentation

When enhancing this documentation it is very useful to see a 1on1 preview of the pages. This can be displayed as follows:

  • You need a working installation of Docker.
  • Go to the docs subfolder.
  • Run docker compose up.
  • Open a browser with the following URL: http://127.0.0.1:4000/.
  • After a change of the Markdown files, wait some seconds and press F5 in the browser.

Some changes are not processed properly with this procedure. It is then necessary to stop and restart the container once. On startup everything is always regenerated.

Run linkinator to find brocken links

When changing this documentation it is very useful to run linkinator to find broken links. This can be done as follows:

  • You need a working installation of Docker.
  • Go to the docker/gh-pages-check subfolder.
  • Run docker compose up.