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

Deduplicate command names in generated LSP support doc #10563

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timothyhutz
Copy link

Using unique from itertools::Itertools function to clear out and duplicate string entries. Tested on my ARM64 Windows 11 system with mdbook and generated via xtask docgen.

@timothyhutz
Copy link
Author

This is my contributions to the project for Issue #10316

xtask/Cargo.toml Outdated Show resolved Hide resolved
@the-mikedavis the-mikedavis linked an issue Apr 23, 2024 that may be closed by this pull request
xtask/src/docgen.rs Outdated Show resolved Hide resolved
@kirawi kirawi added the A-documentation Area: Documentation improvements label Apr 23, 2024
xtask/Cargo.toml Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should be dropped

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its not changing anything in the file, nor is it contributing to the change in the pr, therefore its best to remove the file from the commit/s. This only dirties histories of files.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rebased and fixup'd everything into 1 commit which drops the unneeded commits.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like those commits might have been squashed into the single commit instead - those whitespace changes are still in the diff

xtask/src/docgen.rs Show resolved Hide resolved
xtask/src/docgen.rs Outdated Show resolved Hide resolved
@the-mikedavis the-mikedavis changed the title Fixed Issue 10316 programmatically Deduplicate command names in generated LSP support doc Apr 23, 2024
@kirawi kirawi added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Apr 24, 2024
@timothyhutz timothyhutz force-pushed the issue-10316 branch 2 times, most recently from 3dc1186 to e464259 Compare May 3, 2024 12:47
@timothyhutz
Copy link
Author

Ready for second peer review please.

xtask/Cargo.toml Outdated Show resolved Hide resolved
@timothyhutz
Copy link
Author

ready for another PR review.

@kirawi kirawi added S-waiting-on-review Status: Awaiting review from a maintainer. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 10, 2024
@timothyhutz
Copy link
Author

can I get another approver pls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-documentation Area: Documentation improvements S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ada_language_server listed twice
5 participants