Skip to content

[scanner] fix: repair broken links#6169

Merged
clubanderson merged 1 commit into
mainfrom
scanner/fix-6168
Jul 2, 2026
Merged

[scanner] fix: repair broken links#6169
clubanderson merged 1 commit into
mainfrom
scanner/fix-6168

Conversation

@clubanderson

Copy link
Copy Markdown
Contributor

Fixes #6168

Changes

Replaced all unresolved MkDocs template variables ({{ config.ks_latest_release }} and {{ config.ks_latest_regular_release }}) with the actual version number 0.30.0 from src/config/versions.ts.

Files Modified

  • docs/content/kubestellar/get-started.md (5 occurrences)
  • docs/content/kubestellar/binding.md (2 occurrences)
  • docs/content/kubestellar/acquire-hosting-cluster.md (1 occurrence)
  • docs/content/kubestellar/control.md (1 occurrence)
  • docs/content/kubestellar/core-chart.md (2 occurrences)
  • docs/content/kubestellar/start-from-ocm.md (2 occurrences)

Total: 13 broken links fixed

Root Cause

These template variables work in MkDocs but are not processed in the Next.js build pipeline. Fixed by replacing with hardcoded version numbers.

Replace unresolved MkDocs template variables with actual version numbers.
All instances of {{ config.ks_latest_release }} and {{ config.ks_latest_regular_release }}
replaced with v0.30.0 from src/config/versions.ts.

Fixes #6168

Signed-off-by: Copilot <Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 2, 2026 08:11
@clubanderson clubanderson requested a review from KPRoche as a code owner July 2, 2026 08:11
@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Jul 2, 2026
@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Code Review Process.

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

Details 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

@netlify

netlify Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploy Preview for kubestellar-docs ready!

Name Link
🔨 Latest commit ad0ddff
🔍 Latest deploy log https://app.netlify.com/projects/kubestellar-docs/deploys/6a461d2fedf7ca0008f0a838
😎 Deploy Preview https://deploy-preview-6169--kubestellar-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kubestellar-prow kubestellar-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 2, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

📖 Preview Links

The following documentation pages were changed in this PR:

Status Page Preview Link
📝 modified acquire-hosting-cluster View preview
📝 modified binding View preview
📝 modified control View preview
📝 modified core-chart View preview
📝 modified get-started View preview
📝 modified start-from-ocm View preview

🔗 Full preview site

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses broken external links in the KubeStellar documentation caused by unresolved MkDocs template variables not being expanded in the Next.js pipeline. It fixes issue #6168 by replacing {{ config.ks_latest_release }} / {{ config.ks_latest_regular_release }} occurrences in URLs with the concrete version 0.30.0.

Changes:

  • Replaced MkDocs template variables embedded in URLs with v0.30.0 across the affected docs pages.
  • Updated raw GitHub and pkg.go.dev links to point at the versioned tag/module path.
  • Updated a docs.kubestellar.io “release-*” link to the concrete release-0.30.0 path.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
docs/content/kubestellar/get-started.md Replaced unresolved template variables in script download URLs with v0.30.0.
docs/content/kubestellar/binding.md Updated pkg.go.dev API reference URLs to use @v0.30.0.
docs/content/kubestellar/acquire-hosting-cluster.md Updated raw GitHub script URL to use v0.30.0.
docs/content/kubestellar/control.md Updated pkg.go.dev API reference URL to use @v0.30.0.
docs/content/kubestellar/core-chart.md Updated a GitHub script link and a docs.kubestellar.io release link to use 0.30.0.
docs/content/kubestellar/start-from-ocm.md Replaced unresolved template variable in a script URL with v0.30.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


```shell
bash <(curl -s https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v{{ config.ks_latest_release }}/scripts/setup-wsl-fedora.sh)
bash <(curl -s https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v0.30.0/scripts/setup-wsl-fedora.sh)

```shell
bash <(curl -s https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v{{ config.ks_latest_release }}/scripts/create-kubestellar-demo-env.sh) --platform kind
bash <(curl -s https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v0.30.0/scripts/create-kubestellar-demo-env.sh) --platform kind

```shell
bash <(curl -s https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v{{ config.ks_latest_release }}/scripts/create-kubestellar-demo-env.sh) --platform k3d
bash <(curl -s https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v0.30.0/scripts/create-kubestellar-demo-env.sh) --platform k3d

```shell
curl -H "Cache-Control: no-cache" -L https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v{{ config.ks_latest_release }}/scripts/ocm-local-up-for-ingress.sh | bash
curl -H "Cache-Control: no-cache" -L https://raw.githubusercontent.com/kubestellar/kubestellar/refs/tags/v0.30.0/scripts/ocm-local-up-for-ingress.sh | bash
```

where `name` must specify a name unique among all the control planes in that KubeFlex deployment (note that this must be unique among both ITSes and WDSes), the optional `type` can be either k8s (default) or host, see [here](https://github.com/kubestellar/kubeflex/blob/main/docs/users.md) for more information, the optional `APIGroups` provides a list of APIGroups, see [here](https://docs.kubestellar.io/release-{{ config.ks_latest_release }}/kubestellar/examples-scenarios.md/#scenario-2-using-the-hosting-cluster-as-wds-to-deploy-a-custom-resource) for more information, and `ITSName` specify the ITS connected to the new WDS being created (this parameter MUST be specified if more that one ITS exists in the cluster, if no value is specified and only one ITS exists in the cluster, then it will be automatically selected).
where `name` must specify a name unique among all the control planes in that KubeFlex deployment (note that this must be unique among both ITSes and WDSes), the optional `type` can be either k8s (default) or host, see [here](https://github.com/kubestellar/kubeflex/blob/main/docs/users.md) for more information, the optional `APIGroups` provides a list of APIGroups, see [here](https://docs.kubestellar.io/release-0.30.0/kubestellar/examples-scenarios.md/#scenario-2-using-the-hosting-cluster-as-wds-to-deploy-a-custom-resource) for more information, and `ITSName` specify the ITS connected to the new WDS being created (this parameter MUST be specified if more that one ITS exists in the cluster, if no value is specified and only one ITS exists in the cluster, then it will be automatically selected).
When the ITS `type` is `external`, the `bootstrapSecret` sub-section can be used to indicate the bootstrap secret used by KubeFlex to connect to the external cluster. Specifically, it can be used to specify any combination of (a) the name of the secret, (b) the namespace containing the secret, and (c) the name of the key containing the kubeconfig of the external cluster if they need to be different from their default value.

If the secret was created using the [create-external-bootstrap-secret.sh](https://github.com/kubestellar/kubestellar/tree/v{{ config.ks_latest_release }}/scripts/create-external-bootstrap-secret.sh) script and the value passed to the argument `--controlplane` matches the name of the Control Plane specified by the Helm chart, then the sub-section `bootstrapSecret` is not required because all default values will identify the bootstrap secret created by the script. More specifically, if an external kind cluster was created with the command `kind create cluster --name its1` and the `create-external-bootstrap-secret.sh --controlplane its1 --verbose` command was used to create the bootstrap secret, then it would be enough to inform the Helm chart with `--set-json='ITSes=[{"name":"its1","type":"external"}]'`.
If the secret was created using the [create-external-bootstrap-secret.sh](https://github.com/kubestellar/kubestellar/tree/v0.30.0/scripts/create-external-bootstrap-secret.sh) script and the value passed to the argument `--controlplane` matches the name of the Control Plane specified by the Helm chart, then the sub-section `bootstrapSecret` is not required because all default values will identify the bootstrap secret created by the script. More specifically, if an external kind cluster was created with the command `kind create cluster --name its1` and the `create-external-bootstrap-secret.sh --controlplane its1 --verbose` command was used to create the bootstrap secret, then it would be enough to inform the Helm chart with `--set-json='ITSes=[{"name":"its1","type":"external"}]'`.
@clubanderson clubanderson merged commit 8baa6a3 into main Jul 2, 2026
20 of 21 checks passed
@kubestellar-prow kubestellar-prow Bot deleted the scanner/fix-6168 branch July 2, 2026 09:01
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution! Your PR has been merged.

Check out what's new:

Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dco-signoff: yes Indicates the PR's author has signed the DCO. documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔗 Broken Links Detected — Run 28571833480

2 participants