Skip to content

Conversation

themr0c
Copy link
Member

@themr0c themr0c commented Sep 4, 2025

RHDHBUGS-2005 - Fixed 39 broken links found by linkchecker

$  linkchecker --check-extern --output failures --file-output failures/broken-links.txt https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.7
  • Also fixed the erroneous usage of docs.redhat.com directly without using attributes.
  • Changed the attributes to make them compatible with the Dita migration tool.
  • Generalized the use of attributes.
  • Fixed links pointing to obsolete product versions (of RHDH, OCP, ODF etc...
  • Fixed links pointing to obsolete paths and generating redirections.
  • Partially updated links in Additional resource for AEM migration.

To test locally, install htmltest and linkchecker and run

 ./build/scripts/build-ccutil.sh && (htmltest ; linkchecker -f .linkcheckerrc titles-generated/main/)

This is the broken link list:

Format: number of occurences "('page containing the broken link', 'broken link')"

These broken links are in older versions and not handled by this PR:

Version(s): 1.7

Issue: https://issues.redhat.com/browse/RHDHBUGS-2005

Preview:

@rhdh-bot
Copy link
Collaborator

rhdh-bot commented Sep 4, 2025

… using attributes

Signed-off-by: Fabrice Flore-Thébault <[email protected]>
… a valid anchor

Signed-off-by: Fabrice Flore-Thébault <[email protected]>
Signed-off-by: Fabrice Flore-Thébault <[email protected]>
Signed-off-by: Fabrice Flore-Thébault <[email protected]>
…ke' unless updating existing content that uses the term.
@themr0c themr0c merged commit 1e347d7 into redhat-developer:main Sep 8, 2025
2 of 3 checks passed
@themr0c
Copy link
Member Author

themr0c commented Sep 8, 2025

/cherry-pick release-1.8

@themr0c themr0c deleted the RHDHBUGS-2005 branch September 8, 2025 15:09
@openshift-cherrypick-robot
Copy link
Contributor

@themr0c: cannot checkout release-1.8: error checking out "release-1.8": exit status 1 error: pathspec 'release-1.8' did not match any file(s) known to git

In response to this:

/cherry-pick release-1.8

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@themr0c
Copy link
Member Author

themr0c commented Sep 8, 2025

I will address eventual fixes in followup pull requests.

@themr0c
Copy link
Member Author

themr0c commented Sep 8, 2025

/cherry-pick release-1.7

@openshift-cherrypick-robot
Copy link
Contributor

@themr0c: #1348 failed to apply on top of branch "release-1.7":

Applying: RHDHBUGS-2005 - Removed an useless link (the linked section just follows the link)
Applying: RHDHBUGS-2005 - Sorted link attributes alphabetically
Using index info to reconstruct a base tree...
M	artifacts/attributes.adoc
Falling back to patching base and 3-way merge...
Auto-merging artifacts/attributes.adoc
CONFLICT (content): Merge conflict in artifacts/attributes.adoc
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0002 RHDHBUGS-2005 - Sorted link attributes alphabetically

In response to this:

/cherry-pick release-1.7

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

themr0c added a commit to themr0c/red-hat-developers-documentation-rhdh that referenced this pull request Sep 8, 2025
Copy link
Member

@jmagak jmagak left a comment

Choose a reason for hiding this comment

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

Please include the following suggestions in your future pull requests, @themr0c .
The issue that I saw is that the link, xref are visible in various areas in the preview.

* You link:{configuring-book-url}[added a custom {product-short} application configuration], and have sufficient permissions to modify it.
* You link:{configuring-book-url}#using-the-helm-chart-to-run-rhdh-with-your-custom-configuration[use the {product} Helm chart to run {product-short}].
* You {configuring-book-link}[added a custom {product-short} application configuration], and have sufficient permissions to modify it.
* You {configuring-book-link}#using-the-helm-chart-to-run-rhdh-with-your-custom-configuration[use the {product} Helm chart to run {product-short}].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* You {configuring-book-link}#using-the-helm-chart-to-run-rhdh-with-your-custom-configuration[use the {product} Helm chart to run {product-short}].
* You {configuring-book-link}#using-the-helm-chart-to-run-rhdh-with-your-custom-configuration[use the {product} Helm chart to run {product-short}].

@@ -81,15 +81,15 @@ Scaffolder templates can now be versioned using the backstage.io/template-versio

{product} now supports high availability setups in {eks-brand-name} ({eks-short}). This enhancement allows the deployment to scale beyond a single replica, ensuring the application remains operational and accessible even in the event of failures or disruptions.

For more information, see link:{configuring-book-url}#HighAvailability[_Configuring high availability in Red Hat Developer Hub_].
For more information, see {configuring-book-link}#HighAvailability[_Configuring high availability in Red Hat Developer Hub_].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
For more information, see {configuring-book-link}#HighAvailability[_Configuring high availability in Red Hat Developer Hub_].
For more information, see {configuring-book-link}#HighAvailability[_Configuring high availability in {product}_].

@@ -15,5 +15,5 @@ Additional detail on how Red Hat provides support for bundled community dynamic
====

To use the Ansible plugins, see
link:https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.4/html/using_ansible_plug-ins_for_red_hat_developer_hub/index[_Using Ansible plug-ins for Red Hat Developer Hub_].
{ansible-automation-platform-docs-link}/html-single/using_ansible_plug-ins_for_red_hat_developer_hub/index[_Using Ansible plug-ins for Red Hat Developer Hub_].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{ansible-automation-platform-docs-link}/html-single/using_ansible_plug-ins_for_red_hat_developer_hub/index[_Using Ansible plug-ins for Red Hat Developer Hub_].
{ansible-automation-platform-docs-link}/html-single/using_ansible_plug-ins_for_red_hat_developer_hub/index[_Using Ansible plug-ins for {product}_].

@@ -17,10 +17,10 @@ Additional detail on how Red Hat provides support for bundled community dynamic
== For administrators

To install and configure the Ansible plugins, see
link:https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.4/html/installing_ansible_plug-ins_for_red_hat_developer_hub/index[_Installing Ansible plug-ins for Red Hat Developer Hub_].
{ansible-automation-platform-docs-link}/html-single/installing_ansible_plug-ins_for_red_hat_developer_hub/index[_Installing Ansible plug-ins for Red Hat Developer Hub_].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{ansible-automation-platform-docs-link}/html-single/installing_ansible_plug-ins_for_red_hat_developer_hub/index[_Installing Ansible plug-ins for Red Hat Developer Hub_].
{ansible-automation-platform-docs-link}/html-single/installing_ansible_plug-ins_for_red_hat_developer_hub/index[_Installing Ansible plug-ins for {product}_].


== For users

To use the Ansible plugins, see
link:https://docs.redhat.com/en/documentation/red_hat_ansible_automation_platform/2.4/html/using_ansible_plug-ins_for_red_hat_developer_hub/index[_Using Ansible plug-ins for Red Hat Developer Hub_].
{ansible-automation-platform-docs-link}/html-single/using_ansible_plug-ins_for_red_hat_developer_hub/index[_Using Ansible plug-ins for Red Hat Developer Hub_].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{ansible-automation-platform-docs-link}/html-single/using_ansible_plug-ins_for_red_hat_developer_hub/index[_Using Ansible plug-ins for Red Hat Developer Hub_].
{ansible-automation-platform-docs-link}/html-single/using_ansible_plug-ins_for_red_hat_developer_hub/index[_Using Ansible plug-ins for {product}_].

@@ -32,7 +32,7 @@ p, role:default/bulk-import, bulk.import, use, allow
g, user:default/__<your_user>__, role:default/bulk-import
----
+
Note that only {product-short} administrators or users with the `bulk.import` permission can use the Bulk Import feature. See link:{authorization-book-url}#ref-rbac-permission-policies_title-authorization[Permission policies in Red Hat Developer Hub].
Note that only {product-short} administrators or users with the `bulk.import` permission can use the Bulk Import feature. See {authorization-book-link}#ref-rbac-permission-policies_title-authorization[Permission policies in Red Hat Developer Hub].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Note that only {product-short} administrators or users with the `bulk.import` permission can use the Bulk Import feature. See {authorization-book-link}#ref-rbac-permission-policies_title-authorization[Permission policies in Red Hat Developer Hub].
Note that only {product-short} administrators or users with the `bulk.import` permission can use the Bulk Import feature. See {authorization-book-link}#ref-rbac-permission-policies_title-authorization[Permission policies in {product}].

@@ -6,10 +6,10 @@
Use the {ocp-short} web console to configure the following {ocp-short} logging components to use audit logging for {product-short}:

Logging deployment::
Configure the logging environment, including both the CPU and memory limits for each logging component. For more information, see link:https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html-single/logging/index#cluster-logging-memory[{ocp-brand-name} - Configuring your Logging deployment].
Configure the logging environment, including both the CPU and memory limits for each logging component. For more information, see link:{ocp-docs-link}/html-single/logging/index#cluster-logging-memory[{ocp-brand-name} - Configuring your Logging deployment].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Configure the logging environment, including both the CPU and memory limits for each logging component. For more information, see link:{ocp-docs-link}/html-single/logging/index#cluster-logging-memory[{ocp-brand-name} - Configuring your Logging deployment].
Configure the logging environment, including both the CPU and memory limits for each logging component. For more information, see {ocp-docs-link}/html-single/logging/index#cluster-logging-memory[{ocp-brand-name} - Configuring your Logging deployment].


Logging collector::
Configure the `spec.collection` stanza in the `ClusterLogging` custom resource (CR) to use a supported modification to the log collector and collect logs from `STDOUT`. For more information, see link:https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html-single/logging/index#cluster-logging-collector[{ocp-brand-name} - Configuring the logging collector].
Configure the `spec.collection` stanza in the `ClusterLogging` custom resource (CR) to use a supported modification to the log collector and collect logs from `STDOUT`. For more information, see link:{ocp-docs-link}/html-single/logging/index#cluster-logging-collector[{ocp-brand-name} - Configuring the logging collector].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Configure the `spec.collection` stanza in the `ClusterLogging` custom resource (CR) to use a supported modification to the log collector and collect logs from `STDOUT`. For more information, see link:{ocp-docs-link}/html-single/logging/index#cluster-logging-collector[{ocp-brand-name} - Configuring the logging collector].
Configure the `spec.collection` stanza in the `ClusterLogging` custom resource (CR) to use a supported modification to the log collector and collect logs from `STDOUT`. For more information, see {ocp-docs-link}/html-single/logging/index#cluster-logging-collector[{ocp-brand-name} - Configuring the logging collector].

@@ -7,7 +7,7 @@ You can access live data logs generated by Kubernetes objects and collect log da

* You have deployed {product-short} on {aks-short}.

For more information, see xref:{installing-on-aks-book-url}#assembly-install-rhdh-aks[{installing-on-aks-book-title}].
For more information, see xref:{installing-on-aks-book-link}#assembly-install-rhdh-aks[{installing-on-aks-book-title}].
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
For more information, see xref:{installing-on-aks-book-link}#assembly-install-rhdh-aks[{installing-on-aks-book-title}].
For more information, see {installing-on-aks-book-link}#assembly-install-rhdh-aks[{installing-on-aks-book-title}].

Gerry-Forde pushed a commit to Gerry-Forde/red-hat-developers-documentation-rhdh-v2 that referenced this pull request Sep 8, 2025
I will merge now and adress fixes in followup pull requests.
Gerry-Forde pushed a commit to Gerry-Forde/red-hat-developers-documentation-rhdh-v2 that referenced this pull request Sep 9, 2025
I will merge now and adress fixes in followup pull requests.
Gerry-Forde pushed a commit to Gerry-Forde/red-hat-developers-documentation-rhdh-v2 that referenced this pull request Sep 9, 2025
I will merge now and adress fixes in followup pull requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants