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

[Web Bug] - Composition Functions #771

Open
joebowbeer opened this issue May 15, 2024 · 3 comments
Open

[Web Bug] - Composition Functions #771

joebowbeer opened this issue May 15, 2024 · 3 comments

Comments

@joebowbeer
Copy link
Contributor

Clicking on View page source returns 404

URL: https://docs.crossplane.io/latest/concepts/composition-functions/

@YashPimple
Copy link

Hi @joebowbeer I guess this is the proper url you should be looking for to find composition functions section https://github.com/crossplane/docs/blob/master/content/master/concepts/composition-functions.md

@joebowbeer
Copy link
Contributor Author

joebowbeer commented May 15, 2024

I agree. I'm editing that page now.

How to fix the View page source links on the latest docs, like the one in the lower right of the page below?

https://docs.crossplane.io/latest/concepts/composition-functions/

It is the latest path that is broken. Other variants of this page, such as master, v1.15, etc., render a valid URL.

@plumbis
Copy link
Collaborator

plumbis commented May 15, 2024

This link is generated here:

<span class="ps-1"><a href="{{printf "https://github.com/crossplane/docs/tree/master/content/%s" .Page.File.Path}}">View page source</a></span>

The problem is that it's using the "path" instead of the version to determine the directory, so it fails for latest

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

No branches or pull requests

3 participants