Skip to content

Commit

Permalink
build(docs): check changes to rst files in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
behnazh committed Jun 4, 2023
1 parent 56c7057 commit 13d62ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,11 @@ dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-build-epoch.txt:
echo $(SOURCE_DATE_EPOCH) > dist/$(PACKAGE_NAME)-$(PACKAGE_VERSION)-build-epoch.txt

# Build the HTML and Markdown documentation from the package's source.
DOCS_SOURCE := $(shell find docs/source -type f -name '*.rst')
.PHONY: docs docs-html docs-md
docs: docs-html docs-md
docs-html: docs/_build/html/index.html
docs/_build/html/index.html: check test
docs/_build/html/index.html: $(DOCS_SOURCE) check test
if [ ! -d docs/source/_static ]; then \
mkdir docs/source/_static/; \
fi
Expand Down

0 comments on commit 13d62ef

Please sign in to comment.