mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
"Source code" link in pkl packages website broken #64
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.