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

Add --generate-link-to-definition option when building on docs.rs #5008

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

GuillaumeGomez
Copy link
Contributor

This option generates links in source code pages, allowing to jump to definition and to jump back to doc. It makes browsing the source code pages much nicer. You can see it in action here.

clap_derive/Cargo.toml Outdated Show resolved Hide resolved
@GuillaumeGomez
Copy link
Contributor Author

Removed the argument add for clap_derive.

Cargo.toml Outdated Show resolved Hide resolved
@GuillaumeGomez
Copy link
Contributor Author

Updated as intended.

@epage
Copy link
Member

epage commented Jul 14, 2023

Thanks!

@epage epage merged commit 33feb65 into clap-rs:master Jul 14, 2023
21 of 23 checks passed
@GuillaumeGomez GuillaumeGomez deleted the generate-links-to-def branch July 14, 2023 19:12
@GuillaumeGomez
Copy link
Contributor Author

Thanks for the quick review!

This pull request was closed.
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