From 160c0feb056ece2b3d1f2f92d0991c3180bf5de3 Mon Sep 17 00:00:00 2001 From: kclowes Date: Wed, 22 Jun 2022 13:55:56 -0600 Subject: [PATCH] Add a validate docs command (#64) --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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