diff --git a/Makefile b/Makefile index bc398812..03e193ba 100644 --- a/Makefile +++ b/Makefile @@ -45,10 +45,12 @@ build-docs: $(MAKE) -C docs clean $(MAKE) -C docs html $(MAKE) -C docs doctest - ./newsfragments/validate_files.py - towncrier build --draft --version preview -docs: build-docs +validate-docs: + python ./newsfragments/validate_files.py + towncrier --draft --version preview + +docs: build-docs validate-docs open docs/_build/html/index.html linux-docs: build-docs