About

This repository contains source code for Dasharo documentation webpage

Local build

virtualenv -p $(which python3) venv
source venv/bin/activate
pip install -r requirements.txt
mkdocs build

Broken links checker

cd utils/blc
docker build -t blc .
docker run --network host blc blc http://0.0.0.0:8000 -r|grep BROKEN

Make sure no TBD or TODO content is displayed

Find all occurrences:

grep -E "TBD|TODO" docs/**/*.md -r

Iterate over all occurrences and check if:

  • file where TBD or TODO occurs is displayed (included in nav section of mkdocs.yml)
  • TBD or TODO is visible on website

There should be no TBD or TODO visible on website.

pre-commit hooks

pre-commit install --hook-type commit-msg
  • Enjoy automatic checks on each git commit action!

  • (Optional) Run hooks on all files (for example, when adding new hooks or configuring existing ones):

pre-commit run --all-files

To skip verification

In some cases it may be needed to skip pre-commit tests, to do that please use:

git commit --no-verify
Description
No description provided
Readme Apache-2.0 373 MiB
Languages
HTML 48.1%
Python 46.2%
Shell 5.7%