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

Pulumi Automation API Page has a Broken "Learn More" Button #12986

Closed
nelsonfigueroa opened this issue Sep 30, 2024 · 0 comments · Fixed by #12987
Closed

Pulumi Automation API Page has a Broken "Learn More" Button #12986

nelsonfigueroa opened this issue Sep 30, 2024 · 0 comments · Fixed by #12987
Assignees
Labels
area/site Issues and feature enhancement requests for pulumi.com/docs. kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Milestone

Comments

@nelsonfigueroa
Copy link
Member

Problem description

The Pulumi Automation API page has a "Learn More" button that leads to the same page, making it redundant. I looked through the Hugo/HTML template and this doesn't seem to be the expected behavior. This button should point to /docs/using-pulumi/automation-api/.

Suggestions for a fix

I tried running this locally to fix it but I was not able to figure out why this button doesn't work as intended. There are other buttons with a similar format that work properly. Given that the URL path is hardcoded, perhaps we can remove the Hugo stuff from the code and just leave the path.

So change this:

<a class="btn-primary" href="{{ relref . "/docs/using-pulumi/automation-api/" }}">Learn More</a>

To this

<a class="btn-primary" href="/docs/using-pulumi/automation-api/">Learn More</a>
@nelsonfigueroa nelsonfigueroa added the needs-triage Needs attention from the triage team label Sep 30, 2024
@interurban interurban self-assigned this Oct 1, 2024
@interurban interurban added this to the 0.111 milestone Oct 1, 2024
@interurban interurban added area/site Issues and feature enhancement requests for pulumi.com/docs. kind/bug Some behavior is incorrect or out of spec and removed needs-triage Needs attention from the triage team labels Oct 1, 2024
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/site Issues and feature enhancement requests for pulumi.com/docs. kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Projects
Status: 🏁 Done
Development

Successfully merging a pull request may close this issue.

3 participants