From 57c32fd0f1745794f0d8f466186577ba0dcb40d0 Mon Sep 17 00:00:00 2001 From: "Michael G. Khmelnitsky" Date: Thu, 2 Nov 2023 17:39:31 -0700 Subject: [PATCH] DOCS-1850 Make hideTOC conditional and change it to a YAML key --- README.md | 3 +-- _config.yml | 1 - _layouts/page.html | 10 ++++++++++ .../upgrading-qumulo-core/mode-reference.md | 3 +-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6233e2d5..5189a490 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,9 @@ title: "Qumulo Documentation" summary: "Welcome to the Qumulo Documentation Portal. This repository uses docs-as-code principles to provide guidance about working with Qumulo." permalink: index.html breadcrumbs: exclude +hideTOC: true --- -{{site.hideTOC}} - To get started, choose one of the following guides. diff --git a/_config.yml b/_config.yml index d97cd814..bfd1c7a0 100644 --- a/_config.yml +++ b/_config.yml @@ -135,7 +135,6 @@ plugins: - jekyll-redirect-from # Global include variables -hideTOC: loginRequired: 🔒 nexusDownloads: For downloads, release notes, and upgrade paths for on-premises and cloud releases of Qumulo Core, see Qumulo Nexus diff --git a/_layouts/page.html b/_layouts/page.html index e494fada..4f378837 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -42,5 +42,15 @@

{{ page.title }}

{% include in_page_toc.html %} +{% if page.hideTOC %} + +{% endif %} + diff --git a/administrator-guide/upgrading-qumulo-core/mode-reference.md b/administrator-guide/upgrading-qumulo-core/mode-reference.md index 6681f614..6fee6dff 100644 --- a/administrator-guide/upgrading-qumulo-core/mode-reference.md +++ b/administrator-guide/upgrading-qumulo-core/mode-reference.md @@ -6,10 +6,9 @@ redirect_from: - /administrator-guide/upgrades/mode-reference.html sidebar: administrator_guide_sidebar keywords: update, upgrade, instant, instant_software_upgrade, platform, platform_upgrade +hideTOC: true --- -{{site.hideTOC}} - * An [_instant software upgrade_](instant-software-platform.html#instant-software-upgrade) requires restarting only the container on your nodes and has a downtime of less than 30 seconds without disruption to the operation of the cluster. * A [_platform upgrade_](instant-software-platform.html#platform-upgrade) requires either a complete reboot (rebooting all nodes in your cluster at the same time) or a rolling reboot (rebooting the nodes in your cluster one at a time). * A quarterly upgrade aggregates all improvements and fixes since the last quarterly upgrade. The version number of a quarterly upgrade ends in `.0`.