Skip to content
Snippets Groups Projects
Commit 2b939db3 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

Makefile.sphinx: Silent Sphinx warnings about apidoc files not included in any toctree

parent af371572
No related branches found
No related tags found
Loading
......@@ -36,6 +36,8 @@ sphinx/%: $(apidoc_dep)
apidoc: $(apidoc_dep)
apidoc-stamp:
$(SPHINXAPIDOC) $(APIDOC_OPTS) -o $(APIDOC_DIR) .. $(APIDOC_EXCLUDES)
# to silent Sphinx warnings about apidoc documents not included in any toctree
find $(shell pwd)/apidoc -name "*.rst" | xargs sed -i '1i:orphan:\n'
touch $@
.PHONY: clean clean-apidoc
......
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