Skip to content

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

Closed
@nelsonfigueroa

Description

@nelsonfigueroa

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>

Metadata

Metadata

Assignees

Labels

area/siteIssues and feature enhancement requests for pulumi.com/docs.kind/bugSome behavior is incorrect or out of specresolution/fixedThis issue was fixed

Type

No type

Projects

Status

🏁 Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions