From ada565b6d3166a95ec111c2f63f035060080600c Mon Sep 17 00:00:00 2001 From: Sergio Carlavilla Delgado Date: Sat, 23 Apr 2022 10:15:29 +0200 Subject: 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 --- documentation/content/en/books/handbook/_index.adoc | 16 ++++------------ documentation/content/en/books/handbook/book.adoc | 13 +------------ .../content/en/books/handbook/introduction.adoc | 12 ++++++++++++ 3 files changed, 17 insertions(+), 24 deletions(-) create mode 100644 documentation/content/en/books/handbook/introduction.adoc 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]. -- cgit v1.2.3