Skip to content

Commit 3712085

Browse files
themr0cnickboldt
andauthored
RHIDP-9751 - fixed broken links (#1570)
Co-authored-by: Nick Boldt <nboldt@redhat.com>
1 parent 3e3f69b commit 3712085

22 files changed

+81
-76
lines changed

.htmltest.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,21 @@
33
# Defines htmltest configuration
44
# See: https://github.com/wjdp/htmltest
55
#
6-
DirectoryPath: titles-generated/main
6+
DirectoryPath: titles-generated
77
CheckDoctype: false
8-
ExternalTimeout: 30
8+
ExternalTimeout: 60
99
OutputDir: .cache/htmltest
1010
IgnoreDirectoryMissingTrailingSlash: true
1111
IgnoreSSLVerify: true
1212
IgnoreURLs: # List URLS that are not published, false positives, websites refusing crawlers
1313
# Unauthorized (403)
14-
- https://docs.redhat.com/en/documentation/red_hat_developer_hub
14+
- "^./pr-.*/index.html$"
15+
- "^index.html$"
1516
- https://developers.redhat.com
1617
- https://docs.github.com/
18+
- https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.9
1719
- https://entra.microsoft.com
20+
- https://npm.registry.redhat.com
21+
- https://npmjs.com/package/
1822
- https://openai.com/api/
1923
- https://platform.openai.com/docs/overview

.linkcheckerrc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55
checkextern=True
66
ignore=
77
brand.css
8-
lang.css
98
http://creativecommons.org/licenses/by-sa/3.0/
10-
https://access.redhat.com/downloads/content/480/
9+
https://access.redhat.com/downloads/
10+
https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.9
11+
https://npmjs.com/package/
12+
https://www.youtube.com/@redhat
13+
lang.css
1114

1215
[output]
1316
fileoutput=html,csv

artifacts/attributes.adoc

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
:my-product-namespace: my-rhdh-project
4242
:my-product-secrets: my-rhdh-secrets
4343
:my-product-url: https://__<my_developer_hub_domain>__
44+
:plugin-type-name-uppercase: Custom
45+
:plugin-type-name: custom
4446

4547
// Red Hat Platforms (in alphabetical order)
4648
:logging-brand-name: Red Hat OpenShift Logging
@@ -60,6 +62,9 @@
6062
:rhacs-very-short: ACS
6163
:rhads-brand-name: Red Hat Advanced Developer Suite - secure supply chain
6264
:rhads-very-short: RHADS - ssc
65+
:rhcr: Red Hat Container Registry
66+
:rhcr-long: {rhcr} (registry.redhat.io)
67+
:rhec: Red Hat Ecosystem Catalog
6368
:rhbk-brand-name: Red Hat Build of Keycloak
6469
:rhbk: RHBK
6570
:rhdeveloper-name: Red Hat Developer
@@ -91,6 +96,8 @@
9196
:gcp-short: Google Cloud
9297
:gke-brand-name: Google Kubernetes Engine
9398
:gke-short: GKE
99+
:openshift-ai-connector-name-short: OpenShift AI Connector for {product-very-short}
100+
:openshift-ai-connector-name: OpenShift AI Connector for {product}
94101

95102
// First mention of OpenShift CLI or `oc` in a module
96103
:openshift-cli: pass:quotes[OpenShift CLI (`oc`)]
@@ -138,7 +145,7 @@
138145
:installing-on-gke-book-title: Installing {product} on {gke-brand-name}
139146
:installing-on-ocp-book-link: {product-docs-link}/html-single/installing_red_hat_developer_hub_on_openshift_container_platform/index
140147
:installing-on-ocp-book-title: Installing {product} on {ocp-short}
141-
:installing-on-osd-on-gcp-book-link: {product-docs-link}/html-single/installing_red_hat_developer_hub_on_openshift_dedicated_on_google_cloud_platform/index
148+
:installing-on-osd-on-gcp-book-link: {product-docs-link}/html-single/installing_red_hat_developer_hub_on_openshift_dedicated_on_google_cloud/index
142149
:installing-on-osd-on-gcp-book-title: Installing {product} on {gcp-brand-name} on {gcp-brand-name}
143150
:installing-rhdh-orch-on-ocp-book-link: {product-docs-link}/html-single/installing_rhdh_with_orchestrator_plugin_on_{ocp-short}_using_operator_in_an_air-gapped_environment/index
144151
:installing-rhdh-orch-on-ocp-book-title: Installing RHDH with the Orchestrator Plugin on {ocp-short} using the {product} Operator
@@ -147,19 +154,25 @@
147154
:introduction-to-plugins-book-link: {product-docs-link}/html-single/introduction_to_plugins/index
148155
:introduction-to-plugins-book-title: Introduction to plugins
149156
:learning-path-data-json-link: link:https://raw.githubusercontent.com/redhat-developer/rhdh/release-{product-version}/packages/app/public/learning-paths/data.json
157+
:model-context-protocol-link: {product-docs-link}/html-single/interacting_with_model_context_protocol_tools_for_red_hat_developer_hub/index
158+
:model-context-protocol-title: Interacting with Model Context Protocol tools for {product}
150159
:monitoring-and-logging-book-link: {product-docs-link}/html-single/monitoring_and_logging/index
151160
:monitoring-and-logging-book-title: Monitoring and logging
152161
:observability-category-link: {product-docs-link}/#Observability
153162
:ocp-docs-link: link:https://docs.redhat.com/en/documentation/openshift_container_platform/{ocp-version}
154163
:odf-docs-link: link:https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/{ocp-version}
164+
:openshift-ai-connector-for-rhdh-link: {product-docs-link}/html-single/accelerate_ai_development_with_openshift_ai_connector_for_red_hat_developer_hub/index
155165
:orchestrator-book-link: {product-docs-link}/html-single/orchestrator_in_red_hat_developer_hub/index
156166
:orchestrator-book-title: Orchestrator in {product}
157167
:osd-docs-link: link:https://docs.redhat.com/en/documentation/openshift_dedicated/{osd-version}
158168
:release-notes-book-link: {product-docs-link}/html-single/red_hat_developer_hub_release_notes/index
159169
:release-notes-book-title: {product} release notes
160170
:release-notes-category-link: {product-docs-link}/#Release Notes
161171
:rhbk-docs-link: link:https://docs.redhat.com/en/documentation/red_hat_build_of_keycloak/{keycloak-version}
172+
:rhoai-docs-link: link:https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2.25/html-single
162173
:rhoserverless-link: link:https://docs.redhat.com/en/documentation/red_hat_openshift_serverless/{rhoserverless-version}
174+
:scorecard-plugin-book-link: {product-docs-link}/html-single/understand_and_visualize_red_hat_developer_hub_project_health_using_scorecards/index
175+
:scorecard-plugin-book-title: Understand and visualize {product} project health using Scorecards
163176
:techdocs-book-link: {product-docs-link}/html-single/techdocs_for_red_hat_developer_hub/index
164177
:techdocs-book-title: TechDocs for {product}
165178
:telemetry-data-collection-book-link: {product-docs-link}/html-single/telemetry_data_collection_and_analysis/index
@@ -169,19 +182,3 @@
169182
:upgrading-book-title: Upgrading {product}
170183
:using-dynamic-plugins-book-link: {product-docs-link}/html-single/installing_and_viewing_plugins_in_red_hat_developer_hub/index
171184
:using-dynamic-plugins-book-title: Using dynamic plugins
172-
:plugin-type-name: custom
173-
:plugin-type-name-uppercase: Custom
174-
175-
176-
:scorecard-plugin-book-link: {product-docs-link}/html-single/understand_and_visualize_red_hat_developer_hub_project_health_using_scorecards/index
177-
:scorecard-plugin-book-title: Understand and visualize {product} project health using Scorecards
178-
179-
:model-context-protocol-link: {product-docs-link}/html-single/interacting_with_model_context_protocol_tools_for_red_hat_developer_hub/index
180-
:model-context-protocol-title: Interacting with Model Context Protocol tools for {product}
181-
182-
:openshift-ai-connector-for-rhdh-link: {product-docs-link}/html-single/accelerate_ai_development_with_openshift_ai_connector_for_red_hat_developer_hub/index
183-
184-
:openshift-ai-connector-name: OpenShift AI Connector for {product}
185-
:openshift-ai-connector-name-short: OpenShift AI Connector for {product-very-short}
186-
187-
:rhoai-docs-link: link:https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2.25/html-single

artifacts/snip-rhdh-install-operator-next-steps.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
.Next steps
44
* Use the Operator to create a {product} instance on a supported platform. For more information, see the following documentation for the platform that you want to use:
5-
** link:https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.4/html/installing_red_hat_developer_hub_on_openshift_container_platform/assembly-install-rhdh-ocp-operator[Installing {product} on {ocp-short} with the Operator]
6-
** link:https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.4/html/installing_red_hat_developer_hub_on_amazon_elastic_kubernetes_service/proc-rhdh-deploy-eks-operator_title-install-rhdh-eks[Installing {product-short} on {eks-short} with the Operator]
7-
** link:https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.4/html/installing_red_hat_developer_hub_on_microsoft_azure_kubernetes_service/proc-rhdh-deploy-aks-operator_title-install-rhdh-aks[Installing {product-short} on {aks-short} with the Operator]
8-
** link:https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.4/html/installing_red_hat_developer_hub_on_openshift_dedicated_on_google_cloud_platform/proc-install-rhdh-osd-gcp-operator_title-install-rhdh-osd-gcp[Installing {product-short} on {gcp-short} with the Operator]
9-
** link:https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.4/html/installing_red_hat_developer_hub_on_google_kubernetes_engine/proc-rhdh-deploy-gke-operator.adoc_title-install-rhdh-gke#proc-deploy-rhdh-instance-gke.adoc_title-install-rhdh-gke[Deploying {product-short} on {gke-short} with the Operator]
5+
** {installing-on-ocp-book-link}#proc-install-rhdh-ocp-operator_assembly-install-rhdh-ocp-operator[Installing {product} on {ocp-short} with the Operator]
6+
** {installing-on-eks-book-link}#assembly-installing-rhdh-on-eks-by-using-the-operator[{installing-on-eks-book-title} with the Operator]
7+
** {installing-on-aks-book-link}#assembly-installing-rhdh-on-aks-by-using-the-operator[{installing-on-aks-book-title} with the Operator]
8+
** {installing-on-osd-on-gcp-book-link}#proc-install-rhdh-osd-gcp-operator_title-install-rhdh-osd-gcp[{installing-on-osd-on-gcp-book-title} with the Operator]
9+
** {installing-on-gke-book-link}#assembly-installing-rhdh-on-gke-by-using-the-operator[{installing-on-gke-book-title} with the Operator]

assemblies/assembly-installing-rhdh-on-platform-by-using-the-operator.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
[id="assembly-installing-rhdh-on-{platform-id}-by-using-the-operator"]
44
= Installing {product-short} on {platform-long} by using the Operator
55

6-
To benefit from over-the-air updates and catalogs provided by Operator-based applications distributed with the Operator Lifecycle Manager (OLM) framework, consider installing {product} by using the {product} Operator distributed in the {company-name} Ecosystem.
6+
To benefit from over-the-air updates and catalogs provided by Operator-based applications distributed with the Operator Lifecycle Manager (OLM) framework, consider installing {product} by using the {product} Operator distributed in the {rhcr}.
77

88
On {platform}, the most notable differences over an OpenShift-based installation are:
99

10-
* The OLM framework and the {company-name} Ecosystem are not built-in.
11-
* The {company-name} Ecosystem pull-secret is not managed globally.
10+
* The OLM framework and the {rhcr} are not built-in.
11+
* The {rhcr} pull-secret is not managed globally.
1212
* To expose the application, Ingresses replace OpenShift Routes.
1313
1414
For clarity, the content is broken down in sections highlighting these platform-specific additional steps.

build/scripts/build-ccutil.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,6 @@ else
7070
echo "<li><a href=./${BRANCH}/index.html>${BRANCH}</a></li>" >> titles-generated/index.html
7171
fi
7272
fi
73+
74+
# Test the links with htmltest
75+
podman run --rm --tty --volume "$(pwd)":/test:Z docker.io/wjdp/htmltest:latest -c .htmltest.yml

modules/authentication/snip-enabling-user-authentication-with-microsoft-azure-common-first-steps.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The server for retrieving organization data, including user and group data, to i
2222

2323
.Procedure
2424
:my-product-app-name-in-azure: <Authenticating with {product-short}>
25-
. Register your {product-short} app in {azure-short}, link:https://learn.microsoft.com/en-us/entra/identity-platform/scenario-web-app-sign-user-app-registration?tabs=aspnetcore#register-an-app-by-using-the-azure-portal[by using the {azure-short} portal].
25+
. Register your {product-short} app in {azure-short}, link:https://learn.microsoft.com/en-us/entra/identity-platform/scenario-web-app-sign-user-app-configuration?tabs=aspnetcore#register-an-app-by-using-the-azure-portal[by using the {azure-short} portal].
2626

2727
.. Sign in to the link:https://entra.microsoft.com/[Microsoft Entra admin center].
2828

modules/configuring-external-databases/con-default-base-urls.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ The Operator follows these rules to set the base URLs for your application:
99

1010
* If the cluster is not OpenShift, the Operator makes no changes.
1111
* If you explicitly set the `spec.application.route.enabled` field in your Custom Resource (CR) to `false`, no changes are made.
12-
* If you define `spec.application.route.host` in the {product-custom-resource-type} CR, the base URLs are set to `https://<spec.application.route.host>`.
13-
* If you specify the `spec.application.route.subdomain` in the {product-custom-resource-type} CR, the base URLs are set to `https://<spec.application.route.subdomain>.<cluster_ingress_domain>`.
14-
* If no custom host or subdomain is provided, the Operator sets the base URLs to `https://backstage-{cr_name}-<namespace>.<cluster_ingress_domain>`, which is the default domain for the created _Route_ resource.
12+
* If you define `spec.application.route.host` in the {product-custom-resource-type} CR, the base URLs are set to `pass:c,a,q[https://<spec.application.route.host>]`.
13+
* If you specify the `spec.application.route.subdomain` in the {product-custom-resource-type} CR, the base URLs are set to `pass:c,a,q[https://<spec.application.route.subdomain>.<cluster_ingress_domain>]`.
14+
* If no custom host or subdomain is provided, the Operator sets the base URLs to `pass:c,a,q[https://backstage-<cr_name>-<namespace>.<cluster_ingress_domain>]`, which is the default domain for the created _Route_ resource.
1515

1616
The Operator updates the following base URLs in the default `app-config` ConfigMap:
1717

modules/configuring/snip-provisioning-your-custom-configuration-appconfig-step-with-optional-steps-disabled.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@ Enter your repository discovery configuration.
5151
`permissions`:: Enable Role-based access control.
5252
Enter your policy administrator name.
5353

54-
.. Additionally, link:{authentication-book-url}[provision users and enable authentication with your external identity provider].
54+
.. Additionally, {authentication-book-link}[provision users and enable authentication with your external identity provider].

modules/dynamic-plugins/proc-configuring-events-module-for-github.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Secure your workflow by adding a webhook secret token to link:https://docs.githu
5454
** *For Github Discovery Events*: push, repository
5555
** *For Github Organizational Data Events*: organization, team and membership
5656
** *Content Type*: application/json
57-
** *Payload URL*: https://<your_instance_name>/api/events/http/github
57+
** *Payload URL*: pass:c,a,q[`{my-product-url}/api/events/http/github`]
5858
+
5959
[NOTE]
6060
====

0 commit comments

Comments
 (0)