Fix crawler errors

* Links with / don't exist, browser has a workaround, crawler does not.
  Checked with curl.
* `cmd/docs/generate-cli-docs.go` generates invalid links between root
  and sub command. Apparently only if folder name equals root cmd name.
This commit is contained in:
Mario Manno 2025-02-03 14:06:54 +01:00
parent 8ce378f12d
commit fafca9bc24
10 changed files with 13 additions and 18 deletions

View File

@ -28,6 +28,6 @@ fleet-agent [flags]
### SEE ALSO ### SEE ALSO
* [fleet-agent clusterstatus](./fleet-agent_clusterstatus) - Continuously report resource status to the upstream cluster * [fleet-agent clusterstatus](fleet-agent_clusterstatus) - Continuously report resource status to the upstream cluster
* [fleet-agent register](./fleet-agent_register) - Register agent with an upstream cluster * [fleet-agent register](fleet-agent_register) - Register agent with an upstream cluster

View File

@ -23,5 +23,4 @@ fleet-agent clusterstatus [flags]
### SEE ALSO ### SEE ALSO
* [fleet-agent](./fleet-agent) - * [fleet-agent](./)

View File

@ -22,5 +22,4 @@ fleet-agent register [flags]
### SEE ALSO ### SEE ALSO
* [fleet-agent](./fleet-agent) - * [fleet-agent](./)

View File

@ -29,7 +29,6 @@ fleet-controller [flags]
### SEE ALSO ### SEE ALSO
* [fleet-controller agentmanagement](./fleet-controller_agentmanagement) - * [fleet-controller agentmanagement](fleet-controller_agentmanagement) -
* [fleet-controller cleanup](./fleet-controller_cleanup) - * [fleet-controller cleanup](fleet-controller_cleanup) -
* [fleet-controller gitjob](./fleet-controller_gitjob) - * [fleet-controller gitjob](fleet-controller_gitjob) -

View File

@ -30,5 +30,5 @@ fleet-controller agentmanagement [flags]
### SEE ALSO ### SEE ALSO
* [fleet-controller](./fleet-controller) - * [fleet-controller](./) -

View File

@ -27,5 +27,4 @@ fleet-controller cleanup [flags]
### SEE ALSO ### SEE ALSO
* [fleet-controller](./fleet-controller) - * [fleet-controller](./)

View File

@ -29,5 +29,4 @@ fleet-controller gitjob [flags]
### SEE ALSO ### SEE ALSO
* [fleet-controller](./fleet-controller) - * [fleet-controller](./)

View File

@ -16,7 +16,7 @@ Git repos are added to the Fleet manager using the `GitRepo` custom resource typ
- `fleet-default` will contain all the downstream clusters that are already registered through Rancher. - `fleet-default` will contain all the downstream clusters that are already registered through Rancher.
- `fleet-local` will contain the local cluster by default. - `fleet-local` will contain the local cluster by default.
If you are using Fleet in a [single cluster](./concepts.md) style, the namespace will always be **fleet-local**. Check [here](https://fleet.rancher.io/namespaces/#fleet-local) for more on the `fleet-local` namespace. If you are using Fleet in a [single cluster](./concepts.md) style, the namespace will always be **fleet-local**. Check [here](https://fleet.rancher.io/namespaces#fleet-local) for more on the `fleet-local` namespace.
For a [multi-cluster](./concepts.md) style, please ensure you use the correct repo that will map to the right target clusters. For a [multi-cluster](./concepts.md) style, please ensure you use the correct repo that will map to the right target clusters.

View File

@ -10,4 +10,4 @@
### Configuration Management ### Configuration Management
Fleet is fundamentally a set of Kubernetes [custom resource definitions (CRDs)](https://fleet.rancher.io/concepts/) and controllers that manage GitOps for a single Kubernetes cluster or a large scale deployment of Kubernetes clusters. It is a distributed initialization system that makes it easy to customize applications and manage HA clusters from a single point. Fleet is fundamentally a set of Kubernetes [custom resource definitions (CRDs)](https://fleet.rancher.io/concepts) and controllers that manage GitOps for a single Kubernetes cluster or a large scale deployment of Kubernetes clusters. It is a distributed initialization system that makes it easy to customize applications and manage HA clusters from a single point.

View File

@ -138,7 +138,7 @@ This will uninstall all deployed bundles, except for the fleet agent, from the d
If you are using Fleet in a [single cluster](./concepts.md) style, the namespace If you are using Fleet in a [single cluster](./concepts.md) style, the namespace
will always be **fleet-local**. Check will always be **fleet-local**. Check
[here](https://fleet.rancher.io/namespaces/#fleet-local) for more on the [here](https://fleet.rancher.io/namespaces#fleet-local) for more on the
`fleet-local` namespace. `fleet-local` namespace.
For a [multi-cluster](./concepts.md) style, please ensure you use the correct For a [multi-cluster](./concepts.md) style, please ensure you use the correct