Skip to content

DSP-APP Documentation

This is the DSP-APP documentation, based on MkDocs and published under https://docs.dasch.swiss/DSP-APP/.

Images like screenshots and so on have to be stored in assets/images.

The mkdocs.yml file is present in the top-level directory of the repo and the source files are in the docs/ folder.

MkDocs and its plugins come from the Nix dev shell; they are declared in nix/mkdocs.nix.

Getting Started

Enter the dev shell (nix develop, or automatically through direnv) from the repository root. It provides MkDocs, its plugins and markdownlint; nothing else needs installing.

Running the documentation locally

MkDocs comes with a built-in dev-server that lets you preview your documentation as you work on it:

just docs-serve

Open up http://127.0.0.1:8000/ in your browser. just docs-clean removes the built site, and just help lists every recipe.

Building and linting the documentation

just docs-build
just docs-lint

Deploying GitHub page

On each release of DSP-APP, the documentation is generated by the dsp-docs GitHub repository. Behind the scenes, MkDocs builds the documentation and uses the mkdocs-deploy-gh-pages actions script to deploy them to the gh-pages. That's it!