Files
textual/Makefile
Dave Pearson a8aaa7ad82 Experiment with the mkdocs offline plugin
In doing so, don't emphasise online docs over offline, but instead make this
about an online/offline split and both are as important as each other.
2023-02-07 10:06:05 +00:00

23 lines
607 B
Makefile

test:
pytest --cov-report term-missing --cov=textual tests/ -vv
unit-test:
pytest --cov-report term-missing --cov=textual tests/ -vv -m "not integration_test"
test-snapshot-update:
pytest --cov-report term-missing --cov=textual tests/ -vv --snapshot-update
typecheck:
mypy src/textual
format:
black src
format-check:
black --check src
docs-serve:
rm -rf .screenshot_cache
mkdocs serve --config-file mkdocs-online.yml
docs-build:
mkdocs build --config-file mkdocs-online.yml
docs-build-offline:
mkdocs build --config-file mkdocs-offline.yml
docs-deploy:
rm -rf .screenshot_cache
mkdocs gh-deploy