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

Fix parsing references to structs in same package #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rkettelerij
Copy link

@rkettelerij rkettelerij commented Oct 18, 2024

Currently ext.Hook is correctly parsed but if you move Hook out of the ext package it's ignored. This PR fixes that. See the updated test case: both Pre and Post are rendered in the Markdown output.

Note: this change does introduce one side effect: types like string, int, etc are also turned into links.

Also added small change to skip comments starting with a + since these are "markers". See for example https://book.kubebuilder.io/reference/markers/crd or https://github.com/codnect/markers

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.

1 participant