X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c314a3092c5b51c7782015f6fa9ac093b46fa174..b9e4563bebaf2b2bfba5440001b4b5750eaebe43:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index dae45322..421b671a 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ build-api: tests: mypy lint pytest bdd mypy: - mypy --strict src + mypy --strict --python-version 3.8 src pytest: pytest test/python @@ -29,4 +29,16 @@ lint: bdd: cd test/bdd; behave -DREMOVE_TEMPLATE=1 -.PHONY: tests mypy pytest lint bdd build clean-build build-db build-api +# Documentation + +doc: + mkdocs build + +serve-doc: + mkdocs serve + +manpage: + argparse-manpage --pyfile man/create-manpage.py --function get_parser --project-name Nominatim --url https://nominatim.org > man/nominatim.1 --author 'the Nominatim developer community' --author-email info@nominatim.org + + +.PHONY: tests mypy pytest lint bdd build clean-build build-db build-api doc serve-doc manpage