Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

[docs] Fixing some broken links #778

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

jasonmadigan
Copy link
Member

Copy link
Contributor

openshift-ci bot commented Jan 30, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jasonmadigan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@R-Lawton
Copy link
Contributor

links work
/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jan 30, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 263b512 into Kuadrant:main Jan 30, 2024
3 checks passed
@@ -83,5 +83,5 @@ At the moment the MGC is given credentials to connect to the DNS provider at sta
There are plans to make this more customizable and dynamic in the future, [work tracked here](https://github.com/Kuadrant/multicluster-gateway-controller/issues/228).

## Spec of a ManagedZone
The ManagedZone is a simple resource with an uncomplicated API, see a sample [here](../config/samples/kuadrant.io_v1alpha1_managedzone.yaml).
The ManagedZone is a simple resource with an uncomplicated API, see a sample [here](https://github.com/Kuadrant/multicluster-gateway-controller/blob/main/config/samples/kuadrant.io_v1alpha1_managedzone.yaml).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasonmadigan Does this have to reference main?

Not that important in this particular case as this whole doc will likely be removed soon, but would it not be preferable for docs to use relative paths?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikenairn yeah, other option is: we add the config path to the import paths for mkdocs, which will hover these resources up into the bundle. Download links will then download the file as is, from the branch you've selected from the import URL. That may be preferable as we seem to be heading towards versioning our docs in tandem with component releases.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right i see, we would need to update this i guess to include all relatively linked files here? https://github.com/Kuadrant/docs.kuadrant.io/blob/main/mkdocs.yml#L52

Bit annoying maybe, but probably better option long term. If we have the PR builds check with mkdocs build -s we should at least be able to catch and fix them as we update versions before we hit main of docs.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly yes

Thinking on it more, I think that might be our best route. The associated docs PR for this will build mkdocs with the -s switch (when these broken link PRs land)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants