From 125bf26862ff0f861b3356e2610d94e7eb5baa2a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 8 Apr 2021 20:59:18 +0100 Subject: [PATCH] docs: sphinx-doc target: Print file: url Signed-off-by: Ian Jackson --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d25f53d6..88d145dd 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ full-check: all check cargo-syntaxcheck-release shapelib sphinx-doc everything: debug doc release check bundled-sources shapelib: templates/shapelib.html stamp/cargo.doc-otter-only - @echo 'Now you can visit these in your web browser:' + @echo 'Shape library preview and docs can now be found here:' @echo ' file://$(PWD)/$<' @echo ' file://$(abspath $(TARGET_DIR)/doc/otter/shapelib_toml/index.html)' @@ -219,6 +219,8 @@ stamp/cargo.deploy-build: $(call rsrcs,.) #---------- sphnix ---------- sphinx-doc: docs/html/index.html + @echo 'Documentation can now be found here:' + @echo ' file://$(PWD)/$<' docs/html/index.html: docs/conf.py $(wildcard docs/*.md docs/*.rst) $(SPHINXBUILD) -M html docs docs $(SPHINXOPTS) -- 2.30.2