istio.io icon indicating copy to clipboard operation
istio.io copied to clipboard

Fix subzone link not found

Open hanxiaop opened this issue 2 years ago • 6 comments

In link https://istio.io/latest/docs/tasks/traffic-management/locality-load-balancing/, the topology.istio.io/subzone link does not exist.

And to help us figure out who should review this PR, please put an X in all the areas that this PR affects.

  • [ ] Configuration Infrastructure
  • [x] Docs
  • [ ] Installation
  • [ ] Networking
  • [ ] Performance and Scalability
  • [ ] Policies and Telemetry
  • [ ] Security
  • [ ] Test and Release
  • [ ] User Experience
  • [ ] Developer Infrastructure

hanxiaop avatar Nov 01 '21 07:11 hanxiaop

@craigbox I had the same doubt at the beginning. Before using the master version, I was tried to use the permalink. I agree that both of the implementations have their own flaws, and we may discuss which one is more preferred.

hanxiaop avatar Nov 01 '21 15:11 hanxiaop

Can we just use something like github_blob which takes into account the currently built branch? Since this is in api, we could create another shortcode that use the api repo. It doesn't help if the line number changes in the file across releases.

ericvn avatar Nov 01 '21 18:11 ericvn

I told you @ericvn would know 🙂

craigbox avatar Nov 01 '21 19:11 craigbox

@hanxiaop would love to see this moved forward, so have marked it to be open.

craigbox avatar Jan 23 '22 22:01 craigbox

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
lint_istio.io d360ec3e64d226cfa56b51eb42a5009c846cf57f link true /test lint_istio.io

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/test-infra repository. I understand the commands that are listed here.

istio-testing avatar Jan 24 '22 02:01 istio-testing

@ericvn How about other links using https://github.com/istio/api/blob? After I added the lint check for github_api_blob, I realized there are lots of places using the api link right now, and some of the links will be invalid as well if I replace them with the github_api_blob form. Should they keep the original permalink form or should we do something?

hanxiaop avatar Jan 24 '22 02:01 hanxiaop

@hanxiaop: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
lint_istio.io d360ec3e64d226cfa56b51eb42a5009c846cf57f link true /test lint_istio.io
doc.test.profile_default_istio.io d360ec3e64d226cfa56b51eb42a5009c846cf57f link true /test doc.test.profile_default

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/test-infra repository. I understand the commands that are listed here.

istio-testing avatar Feb 01 '23 19:02 istio-testing

Replaced by https://github.com/istio/istio.io/pull/13242.

ericvn avatar May 25 '23 15:05 ericvn

Replaced by #13242.

@ericvn nice work, thanks!

hanxiaop avatar May 26 '23 03:05 hanxiaop