From owner-dev-commits-doc-all@freebsd.org Mon Apr 12 14:00:49 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D6B5C5D1BE4 for ; Mon, 12 Apr 2021 14:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FJr415Vvfz4WPW; Mon, 12 Apr 2021 14:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A9AAB18831; Mon, 12 Apr 2021 14:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13CE0n0s064381; Mon, 12 Apr 2021 14:00:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13CE0nth064380; Mon, 12 Apr 2021 14:00:49 GMT (envelope-from git) Date: Mon, 12 Apr 2021 14:00:49 GMT Message-Id: <202104121400.13CE0nth064380@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mathieu Arnold Subject: git: fd2542a877 - main - Allow binding to something else than 127.0.0.1. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mat X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd2542a877f6ac5dab6f6d819c8319beeb53aa76 Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2021 14:00:49 -0000 The branch main has been updated by mat: URL: https://cgit.FreeBSD.org/doc/commit/?id=fd2542a877f6ac5dab6f6d819c8319beeb53aa76 commit fd2542a877f6ac5dab6f6d819c8319beeb53aa76 Author: Mathieu Arnold AuthorDate: 2021-04-12 13:57:39 +0000 Commit: Mathieu Arnold 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