aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2022-04-23 08:15:29 +0000
committerSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2022-04-23 08:18:28 +0000
commitada565b6d3166a95ec111c2f63f035060080600c (patch)
treeb3a202e1474bd89caf3cc29b88dc51a31be71bf3
parente165010632a4175a89ca8d16c89844680a05eab3 (diff)
downloaddoc-ada565b6d3.tar.gz
doc-ada565b6d3.zip
Refactor version list in user handbook intro
PR: 260007 Submitted by: Pau Amma (pauamma_gundo.com) Reviewed by: Pau Amma (pauamma_gundo.com) Approved by: debdrup@ Differential Revision: https://reviews.freebsd.org/D34946
-rw-r--r--documentation/content/en/books/handbook/_index.adoc16
-rw-r--r--documentation/content/en/books/handbook/book.adoc13
-rw-r--r--documentation/content/en/books/handbook/introduction.adoc12
3 files changed, 17 insertions, 24 deletions
diff --git a/documentation/content/en/books/handbook/_index.adoc b/documentation/content/en/books/handbook/_index.adoc
index e830b0f89d..62bedd2940 100644
--- a/documentation/content/en/books/handbook/_index.adoc
+++ b/documentation/content/en/books/handbook/_index.adoc
@@ -35,27 +35,19 @@ include::shared/attributes/attributes-{{% lang %}}.adoc[]
include::shared/{{% lang %}}/teams.adoc[]
include::shared/{{% lang %}}/mailing-lists.adoc[]
include::shared/{{% lang %}}/urls.adoc[]
+:chapters-path: content/{{% lang %}}/books/handbook/
endif::[]
ifdef::backend-pdf,backend-epub3[]
+:chapters-path:
include::../../../../../shared/asciidoctor.adoc[]
endif::[]
endif::[]
ifndef::env-beastie[]
+:chapters-path:
include::../../../../../shared/asciidoctor.adoc[]
endif::[]
-[.abstract-title]
-Abstract
-
-Welcome to FreeBSD! This handbook covers the installation and day to day use of _FreeBSD {rel130-current}-RELEASE_ and _FreeBSD {rel123-current}-RELEASE_.
-This book is the result of ongoing work by many individuals.
-Some sections might be outdated.
-Those interested in helping to update and expand this document should send email to the {freebsd-doc}.
-
-The latest version of this book is available from the https://www.FreeBSD.org/[FreeBSD web site].
-Previous versions can be obtained from https://docs.FreeBSD.org/doc/[https://docs.FreeBSD.org/doc/].
-The book can be downloaded in a variety of formats and compression options from the https://download.freebsd.org/doc/[FreeBSD download server] or one of the numerous link:./mirrors#mirrors[mirror sites].
-Searches can be performed on the handbook and other documents on the link:https://www.FreeBSD.org/search/[search page].
+include::{chapters-path}introduction.adoc[]
'''
diff --git a/documentation/content/en/books/handbook/book.adoc b/documentation/content/en/books/handbook/book.adoc
index 38661471a6..a6969dc62f 100644
--- a/documentation/content/en/books/handbook/book.adoc
+++ b/documentation/content/en/books/handbook/book.adoc
@@ -45,18 +45,7 @@ ifndef::env-beastie[]
include::../../../../../shared/asciidoctor.adoc[]
endif::[]
-[.abstract-title]
-Abstract
-
-Welcome to FreeBSD! This handbook covers the installation and day to day use of _FreeBSD {rel130-current}-RELEASE_ and _FreeBSD {rel123-current}-RELEASE_.
-This book is the result of ongoing work by many individuals.
-Some sections might be outdated.
-Those interested in helping to update and expand this document should send email to the {freebsd-doc}.
-
-The latest version of this book is available from the https://www.FreeBSD.org/[FreeBSD web site].
-Previous versions can be obtained from https://docs.FreeBSD.org/doc/[https://docs.FreeBSD.org/doc/].
-The book can be downloaded in a variety of formats and compression options from the https://download.freebsd.org/doc/[FreeBSD download server] or one of the numerous crossref:mirrors[mirrors,mirror sites].
-Searches can be performed on the handbook and other documents on the link:https://www.FreeBSD.org/search/[search page].
+include::{chapters-path}introduction.adoc[]
'''
diff --git a/documentation/content/en/books/handbook/introduction.adoc b/documentation/content/en/books/handbook/introduction.adoc
new file mode 100644
index 0000000000..76cd7fd054
--- /dev/null
+++ b/documentation/content/en/books/handbook/introduction.adoc
@@ -0,0 +1,12 @@
+[.abstract-title]
+Abstract
+
+Welcome to FreeBSD! This handbook covers the installation and day to day use of _FreeBSD {rel130-current}-RELEASE_ and _FreeBSD {rel123-current}-RELEASE_.
+This book is the result of ongoing work by many individuals.
+Some sections might be outdated.
+Those interested in helping to update and expand this document should send email to the {freebsd-doc}.
+
+The latest version of this book is available from the https://www.FreeBSD.org/[FreeBSD web site].
+Previous versions can be obtained from https://docs.FreeBSD.org/doc/[https://docs.FreeBSD.org/doc/].
+The book can be downloaded in a variety of formats and compression options from the https://download.freebsd.org/doc/[FreeBSD download server] or one of the numerous link:./mirrors#mirrors[mirror sites].
+Searches can be performed on the handbook and other documents on the link:https://www.FreeBSD.org/search/[search page].