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

Docs UI bug: when setting contact with both email and url then email is not linked anywhere #503

Open
matrixik opened this issue Jul 14, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@matrixik
Copy link

When setting contact:

config.Info.Contact = &huma.Contact{
	Name:  "Example",
	Email: "hi@example.com",
	URL:	"https://example.com/contact",
}

then docs page only link to https://example.com/contact and email will not be linked (or even visible) anywhere.

@danielgtaylor danielgtaylor added documentation Improvements or additions to documentation question Further information is requested labels Jul 26, 2024
@danielgtaylor
Copy link
Owner

@matrixik this is handled by Stoplight Elements, which renders the documentation. You could try asking or opening an issue in https://github.com/stoplightio/elements. If that doesn't wind up working for you, check out https://huma.rocks/features/api-docs/#customizing-documentation to try out other documentation renderers you may find better for your use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants