Skip to content
Snippets Groups Projects
Commit 2815ce43 authored by David Douard's avatar David Douard
Browse files

make-doc: use the docs-assets target instead of the full-sphinx-build docs

so we do not build each swh-* twice with unavaoidable sphinx wrnings when
building each repo locally.
parent 26f6c399
No related branches found
No related tags found
1 merge request!10make-doc: use the docs-assets target instead of the full-sphinx-build docs
...@@ -42,6 +42,8 @@ apidoc-stamp: ...@@ -42,6 +42,8 @@ apidoc-stamp:
find $(shell pwd)/apidoc -name "*.rst" | xargs sed -i '1i:orphan:\n' find $(shell pwd)/apidoc -name "*.rst" | xargs sed -i '1i:orphan:\n'
touch $@ touch $@
assets:
.PHONY: clean clean-apidoc .PHONY: clean clean-apidoc
clean: sphinx/clean clean-apidoc clean: sphinx/clean clean-apidoc
clean-apidoc: clean-apidoc:
......
...@@ -33,7 +33,7 @@ images-stamp: ...@@ -33,7 +33,7 @@ images-stamp:
# non-sphinx managed documentation artifacts (e.g., schema diagrams) are also # non-sphinx managed documentation artifacts (e.g., schema diagrams) are also
# built. # built.
rec-build-stamp: $(wildcard ../../swh-*/docs/*.rst) rec-build-stamp: $(wildcard ../../swh-*/docs/*.rst)
$(MAKE) -C ../../ docs $(MAKE) -C ../../ docs-assets
touch $@ touch $@
clean: sphinx/clean clean: sphinx/clean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment