Originally created by @morganhein on GitHub (Feb 14, 2024).
The "source code" link on the pkl packages website is broken.
For example, here:
https://pkl-lang.org/package-docs/pkg.pkl-lang.org/pkl-go/pkl.golang/current/GeneratorSettings/index.html
The "source code" links to: https://pkl-lang.org/package-docs/pkg.pkl-lang.org/pkl-go/pkl.golang/current/GeneratorSettings/https%3A//github.com/apple/pkl-go/tree/v0.5.3/codegen/src/GeneratorSettings.pkl
Which does not work.
Looks like a regression in the documentation generator (as if someone changed a proper URL resolve to string concatenation... 😬): if you select older versions 0.5.1 or 0.5.0, (but not 0.5.2 or 0.5.3) then the link works
(and then you can fixup the URL to version 0.5.3, of course, or notice that the end of the URL https%3A//github.com/apple/pkl-go/tree/v0.5.3/codegen/src/GeneratorSettings.pkl in the broken link can be URL-decoded to the same).
I'm here because I was curious about AppEnvCluster which is showing the same problem.
@sparecycles commented on GitHub (Mar 1, 2024):
Looks like a regression in the documentation generator (as if someone changed a proper URL resolve to string concatenation... 😬): if you select older versions 0.5.1 or 0.5.0, (but not 0.5.2 or 0.5.3) then the [link works](https://github.com/apple/pkl-go/tree/v0.5.1/codegen/src/GeneratorSettings.pkl)
<img width="338" alt="image" src="https://github.com/apple/pkl/assets/719818/8b17de06-e48d-4f3d-bfc2-95e818de3a3e">
(and then you can fixup the URL to version 0.5.3, of course, or notice that the end of the URL `https%3A//github.com/apple/pkl-go/tree/v0.5.3/codegen/src/GeneratorSettings.pkl` in the broken link can be URL-decoded to the same).
---
I'm here because I was curious about [AppEnvCluster](https://pkl-lang.org/package-docs/pkg.pkl-lang.org/pkl-pantry/k8s.contrib.appEnvCluster/1.0.1/AppEnvCluster/index.html) which is showing the same problem.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @morganhein on GitHub (Feb 14, 2024).
The "source code" link on the pkl packages website is broken.
For example, here:
https://pkl-lang.org/package-docs/pkg.pkl-lang.org/pkl-go/pkl.golang/current/GeneratorSettings/index.html
The "source code" links to: https://pkl-lang.org/package-docs/pkg.pkl-lang.org/pkl-go/pkl.golang/current/GeneratorSettings/https%3A//github.com/apple/pkl-go/tree/v0.5.3/codegen/src/GeneratorSettings.pkl
Which does not work.
@bioball commented on GitHub (Feb 14, 2024):
Thanks!
@sparecycles commented on GitHub (Mar 1, 2024):
Looks like a regression in the documentation generator (as if someone changed a proper URL resolve to string concatenation... 😬): if you select older versions 0.5.1 or 0.5.0, (but not 0.5.2 or 0.5.3) then the link works
(and then you can fixup the URL to version 0.5.3, of course, or notice that the end of the URL
https%3A//github.com/apple/pkl-go/tree/v0.5.3/codegen/src/GeneratorSettings.pklin the broken link can be URL-decoded to the same).I'm here because I was curious about AppEnvCluster which is showing the same problem.