Conversation
The auto-generated type and component links didn't have a trailing slash. Since the generated paths in `kompendium.json` all have a trailing slash these links wouldn't highlight the correct type/component in the navigation.
|
@jgroth This sounds nice, from the description! I'm not familiar enough with the code to be able to easily review this. Since this is a PR from a third party, make sure to be appropriately wary of potential malicious code. Note that to run the workflows, you need to click the "Approve and run" button. This is what the GitHub docs say about this feature:
Note that the default setting is that approval is only necessary for first-time contributors, which frankly is a horrible default, in my opinion. It means that all you need to do to get access to run modified workflows in a public repo is to first get a non-malicious PR approved and merged 🤦♂️ I would suggest setting that config option to always require approval for all outside contributors. Under Settings -> Actions -> General:
|

This feature looks for references to documented components (by tag name) in inline code blocks and replaces them with links.
Inspired by the existing system for replacing types with links.