Skip to content
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

Update docs link #7144

Closed
nwmac opened this issue Oct 11, 2022 · 13 comments · Fixed by #7309
Closed

Update docs link #7144

nwmac opened this issue Oct 11, 2022 · 13 comments · Fixed by #7309
Assignees
Milestone

Comments

@nwmac
Copy link
Member

nwmac commented Oct 11, 2022

Base link is currently https://rancher.com/docs/rancher/v2.6/en

@nwmac nwmac added this to the v2.7.0 milestone Oct 11, 2022
@gaktive
Copy link
Member

gaktive commented Oct 11, 2022

@gaktive to sync with @gunamata about what the expected 2.7.x structure in the new docs page.

@gunamata
Copy link

https://rancher.com/docs/rancher/v2.6/en is the old docs link which redirects to https://docs.ranchermanager.rancher.io/ . With the new docs portal, the latest version is served at https://docs.ranchermanager.rancher.io/ and the previous versions are served at https://docs.ranchermanager.rancher.io/<version-number>. And you can switch between versions using the drop down in the top nav bar.

image

@gaktive
Copy link
Member

gaktive commented Oct 12, 2022

So to confirm, the new base URL for 2.7.x will be https://docs.ranchermanager.rancher.io/2.7 -- if so, when will 2.7 docs go live? I suspect QA will have tests built around checking docs links in the UI.

cc: @nwmac @gunamata

@nwmac
Copy link
Member Author

nwmac commented Oct 14, 2022

The links we use are (relative to the docs base):

  • admin-settings/authentication/google/Bump eslint-utils from 1.4.0 to 1.4.2 #3-creating-service-account-credentials
  • monitoring-alerting/configuration/#alertmanager-configuration/
  • /cluster-provisioning/rke-clusters/behavior-differences-between-rke1-and-rke2/
  • monitoring-alerting/
  • monitoring-alerting/guides/migrating/
  • faq/telemetry/
  • monitoring-alerting/guides/migrating/
  • logging/migrating/
  • istio/#migrate-from-previous-istio-version

@gunamata
Copy link

So to confirm, the new base URL for 2.7.x will be https://docs.ranchermanager.rancher.io/2.7 -- if so, when will 2.7 docs go live? I suspect QA will have tests built around checking docs links in the UI.

The current practice is to release docs around the same time as the product release. To enable QA or other teams try out docs prior to the prod release, we need to make some adjustments to the current Docusaurus implementation. @btat has some ideas that he will try next week and let you all know here..

Plus, the relative paths shared by Neil need some adjustments to align with the latest docs structure. @btat or @jtravee will share the new paths soon.

@gaktive
Copy link
Member

gaktive commented Oct 17, 2022

@btat, the easiest thing for UI would be having redirects for the links that @nwmac found. We're at code freeze for 2.7.0 tomorrow and we'd like to reduce the churn for QA to test.

@btat
Copy link

btat commented Oct 17, 2022

After some testing, Docusaurus currently has a limitation where the hash portion of the link is not taken into consideration during a redirect.

As a workaround, redirects have been added to the old Hugo docs site instead.

Base link would be https://rancher.com/docs/rancher/v2.7/en and the relative paths @nwmac listed are unchanged. They'll redirect to the new site at the restructured paths.

@gaktive gaktive assigned nwmac and unassigned gaktive Oct 19, 2022
@zube zube bot added QA/XS team/area2 Hostbusters labels Oct 20, 2022
@gaktive
Copy link
Member

gaktive commented Oct 31, 2022

Both Ember and Vue would need to be updated for 2.7.0.

Links provided to docs for redirects so far are from Vue. We'd need to capture what Ember links too.

@nwmac
Copy link
Member Author

nwmac commented Oct 31, 2022

Ember UI docs links:

Base is: https://rancher.com/docs/rancher/v2.6/en - Ember UI automatically uses Rancher version in the base so does not need to be manually updated - i.e. we will need these links for the base https://rancher.com/docs/rancher/v2.7/en

Here are the links - some of these are currently broken.

https://rancher.com/docs/rancher/v2.6/en/tools/pipelines/configurations/#1-configuring-version-control-providers
https://rancher.com/docs/rancher/v2.6/en/admin-settings/authentication/google/
https://rancher.com/docs/rancher/v2.6/en/faq/deprecated-features-25x
https://rancher.com/docs/rancher/v2.6/en/tools/pipelines/configurations/#1-configuring-version-control-providers
https://rancher.com/docs/rancher/v2.6/en/security/security-scan/#profiles
https://rancher.com/docs/rancher/v2.6/en/cluster-admin/tools/monitoring/#resource-consumption
https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/rke-clusters/cloud-providers/vsphere/out-of-tree
https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/hosted-kubernetes-clusters/aks/
https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/hosted-kubernetes-clusters/gke/
https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/rke-clusters/windows-clusters/
https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/rke-clusters/options/#authorized-cluster-endpoint
https://rancher.com/docs/rancher/v2.6/en/cluster-admin/volumes-and-storage
https://rancher.com/docs/rancher/v2.6/en/installing-rancher/installing-server/basic-ssl-config/

@gaktive
Copy link
Member

gaktive commented Oct 31, 2022

@btat see the latest comment about other links that UI found on the older interface.

@thaneunsoo
Copy link

Test Environment:

Rancher version: v2.7-head 6b4cf88
Rancher cluster type: HA
Docker version: 20.10
Browser: Chrome Build 106


Testing:

Tested that the docs link is pointing to 2.7 for the 2.7 release and not the 2.6 link.

The docs link is pointing to 2.7 now as seen in the image below. @nwmac I was wondering if the What's new in 2.6 will also be updated, if not I will submit a ticket for it.
image.png

As mentioned by @nwmac the ember base will be changed automatically and will still be pointing to 2.6
image.png

@btat
Copy link

btat commented Nov 2, 2022

Ember UI docs links:

Base is: https://rancher.com/docs/rancher/v2.6/en - Ember UI automatically uses Rancher version in the base so does not need to be manually updated - i.e. we will need these links for the base https://rancher.com/docs/rancher/v2.7/en

Here are the links - some of these are currently broken.

https://rancher.com/docs/rancher/v2.6/en/tools/pipelines/configurations/#1-configuring-version-control-providers https://rancher.com/docs/rancher/v2.6/en/admin-settings/authentication/google/ https://rancher.com/docs/rancher/v2.6/en/faq/deprecated-features-25x https://rancher.com/docs/rancher/v2.6/en/tools/pipelines/configurations/#1-configuring-version-control-providers https://rancher.com/docs/rancher/v2.6/en/security/security-scan/#profiles https://rancher.com/docs/rancher/v2.6/en/cluster-admin/tools/monitoring/#resource-consumption https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/rke-clusters/cloud-providers/vsphere/out-of-tree https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/hosted-kubernetes-clusters/aks/ https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/hosted-kubernetes-clusters/gke/ https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/rke-clusters/windows-clusters/ https://rancher.com/docs/rancher/v2.6/en/cluster-provisioning/rke-clusters/options/#authorized-cluster-endpoint https://rancher.com/docs/rancher/v2.6/en/cluster-admin/volumes-and-storage https://rancher.com/docs/rancher/v2.6/en/installing-rancher/installing-server/basic-ssl-config/

Redirects for these are now live.

@thaneunsoo
Copy link

Closing this issue as What's new in 2.7 is covered in 4777

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

Successfully merging a pull request may close this issue.

5 participants