git: fd2542a877 - main - Allow binding to something else than 127.0.0.1.
Mathieu Arnold <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.doc |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by mat: URL: https://cgit.FreeBSD.org/doc/commit/?id=fd2542a877f6ac5dab6f6d819c8319beeb53aa76 commit fd2542a877f6ac5dab6f6d819c8319beeb53aa76 Author: Mathieu Arnold <[email protected]> AuthorDate: 2021-04-12 13:57:39 +0000 Commit: Mathieu Arnold <[email protected]> CommitDate: 2021-04-12 14:00:41 +0000 Allow binding to something else than 127.0.0.1. If not building the documentation on your local machine, you may need to access the hugo server from another machine, you may want to run: make run HOSTNAME=host.example.org BIND=:: --- documentation/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/Makefile b/documentation/Makefile index 72f5b89dda..840e306fd4 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -49,7 +49,7 @@ generate-books-toc: .PHONY ${PYTHON_CMD} ./tools/books-toc-examples-creator.py -l ${LANGUAGES} run-local: .PHONY - ${HUGO_CMD} server -D --baseURL="http://$(.HOST):1313" + ${HUGO_CMD} server -D $(BIND:D--bind=$(BIND)) --baseURL="http://$(.HOST):1313" build: .PHONY ${HUGO_CMD} --minify _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all To unsubscribe, send any mail to "[email protected]"