Uses pytest_codeblocks to verify documentation code is valid and correct.
From inside the testdocs
directory:
$ pip3 install poetry
$ poetry install
$ poetry run pytest --codeblocks ../docs
$ zsh clean.sh # remove test files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Uses pytest_codeblocks to verify documentation code is valid and correct.
From inside the testdocs
directory:
$ pip3 install poetry
$ poetry install
$ poetry run pytest --codeblocks ../docs
$ zsh clean.sh # remove test files