From cc8c9da784c6e23f4824be1eded4b69859eb0d52 Mon Sep 17 00:00:00 2001 From: Steven Spencer Date: Thu, 5 May 2022 12:46:29 -0500 Subject: [PATCH] Books section - Organizational rework * This section's .pages files had gotten out of sync. First, the main .pages file in the main directory did not have anything added to it since the system administrator's guide was added. Instead of fixing tiltes in that section, the titles had been fixed within the individual directories in their own .pages files, which while works, adds to the overall bloat of the .pages system. The only directory which actually needed its own .pages file, was the newest one (learning bash), which has the appendix added on for script examples. * fixed all of this by: - amending the main .pages file to add the titles for the sections and the navigation to the correct directories. - removed the individual directory .pages files EXCEPT for the one for learning bash, which was modified to clean up the listing. * tested all of this in my local mkdocs instance to make sure that it looks like it is supposed to AND works --- docs/books/.pages | 5 ++++- docs/books/admin_guide/.pages | 2 -- docs/books/learning_ansible/.pages | 2 -- docs/books/learning_bash/.pages | 4 +++- .../learning_bash/appendix/00-toc-appendix.md | 14 -------------- docs/books/learning_rsync/.pages | 2 -- 6 files changed, 7 insertions(+), 22 deletions(-) delete mode 100644 docs/books/admin_guide/.pages delete mode 100644 docs/books/learning_ansible/.pages delete mode 100644 docs/books/learning_bash/appendix/00-toc-appendix.md delete mode 100644 docs/books/learning_rsync/.pages diff --git a/docs/books/.pages b/docs/books/.pages index 7759db954f..6a5fdaf2f6 100644 --- a/docs/books/.pages +++ b/docs/books/.pages @@ -2,4 +2,7 @@ nav: - ... | index*.md - System Administrator's Guide: admin_guide - - ... \ No newline at end of file + - Learning Ansible: learning_ansible + - Learning Bash: learning_bash + - Learning Rsync: learning_rsync + - ... diff --git a/docs/books/admin_guide/.pages b/docs/books/admin_guide/.pages deleted file mode 100644 index 1c4be629ff..0000000000 --- a/docs/books/admin_guide/.pages +++ /dev/null @@ -1,2 +0,0 @@ ---- -title: System Administrator's Guide \ No newline at end of file diff --git a/docs/books/learning_ansible/.pages b/docs/books/learning_ansible/.pages deleted file mode 100644 index b78903b970..0000000000 --- a/docs/books/learning_ansible/.pages +++ /dev/null @@ -1,2 +0,0 @@ ---- -title: Learning Ansible diff --git a/docs/books/learning_bash/.pages b/docs/books/learning_bash/.pages index 6c1fc157a4..42a2483600 100644 --- a/docs/books/learning_bash/.pages +++ b/docs/books/learning_bash/.pages @@ -1,2 +1,4 @@ --- -title: Learning Bash +nav: + - ... + - Appendix-Practical Examples: appendix diff --git a/docs/books/learning_bash/appendix/00-toc-appendix.md b/docs/books/learning_bash/appendix/00-toc-appendix.md deleted file mode 100644 index 6f6dcbdd31..0000000000 --- a/docs/books/learning_bash/appendix/00-toc-appendix.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Appendix - Practical Examples -author: Steven Spencer -contributors: Antoine Le Morvan -tested with: 8.5 -tags: - - bash scripting - - bash - - bash examples ---- - -# Introduction - -This section is reserved for real-world examples of bash script usage. Wherever possible, we will title these documents to correspond with the bash lesson names for easy cross-referencing. diff --git a/docs/books/learning_rsync/.pages b/docs/books/learning_rsync/.pages deleted file mode 100644 index f5e05b8202..0000000000 --- a/docs/books/learning_rsync/.pages +++ /dev/null @@ -1,2 +0,0 @@ ---- -title: Learning rsync \ No newline at end of file