Update image file for H3ULCB on lamprey
[AGL/documentation.git] / theme / Makefile
1 VERSION=`python setup.py --version`
2
3 default:
4         @echo "Specify one of: serve, publish_docs, publish_package"
5
6 serve:
7         env/bin/mkdocs serve -a localhost:8000
8
9 test:
10         env MKDOCS_BINARY=env/bin/mkdocs npm -C tests test
11
12 test-debug:
13         env MKDOCS_BINARY=env/bin/mkdocs npm -C tests run test-debug
14
15 publish_docs:
16         env/bin/mkdocs gh-deploy
17
18 publish_package:
19         @echo Build python distribution
20         python setup.py sdist bdist_wheel
21         @echo "Publish to PyPI at https://pypi.python.org/pypi/mkdocs-windmill"
22         @echo "Version in setup.py is $(VERSION)"
23         @echo "Git tag is `git describe --tags`"
24         @echo "Run this manually: python3 -m twine upload dist/mkdocs-windmill-$(VERSION).tar.gz dist/mkdocs_windmill-$(VERSION)-py2-none-any.whl"
25
26 .PHONY: serve publish_docs publish_package