Files
textual/Makefile
Dave Pearson 9acbc0cd67 Add a method of building a local copy of the docs
This will build the docs into a directory called docs-local, sans the blog.
Note the near-total copy/paste of the `nav` due to how mydocs does
configuration inheritance; this is fine for now.
2023-02-06 13:58:44 +00:00

23 lines
539 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
docs-build:
mkdocs build
docs-local-build:
mkdocs build --config-file mkdocs-local.yml
docs-deploy:
rm -rf .screenshot_cache
mkdocs gh-deploy