From 92f542f9ff5fed8594ef67fda9e987ab6c70a5de Mon Sep 17 00:00:00 2001 From: Rizkyepk Date: Wed, 8 Apr 2026 18:18:15 +0700 Subject: [PATCH] fix(docs): update deployment documentation and comment out unused sections --- docusaurus.config.js | 11 ++++++----- .../version-v1.6/getting-started/deploy-ha-cluster.md | 7 ++++--- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 6b3167d..5f0326e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -246,14 +246,15 @@ const config = { return undefined; } + if (/^\/v\d+\.\d+(?:\/|$)/.test(existingPath)) { + return undefined; + } + if (existingPath === '/') { - return ['/v1.6/', '/v1.6', '/latest/', '/latest']; + return ['/latest/', '/latest']; } - return [ - `/v1.6${existingPath}`, - `/latest${existingPath}`, - ]; + return [`/latest${existingPath}`]; } }, ], diff --git a/versioned_docs/version-v1.6/getting-started/deploy-ha-cluster.md b/versioned_docs/version-v1.6/getting-started/deploy-ha-cluster.md index a6d09ea..1902510 100644 --- a/versioned_docs/version-v1.6/getting-started/deploy-ha-cluster.md +++ b/versioned_docs/version-v1.6/getting-started/deploy-ha-cluster.md @@ -36,7 +36,8 @@ The following types of ISO files are available: | --- | --- | --- | | [ISO](../install/iso-install.md) | ISO | N/A | | [USB](../install/usb-install.md) | ISO | USB flash drive; utility such as [balenaEtcher](https://etcher.balena.io/) or the Linux [dd command](https://man7.org/linux/man-pages/man1/dd.1.html) | -| [PXE](../install/pxe-boot-install.md) | ISO, Linux kernel image (vmlinuz), initrd, SquashFS image | Directory on the HTTP server (for serving boot files); iPXE boot scripts (for automatic installation); DHCP server configuration | + + ## 3. Prepare the cluster configuration requirements. @@ -97,7 +98,7 @@ You can create [Linux VMs](../vm/create-vm.md) using one of the following method - Hypervisor UI: On the **Virtual Machines** screen, click **Create** and configure the settings on each tab. - Kubernetes API: Create a `VirtualMachine` object. - + Creating [Windows VMs](../vm/create-windows-vm.md) on the Hypervisor UI involves slightly different steps. Hypervisor provides a VM template named `windows-iso-image-base-template` that adds a volume with the Virtio drivers for Windows, which streamlines the VM configuration process. If you require Virtio devices but choose to not use the template, you must add your own Virtio drivers for Windows to enable correct hardware detection. @@ -107,4 +108,4 @@ The following sections provide guides that walk you through how to back up and r - [VM Backup, Snapshot & Restore](../vm/backup-restore.md) - [Host Management](../host/host.md) - +