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 should have hover links #783

Closed
Zamiell opened this issue Sep 17, 2024 · 2 comments
Closed

💡 docs should have hover links #783

Zamiell opened this issue Sep 17, 2024 · 2 comments
Labels
feature request Feature request

Comments

@Zamiell
Copy link
Contributor

Zamiell commented Sep 17, 2024

Suggest an idea for this project

Right now, if I hover over a heading in the knip docs, nothing happens.

But with other documentation, such as Docusaurus, React.dev, etc., it shows a chain symbol that you can mouse over and click to change the URL with an anchor to the section that you clicked on, and then you can copy paste the URL to link a specific part of the docs to someone else.

Maybe this seems like a small thing, but it is very important, because it can be non-straightforward to manually compile an anchor link to a section with special characters and so on.

@Zamiell Zamiell added the feature request Feature request label Sep 17, 2024
@webpro webpro closed this as completed in d05795c Sep 18, 2024
@webpro
Copy link
Collaborator

webpro commented Sep 18, 2024

That's a nice detail indeed. You could also do this using the side nav on the right, but I've added clickable # text on hover.

@webpro
Copy link
Collaborator

webpro commented Sep 22, 2024

🚀 This issue has been resolved in v5.30.3. See Release 5.30.3 for release notes.

Using Knip in a commercial project? Please consider becoming a sponsor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants