kumahq / kuma-website

🐻 The official website for Kuma, the control plane for modern service connectivity.
https://kuma.io
Apache License 2.0
104 stars 87 forks source link

No hyperlink generated #1766

Closed Icarus9913 closed 1 month ago

Icarus9913 commented 2 months ago

What happened?

https://kuma.io/docs/2.7.x/networking/service-discovery/#service-discovery

WeChat2d0da3cb6d75fc7045b0bd87c0c2b7d9

Icarus9913 commented 2 months ago

OK, there are some directories missing. We don't have 2.1.x, 2.2.x ... 2.7.x folders, but only 2.0.x. And for the previous 1.2.x, 1.3.x and some else all good.

https://github.com/kumahq/kuma-website/tree/master/app/docs

image
Icarus9913 commented 2 months ago
{% if_version lte:1.9.x %}
* On Kubernetes by looking at the address of the `Pod`.
* On Universal by looking at the inbound listeners that have been configured in the [`inbound` property](/docs/{{ page.version }}/documentation/dps-and-data-model/#dataplane-specification) of the data-plane specification.
{% endif_version %}
{% if_version gte:2.0.x %}
* On Kubernetes by looking at the address of the `Pod`.
* On Universal by looking at the inbound listeners that have been configured in the [`inbound` property](/docs/2.0.x/generated/resources/proxy_dataplane) of the data-plane specification.
{% endif_version %}

I use a hardcode 2.0.x in the second list. But it might make the users confused that once in a 2.7.x page would jump to 2.0.x.

I don't know whether we should supplement the other version docs folds. (Since I'm not aware of the differences between the 2.x.x versions, I'm afraid of making mistakes here.)

lahabana commented 2 months ago

This file is there: https://github.com/kumahq/kuma-website/blob/master/app/_src/production/dp-config/dpp-on-universal.md