Fix absolute URL fix again
Ugh! This time I accidentally forgot the -i for sed. Signed-off-by: Richard Laager <rlaager@wiktel.com>
This commit is contained in:
@@ -18,7 +18,7 @@ help:
|
|||||||
# not rebuilt if it already exists and 404.rst was not changed.
|
# not rebuilt if it already exists and 404.rst was not changed.
|
||||||
html: Makefile
|
html: Makefile
|
||||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
@sed -E 's/(action|href|src)="([^\/#])/\1="\/\2/;s/\/http/http/' \
|
@sed -Ei 's/(action|href|src)="([^\/#])/\1="\/\2/;s/\/http/http/' \
|
||||||
"$(BUILDDIR)/html/404.html"
|
"$(BUILDDIR)/html/404.html"
|
||||||
|
|
||||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||||
|
|||||||
Reference in New Issue
Block a user