From bb1a2fea9a132268e293dd46b99935dc7506fbf0 Mon Sep 17 00:00:00 2001 From: Daryl White <53910321+djwfyi@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:21:22 -0500 Subject: [PATCH 1/2] Links ending in .md do not resolve Did a pass to remove `.md` from all links throughout. This allows Hugo to build with the correct link in the output. --- content/_index.md | 6 ++-- content/command-line/_index.md | 42 +++++++++++------------ content/concepts/_index.md | 6 ++-- content/installation/_index.md | 2 +- content/resource-management/_index.md | 12 +++---- content/resource-management/scheduling.md | 2 +- development-and-testing.md | 2 +- 7 files changed, 36 insertions(+), 36 deletions(-) diff --git a/content/_index.md b/content/_index.md index bd028ca..3a6d738 100644 --- a/content/_index.md +++ b/content/_index.md @@ -61,11 +61,11 @@ Such additional layers of disaggregation result in increased complexity and poor - [CLI reference]({{< relref "command-line/_index.md" >}}) ## External References diff --git a/content/command-line/_index.md b/content/command-line/_index.md index fa148a6..71d7a16 100644 --- a/content/command-line/_index.md +++ b/content/command-line/_index.md @@ -58,30 +58,30 @@ The available commands include: | **Command** | **Description** | |-----------------------------------------|-------------------------------------------------------------------| | *Install* | | -| [`install`](install.md) | Install DirectPV in Kubernetes | +| [`install`](install) | Install DirectPV in Kubernetes | | *Manage Drives and Volumes* | | -| [`discover`](discover.md) | Discover new drives | -| [`info`](info.md) | Show information about DirectPV installation | -| [`init`](init.md) | Initialize drives | -| [`label drives`](label-drives.md) | Set labels to drives | -| [`label volumes`](label-volumes.md) | Set labels to volumes | -| [`list-drives`](list-drives.md) | List drives | -| [`list-volumes`](list-volumes.md) | List volumes | -| [`repair`](repair.md) | Repair faulty XFS-formatted drives | -| [`resume-drives`](resume-drives.md) | Resume suspended drives | -| [`resume-volumes`](resume-volumes.md) | Resume suspended volumes | -| [`suspend-drives`](suspend-drives.md) | Suspend drives | -| [`suspend-volumes`](suspend-volumes.md) | Suspend volumes | +| [`discover`](discover) | Discover new drives | +| [`info`](info) | Show information about DirectPV installation | +| [`init`](init) | Initialize drives | +| [`label drives`](label-drives) | Set labels to drives | +| [`label volumes`](label-volumes) | Set labels to volumes | +| [`list-drives`](list-drives) | List drives | +| [`list-volumes`](list-volumes) | List volumes | +| [`repair`](repair) | Repair faulty XFS-formatted drives | +| [`resume-drives`](resume-drives) | Resume suspended drives | +| [`resume-volumes`](resume-volumes) | Resume suspended volumes | +| [`suspend-drives`](suspend-drives) | Suspend drives | +| [`suspend-volumes`](suspend-volumes) | Suspend volumes | | *Manage Scheduling* | | -| [`cordon`](cordon.md) | Mark drives as unschedulable | -| [`uncordon`](uncordon.md) | Mark drives as schedulable | +| [`cordon`](cordon) | Mark drives as unschedulable | +| [`uncordon`](uncordon) | Mark drives as schedulable | | *Maintenance* | | -| [`clean`](clean.md) | Cleanup stale volumes | -| [`migrate`](migrate.md) | Migrate drives and volumes from legacy DirectCSI | -| [`move`](move.md) | Move volumes excluding data from source drive to destination drive on a same node | -| [`remove`](remove.md) | Remove unused drives from DirectPV | +| [`clean`](clean) | Cleanup stale volumes | +| [`migrate`](migrate) | Migrate drives and volumes from legacy DirectCSI | +| [`move`](move) | Move volumes excluding data from source drive to destination drive on a same node | +| [`remove`](remove) | Remove unused drives from DirectPV | | *Uninstall DirectPV* | | -| [`uninstall`](uninstall.md) | Uninstall DirectPV in Kubernetes | +| [`uninstall`](uninstall) | Uninstall DirectPV in Kubernetes | ## Command History @@ -89,7 +89,7 @@ The available commands include: | Old DirectPV Command | Replacement DirectPV Command | |:----------------------------|:-----------------------------------| -| `kubectl directpv discover` | [`kubectl directpv init`](init.md) | +| `kubectl directpv discover` | [`kubectl directpv init`](init) | ### Command changes from DirectCSI diff --git a/content/concepts/_index.md b/content/concepts/_index.md index c2da967..93ce94f 100644 --- a/content/concepts/_index.md +++ b/content/concepts/_index.md @@ -10,6 +10,6 @@ weight: 20 DirectPV Concepts -- [Architecture](architecture.md) -- [Metrics](metrics.md) -- [Driver Specification](specification.md) \ No newline at end of file +- [Architecture](architecture) +- [Metrics](metrics) +- [Driver Specification](specification) \ No newline at end of file diff --git a/content/installation/_index.md b/content/installation/_index.md index 1413964..4890bf2 100644 --- a/content/installation/_index.md +++ b/content/installation/_index.md @@ -125,7 +125,7 @@ You can provision DirectPV volumes by using this storage class as the `storageCl For an example of using `directpv-min-io`, see the [MinIO example on GitHub](https://github.com/minio/directpv/blob/master/functests/minio.yaml#L62). - + Refer to the [CLI Guide]({{< relref "command-line/_index.md" >}}) for more helpers on the following commands. diff --git a/content/resource-management/_index.md b/content/resource-management/_index.md index 11d4306..e40af40 100644 --- a/content/resource-management/_index.md +++ b/content/resource-management/_index.md @@ -9,16 +9,16 @@ weight: 30 The pages in this section help you the various resource types part of a DirectPV deployment. These resources include: -- [Nodes](nodes.md) +- [Nodes](nodes) These are the computing devices to which you directly attach the drives managed by DirectPV. -- [Drives](drives.md) +- [Drives](drives) The physical drives mounted on to nodes. - Volumes DirectPV creates and provisions volumes on drives and assigns the volumes to Persistent Volume Claims. - - [Manage volumes](volumes.md) - - [Provision volumes](provisioning.md) - - [Schedule volumes](scheduling.md) - - [Schedule by labels](schedule-by-label.md) \ No newline at end of file + - [Manage volumes](volumes) + - [Provision volumes](provisioning) + - [Schedule volumes](scheduling) + - [Schedule by labels](schedule-by-label) \ No newline at end of file diff --git a/content/resource-management/scheduling.md b/content/resource-management/scheduling.md index 7b1b5f6..6cc230e 100644 --- a/content/resource-management/scheduling.md +++ b/content/resource-management/scheduling.md @@ -79,7 +79,7 @@ In addition to these methods, DirectPV can use _drive labels_ to pick specific d create-storage-class.sh fast-tier-storage 'directpv.min.io/tier: fast' ``` -* Use the newly created storage class in [volume provisioning](./volume-provisioning.md). +* Use the newly created storage class in [volume provisioning](./volume-provisioning). ```sh $ kubectl apply -f - < /dev/loop /dev/loop /dev/loop # n can be rep sudo losetup --detach-all ``` -Please refer [here](./troubleshooting.md) for any trouble shooting guidelines. +Please refer [here](./troubleshooting) for any trouble shooting guidelines. From 1c69a5529e7bd5725947ca7b3fec9b58e921ecfe Mon Sep 17 00:00:00 2001 From: Daryl White <53910321+djwfyi@users.noreply.github.com> Date: Mon, 3 Feb 2025 17:29:04 -0500 Subject: [PATCH 2/2] One broken link fixed --- content/resource-management/scheduling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/resource-management/scheduling.md b/content/resource-management/scheduling.md index 6cc230e..627beba 100644 --- a/content/resource-management/scheduling.md +++ b/content/resource-management/scheduling.md @@ -79,7 +79,7 @@ In addition to these methods, DirectPV can use _drive labels_ to pick specific d create-storage-class.sh fast-tier-storage 'directpv.min.io/tier: fast' ``` -* Use the newly created storage class in [volume provisioning](./volume-provisioning). +* Use the newly created storage class in [volume provisioning]({{< relref "/resource-management/provisioning.md" >}}). ```sh $ kubectl apply -f - <