Overview
Netlify StatusDocuAPI is a multilingual API documentation theme for Hugo. It is built on top of the Slate project and has recently been rewritten using AlpineJS.
Features
- Multilingual API documentation theme
- Built on top of the Slate project
- Recently rewritten from jQuery to AlpineJS
Installation
- Import the theme in your Hugo config.
- If you want the older jQuery version, replace the path with
github.com/bep/docuapi. - To edit the SCSS styles, you need the extended Hugo version and PostCSS CLI. Run
npm installto install the requirements. - Refer to the exampleSite’s site configuration for the available options.
- Use the
weightproperty in the page front matter to control the page order. - If you want a different page selection, provide your own
layouts/index.htmltemplate. - Customize the look-and-feel by adding your own CSS variables in
assets/scss/docuapi_overrides.scss. See the exampleSite folder for an example.
Summary
Netlify StatusDocuAPI is a multilingual API documentation theme for Hugo. It is built on top of the Slate project and has recently been rewritten using AlpineJS. The theme allows you to easily create a single-page API documentation using the available options and page order control. It also provides customization options for the look-and-feel of the documentation.