Skip to content

Conversation

@promptless
Copy link
Contributor

@promptless promptless bot commented Oct 13, 2025

Fixes the transform-docs.awk script to convert underscores to dashes in all anchor references, ensuring compatibility with Mintlify's auto-generated anchors. This resolves broken links in reference documentation like /reference/be/c-cpp where rule names (cc_binary, cc_library, etc.) were not linking correctly to their sections.

Open this suggestion in the Promptless dashboard


Help us improve Promptless — If this suggestion missed the mark, please share quick feedback.

If you want Promptless to make further changes on this PR, feel free to leave a comment tagging Promptless (It won't show up in the user drop down but Promptless will get it!)

@alan707
Copy link
Collaborator

alan707 commented Oct 19, 2025

@Promptless, if you attempt to click on the link for cc_binary in the main page of https://bazel-promptless-fix-anchor-underscores-to-dashes.mintlify.app/reference/be/c-cpp you will notice that it still has an underscore instead of the correct dash. The reason is that we need to modify the the YAML file to actually generate those MDX files in this PR and push the commit. Similar to how the automerge.yaml workflow works

@promptless
Copy link
Contributor Author

promptless bot commented Oct 19, 2025

I've added the requested changes in commit 55228d0

@alan707 alan707 closed this Nov 12, 2025
@alan707 alan707 deleted the promptless/fix-anchor-underscores-to-dashes branch November 12, 2025 16:02
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

Successfully merging this pull request may close these issues.

2 participants