From nobody Mon Apr 11 23:33:47 2022 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8014B13A4851 for ; Mon, 11 Apr 2022 23:33:47 +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 4KclY72zLTz4k1k; Mon, 11 Apr 2022 23:33:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649720027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=F8WDYuBDFPIBEjyb3X5JiPf7UXtwbhOkINzF/QhJ/6o=; b=Inb3kRzLqLWf0HhnInLGq3mwkDVBiNrGycRZ3HPbZtvIJFGBn4Xyk9Ut/90An1cO747wZu iCCwtyokE68P57opqvmjUN9uIsJGHSEkQHuNqCTu63nAIlW3IV4wubxlKdEbhQY7mM6mvr 8pXUJNopoXnwZBbQn8mPZSz/SwlOOAL5t1C0763FEq8WmrIJwdvV0fY4cRlXX/CVWgERqh RlK74+GeuHbXBnCMZ79UvUmTFDmzTQEO4RSkOJOnkMIzi3Q8J/3Pff31FBPlMCmzhee4DN 5Pam9N+VVKaIqrBp+0TBNhNPGkQGG/8tGqHH2u7MVDHsDIilFnT08/Sm4XqXJw== 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 4674E4951; Mon, 11 Apr 2022 23:33:47 +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 23BNXls6025335; Mon, 11 Apr 2022 23:33:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23BNXlUW025334; Mon, 11 Apr 2022 23:33:47 GMT (envelope-from git) Date: Mon, 11 Apr 2022 23:33:47 GMT Message-Id: <202204112333.23BNXlUW025334@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: "Danilo G. Baio" Subject: git: 68b40e3455 - main - articles/hubs: Update WWW mirroring section List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-doc-all@freebsd.org X-BeenThere: dev-commits-doc-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dbaio X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 68b40e34553002f86a41d007281e1a25422e7f4a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649720027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=F8WDYuBDFPIBEjyb3X5JiPf7UXtwbhOkINzF/QhJ/6o=; b=d3rXXEJtRTlEe+pB5KNwx2JM9eTOgFKCrFoHOEaJHdTspft/D28LqC1P21qpKYVKiX4vnB 26e4l1r2BknfHFRRE/HGqYnnBzA/kH8D3+73fDoHDaHDSqyljH+j54xLLp9h/56FLdHmi/ LRbNo2QFlUUqbE94PnGOKqzvpNGtK5BKltZhDMlGQR4FWGjLMV4kMFwVXUgFYNksVNtNTO LiXGtAQZdv/dH/Z9/3UXg00sOUM+wiBUqHSKHoUNtDrbt9gr76GNzLAPsDW4R9AZBmsVKX rRAaM7prTzHPEMaPSofQv+5OUqxVY1zLJaE6q99u8r6ucm49Dn8B2raHH98tag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649720027; a=rsa-sha256; cv=none; b=sadDoyimhLpWDc64C/Umj96+J4NiVcuI2BBIahy5va2krsvQnR4KxUXCDyfjsnbbeQ+CEu r7q78Qy6cFPVAxa6gHIN/reM/unsdNQlUbTZjiKwvoY/KLlolj+y7wAuRk3jB4bzc+2uiJ 48vAYQ8YAgColJs7qZG8RtB1saotcL7nOHec8tGLj/CVWo6bfqFXctMaFJDQWxSmLISqsc UaeSjUJ6vxmi2Zr2dYULho/BO8vNlrtEfzXpetA+IrV85PNhFSpVxtGVOG6pVRjYvH+vsw gfaPj8m6K+KKM0FzmaTDizS/014M+kbrCtgaSQbTFbS5j7/Kq8SA8+f/aBGiJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dbaio: URL: https://cgit.FreeBSD.org/doc/commit/?id=68b40e34553002f86a41d007281e1a25422e7f4a commit 68b40e34553002f86a41d007281e1a25422e7f4a Author: Danilo G. Baio AuthorDate: 2022-03-05 13:14:59 +0000 Commit: Danilo G. Baio CommitDate: 2022-04-11 23:29:26 +0000 articles/hubs: Update WWW mirroring section Differential Revision: https://reviews.freebsd.org/D34454 --- documentation/content/en/articles/hubs/_index.adoc | 23 ++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/documentation/content/en/articles/hubs/_index.adoc b/documentation/content/en/articles/hubs/_index.adoc index 1e2c9da25a..9c5bf2506e 100644 --- a/documentation/content/en/articles/hubs/_index.adoc +++ b/documentation/content/en/articles/hubs/_index.adoc @@ -214,14 +214,33 @@ If you sync the whole module (unlike subdirectories), be aware that the module-d [[mirror-www]] === Mirroring the WWW Pages -The FreeBSD website should only be mirrored via rsync. +[WARNING] +==== +Since doc migration to Hugo/Asciidoctor on 2021-01-25, mirroring the website with rsync no longer works. +==== + +There are ongoing studies to implement a website mirror with the extref:{handbook}mirrors/[official infrastructure]. + +For the former website mirrors, a way to achieve mirroring the website today is building the website locally with the corresponding address it will be hosted. + +[source,shell] +.... +% cd website && env HUGO_baseURL="https://www.XX.freebsd.org/" make +.... -A command line to mirror the FreeBSD web site might look like: +Check for more details about the build tools on extref:{fdp-primer}overview/[FreeBSD Documentation Project Primer for New Contributors, overview-quick-start] book. +//// [source,shell] .... % rsync -vaHz --delete rsync://bit0.us-west.freebsd.org/FreeBSD-www-data/ /usr/local/www/ .... +//// + +[NOTE] +==== +Notice the website was split into www.FreeBSD.org and docs.FreeBSD.org, and there are links between them; plus, at this moment, `HUGO_baseURL` variable won't cover all links, this way, mirroring the website is discouraged. +==== [[mirror-pkgs]] === Mirroring Packages