-
Notifications
You must be signed in to change notification settings - Fork 213
feat(quickstart): dynamic version of rhdh in documentation links #4017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -504,7 +504,7 @@ plugins: | |
| cta: | ||
| text: Learn more | ||
| textKey: steps.setupAuthentication.ctaTitle | ||
| link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/authentication_in_red_hat_developer_hub/ | ||
| link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/${RHDH_DOCS_VERSION}/html/authentication_in_red_hat_developer_hub/ | ||
| - title: Configure RBAC | ||
| titleKey: steps.configureRbac.title | ||
| icon: Rbac | ||
|
|
@@ -524,7 +524,7 @@ plugins: | |
| cta: | ||
| text: Learn more | ||
| textKey: steps.configureGit.ctaTitle | ||
| link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/integrating_red_hat_developer_hub_with_github/ | ||
| link: https://docs.redhat.com/en/documentation/red_hat_developer_hub/${RHDH_DOCS_VERSION}/html/integrating_red_hat_developer_hub_with_github/ | ||
| - title: Manage plugins | ||
| titleKey: steps.managePlugins.title | ||
| icon: Plugins | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The DPDY file (dynamic-plugins.default.yaml) file is generated downstream in the https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog/-/blob/rhdh-1-rhel-9/build/scripts/generateDynamicPluginsDefaultYaml.py If you would like to embed a version, we can do it there. |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,17 +42,19 @@ test.describe("Test Quick Start plugin", () => { | |
| await uiHelper.verifyText("We'll guide you through a few quick steps"); | ||
| await uiHelper.verifyText("Not started"); | ||
| await uiHelper.clickButtonByText("Set up authentication"); | ||
| // URL version is replaced at build time from package.json (e.g., "1.9") | ||
| await uiHelper.verifyButtonURL( | ||
| "Learn more", | ||
| "https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/authentication_in_red_hat_developer_hub/", | ||
| "docs.redhat.com/en/documentation/red_hat_developer_hub/", | ||
| { exact: false }, | ||
| ); | ||
| await uiHelper.clickButtonByText("Configure RBAC"); | ||
| await uiHelper.verifyButtonURL("Manage access", "/rbac"); | ||
| await uiHelper.clickButtonByText("Configure Git"); | ||
| // URL version is replaced at build time from package.json (e.g., "1.9") | ||
| await uiHelper.verifyButtonURL( | ||
| "Learn more", | ||
| "https://docs.redhat.com/en/documentation/red_hat_developer_hub/latest/html/integrating_red_hat_developer_hub_with_github/", | ||
| "docs.redhat.com/en/documentation/red_hat_developer_hub/", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why remove the https:// and the suffix to the actual page? |
||
| { exact: false }, | ||
| ); | ||
| await uiHelper.clickButtonByText("Manage plugins"); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if doing this in docker/Dockerfile should do the same in .rhdh/docker/Dockerfile too... but there we have metadata which defines the version of RHDH. Why do you need a different version here for the DOCS of the RHDH version? Surely they're the same since the docs use the same value in https://github.com/redhat-developer/red-hat-developers-documentation-rhdh/blob/main/artifacts/attributes.adoc#L16 ?