SlothCreator: Building Documentation with Gungnir in Odin

Build Gungnir documentation for an Odin project that contains a DocG Catalog.

Overview

This sample code project was based on Apple’s Sloth Creator (MIT).

Note

The original SlothCreator sample code project is associated with the WWDC21 sessions:

Is recommended to check them to learn more about Swift’s DocC, main inspiration for Gungnir.

Configure the Sample Code Project

To build documentation for this package, use Gungnir, go to the project root (where project.odin file is located) and execute the following command:

$ gungnir .