From 59db0ad6dd11d5c6fa13362ddfa66d9cd1c6f5d0 Mon Sep 17 00:00:00 2001 From: Antoine Le Morvan Date: Fri, 9 Feb 2024 11:59:23 +0100 Subject: [PATCH] feat: adding books --- build_pdf/build_all.sh | 2 +- build_pdf/build_en.sh | 2 +- build_pdf/disa_stig/en.yml | 27 +++++++++++++++++++++++++++ build_pdf/disa_stig/it.yml | 27 +++++++++++++++++++++++++++ build_pdf/disa_stig/uk.yml | 27 +++++++++++++++++++++++++++ build_pdf/lxd_server/en.yml | 36 ++++++++++++++++++++++++++++++++++++ build_pdf/lxd_server/it.yml | 36 ++++++++++++++++++++++++++++++++++++ build_pdf/lxd_server/uk.yml | 36 ++++++++++++++++++++++++++++++++++++ build_pdf/rsync_book/en.yml | 31 +++++++++++++++++++++++++++++++ build_pdf/rsync_book/it.yml | 31 +++++++++++++++++++++++++++++++ build_pdf/rsync_book/uk.yml | 31 +++++++++++++++++++++++++++++++ docs/books/index.md | 18 ++++++++++++++++++ 12 files changed, 302 insertions(+), 2 deletions(-) create mode 100644 build_pdf/disa_stig/en.yml create mode 100644 build_pdf/disa_stig/it.yml create mode 100644 build_pdf/disa_stig/uk.yml create mode 100644 build_pdf/lxd_server/en.yml create mode 100644 build_pdf/lxd_server/it.yml create mode 100644 build_pdf/lxd_server/uk.yml create mode 100644 build_pdf/rsync_book/en.yml create mode 100644 build_pdf/rsync_book/it.yml create mode 100644 build_pdf/rsync_book/uk.yml diff --git a/build_pdf/build_all.sh b/build_pdf/build_all.sh index d8375637f2..76c2281a98 100755 --- a/build_pdf/build_all.sh +++ b/build_pdf/build_all.sh @@ -3,7 +3,7 @@ SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" cd $SCRIPTPATH -for book in admin_book ansible_book bash_book middlewares sed_awk_grep nvchad_book +for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book do for config_file in $(ls ${SCRIPTPATH}/${book}/*.yml) diff --git a/build_pdf/build_en.sh b/build_pdf/build_en.sh index b0337d0277..77de9332eb 100644 --- a/build_pdf/build_en.sh +++ b/build_pdf/build_en.sh @@ -3,7 +3,7 @@ SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" cd $SCRIPTPATH -for book in admin_book ansible_book bash_book middlewares sed_awk_grep nvchad_book +for book in admin_book ansible_book bash_book disa_stig lxd_server middlewares rsync_book sed_awk_grep nvchad_book do for config_file in $(ls ${SCRIPTPATH}/${book}/en.yml) diff --git a/build_pdf/disa_stig/en.yml b/build_pdf/disa_stig/en.yml new file mode 100644 index 0000000000..20ba7af46e --- /dev/null +++ b/build_pdf/disa_stig/en.yml @@ -0,0 +1,27 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: DISA STIG On Rocky Linux 8 (English version) + output_path: ../pdf/Disa_stig_rocky_linux.pdf + +# Customize your own book +nav: + - licence.md + - disa_stig/disa_stig_part1.md + - disa_stig/disa_stig_part2.md + - disa_stig/disa_stig_part3.md diff --git a/build_pdf/disa_stig/it.yml b/build_pdf/disa_stig/it.yml new file mode 100644 index 0000000000..49968704ef --- /dev/null +++ b/build_pdf/disa_stig/it.yml @@ -0,0 +1,27 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: DISA STIG On Rocky Linux 8 (Italian version) + output_path: ../pdf/Disa_stig_rocky_linux.it.pdf + +# Customize your own book +nav: + - licence.md + - disa_stig/disa_stig_part1.it.md + - disa_stig/disa_stig_part2.it.md + - disa_stig/disa_stig_part3.it.md diff --git a/build_pdf/disa_stig/uk.yml b/build_pdf/disa_stig/uk.yml new file mode 100644 index 0000000000..a93d23cada --- /dev/null +++ b/build_pdf/disa_stig/uk.yml @@ -0,0 +1,27 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: DISA STIG On Rocky Linux 8 (Ukrainian version) + output_path: ../pdf/Disa_stig_rocky_linux.uk.pdf + +# Customize your own book +nav: + - licence.md + - disa_stig/disa_stig_part1.uk.md + - disa_stig/disa_stig_part2.uk.md + - disa_stig/disa_stig_part3.uk.md diff --git a/build_pdf/lxd_server/en.yml b/build_pdf/lxd_server/en.yml new file mode 100644 index 0000000000..fdea88ead1 --- /dev/null +++ b/build_pdf/lxd_server/en.yml @@ -0,0 +1,36 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: Creating a full LXD server On Rocky Linux (English version) + output_path: ../pdf/lxd_server_rocky_linux.pdf + +# Customize your own book +nav: + - licence.md + - lxd_server/00-toc.md + - lxd_server/01-install.md + - lxd_server/02-zfs_setup.md + - lxd_server/03-lxdinit.md + - lxd_server/04-firewall.md + - lxd_server/05-lxd_images.md + - lxd_server/06-profiles.md + - lxd_server/07-configurations.md + - lxd_server/08-snapshots.md + - lxd_server/09-snapshot_server.md + - lxd_server/10-automating.md + - lxd_server/30-appendix_a.md diff --git a/build_pdf/lxd_server/it.yml b/build_pdf/lxd_server/it.yml new file mode 100644 index 0000000000..3e13785ae5 --- /dev/null +++ b/build_pdf/lxd_server/it.yml @@ -0,0 +1,36 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: Creating a full LXD server On Rocky Linux (Italian version) + output_path: ../pdf/lxd_server_rocky_linux.it.pdf + +# Customize your own book +nav: + - licence.md + - lxd_server/00-toc.it.md + - lxd_server/01-install.it.md + - lxd_server/02-zfs_setup.it.md + - lxd_server/03-lxdinit.it.md + - lxd_server/04-firewall.it.md + - lxd_server/05-lxd_images.it.md + - lxd_server/06-profiles.it.md + - lxd_server/07-configurations.it.md + - lxd_server/08-snapshots.it.md + - lxd_server/09-snapshot_server.it.md + - lxd_server/10-automating.it.md + - lxd_server/30-appendix_a.it.md diff --git a/build_pdf/lxd_server/uk.yml b/build_pdf/lxd_server/uk.yml new file mode 100644 index 0000000000..a2d5bc66e4 --- /dev/null +++ b/build_pdf/lxd_server/uk.yml @@ -0,0 +1,36 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: Creating a full LXD server On Rocky Linux (Ukrainian version) + output_path: ../pdf/lxd_server_rocky_linux.uk.pdf + +# Customize your own book +nav: + - licence.md + - lxd_server/00-toc.uk.md + - lxd_server/01-install.uk.md + - lxd_server/02-zfs_setup.uk.md + - lxd_server/03-lxdinit.uk.md + - lxd_server/04-firewall.uk.md + - lxd_server/05-lxd_images.uk.md + - lxd_server/06-profiles.uk.md + - lxd_server/07-configurations.uk.md + - lxd_server/08-snapshots.uk.md + - lxd_server/09-snapshot_server.uk.md + - lxd_server/10-automating.uk.md + - lxd_server/30-appendix_a.uk.md diff --git a/build_pdf/rsync_book/en.yml b/build_pdf/rsync_book/en.yml new file mode 100644 index 0000000000..0c8124edf9 --- /dev/null +++ b/build_pdf/rsync_book/en.yml @@ -0,0 +1,31 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: Learning Rsync On Rocky Linux (English version) + output_path: ../pdf/learning_rsync_rocky_linux.pdf + +# Customize your own book +nav: + - licence.md + - learning_rsync/01_rsync_overview.md + - learning_rsync/02_rsync_demo01.md + - learning_rsync/03_rsync_demo02.md + - learning_rsync/04_rsync_configure.md + - learning_rsync/05_rsync_authentication-free_login.md + - learning_rsync/06_rsync_inotify.md + - learning_rsync/07_rsync_unison_use.md diff --git a/build_pdf/rsync_book/it.yml b/build_pdf/rsync_book/it.yml new file mode 100644 index 0000000000..a2602a4ef8 --- /dev/null +++ b/build_pdf/rsync_book/it.yml @@ -0,0 +1,31 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: Learning Rsync On Rocky Linux (Italian version) + output_path: ../pdf/learning_rsync_rocky_linux.it.pdf + +# Customize your own book +nav: + - licence.md + - learning_rsync/01_rsync_overview.it.md + - learning_rsync/02_rsync_demo01.it.md + - learning_rsync/03_rsync_demo02.it.md + - learning_rsync/04_rsync_configure.it.md + - learning_rsync/05_rsync_authentication-free_login.it.md + - learning_rsync/06_rsync_inotify.it.md + - learning_rsync/07_rsync_unison_use.it.md diff --git a/build_pdf/rsync_book/uk.yml b/build_pdf/rsync_book/uk.yml new file mode 100644 index 0000000000..fc76ee5ffd --- /dev/null +++ b/build_pdf/rsync_book/uk.yml @@ -0,0 +1,31 @@ +--- +INHERIT: ../build_base.yml + +# Do not modify this block +pdf-config: &pdf-config + author: Rocky Documentation Team + cover: true + cover_logo: ../assets/rocky-linux-logo.svg + cover_subtitle: A book from the Documentation Team + toc_level: 3 + ordered_chapter_level: 3 + verbose: false + back_cover: true + +# You are free to configure here what you want +plugins: + - with-pdf: + <<: *pdf-config + cover_title: Learning Rsync On Rocky Linux (Ukrainian version) + output_path: ../pdf/learning_rsync_rocky_linux.uk.pdf + +# Customize your own book +nav: + - licence.md + - learning_rsync/01_rsync_overview.uk.md + - learning_rsync/02_rsync_demo01.uk.md + - learning_rsync/03_rsync_demo02.uk.md + - learning_rsync/04_rsync_configure.uk.md + - learning_rsync/05_rsync_authentication-free_login.uk.md + - learning_rsync/06_rsync_inotify.uk.md + - learning_rsync/07_rsync_unison_use.uk.md diff --git a/docs/books/index.md b/docs/books/index.md index cc5ccc77f4..7b5106c03c 100644 --- a/docs/books/index.md +++ b/docs/books/index.md @@ -31,6 +31,18 @@ Our books can be downloaded in PDF format for offline reading. * [English](https://rocky-linux.github.io/documentation/LearningBashWithRocky.pdf) * [Italian](https://rocky-linux.github.io/documentation/LearningBashWithRocky.it.pdf) +### DISA Stig + +* [English](https://rocky-linux.github.io/documentation/Disa_stig_rocky_linux.pdf) +* [Italian](https://rocky-linux.github.io/documentation/Disa_stig_rocky_linux.it.pdf) +* [Ukrainian](https://rocky-linux.github.io/documentation/Disa_stig_rocky_linux.uk.pdf) + +### LXD Server + +* [English](https://rocky-linux.github.io/documentation/lxd_server_rocky_linux.pdf) +* [Italian](https://rocky-linux.github.io/documentation/lxd_server_rocky_linux.it.pdf) +* [Ukrainian](https://rocky-linux.github.io/documentation/lxd_server_rocky_linux.uk.pdf) + ### NvChad * [English](https://rocky-linux.github.io/documentation/NvChad.pdf) @@ -42,6 +54,12 @@ Our books can be downloaded in PDF format for offline reading. * [English](https://rocky-linux.github.io/documentation/RockyLinuxMiddlewaresGuide.pdf) * [Italian](https://rocky-linux.github.io/documentation/RockyLinuxMiddlewaresGuide.it.pdf) +### Learning RSync + +* [English](https://rocky-linux.github.io/documentation/learning_rsync_rocky_linux.pdf) +* [Italian](https://rocky-linux.github.io/documentation/learning_rsync_rocky_linux.it.pdf) +* [Ukrainian](https://rocky-linux.github.io/documentation/learning_rsync_rocky_linux.uk.pdf) + ### Sed, Awk, Grep: TheTreeSwordsmen * [English](https://rocky-linux.github.io/documentation/Sed_Awk_Grep_TheTreeSwordsmen.pdf)