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

Improve documentation for hlink.linking.core.comparison #158

Closed
riley-harper opened this issue Oct 29, 2024 · 1 comment
Closed

Improve documentation for hlink.linking.core.comparison #158

riley-harper opened this issue Oct 29, 2024 · 1 comment
Labels
component: core documentation Improvements or additions to documentation

Comments

@riley-harper
Copy link
Contributor

If you read through the docs, you might get the strong impression that the comparison section is closely related to comparison_features, and that it essentially works in the same way. I used to think this was true, but looking at the comparison.py module more closely, there is actually a lot of unique logic in there that is unrelated to comparison features. We should clarify how all of this works in the docs and also possibly add some unit tests as examples of how the code works.

@riley-harper riley-harper added the documentation Improvements or additions to documentation label Oct 29, 2024
riley-harper added a commit that referenced this issue Oct 29, 2024
The logic in this function that deals with the secondary, threshold_a, and
threshold_b attributes isn't tested or documented, and I'm not sure exactly
what it's supposed to do.
riley-harper added a commit that referenced this issue Oct 29, 2024
This function is pretty well tested by the existing tests. There are a good
number of edge cases and errors that are not tested. It might be a good idea to
add additional unit tests for those.
riley-harper added a commit that referenced this issue Nov 1, 2024
- txt is not a Pygment lexer name. We should use text to indicate no highlighting instead of txt.
- There's no _static directory with static assets, so I removed that from conf.py.
@riley-harper
Copy link
Contributor Author

This was completed in #159.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: core documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant