aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2022-03-05 13:14:59 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2022-04-11 23:29:26 +0000
commit68b40e34553002f86a41d007281e1a25422e7f4a (patch)
treead6c8dcddf3454089d73a16213abb6f790c74c1c
parent39b435af995d9c42bebb7d4a711bc51f14c636e9 (diff)
downloaddoc-68b40e34553002f86a41d007281e1a25422e7f4a.tar.gz
doc-68b40e34553002f86a41d007281e1a25422e7f4a.zip
articles/hubs: Update WWW mirroring section
Differential Revision: https://reviews.freebsd.org/D34454
-rw-r--r--documentation/content/en/articles/hubs/_index.adoc23
1 files 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