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 readthrough [WIP] #962

Merged
merged 10 commits into from
Jan 7, 2020

Conversation

Christopher-Bradshaw
Copy link
Contributor

@Christopher-Bradshaw Christopher-Bradshaw commented Nov 12, 2019

This is ready to be looked at.

I've tried to explain why I've done things when it isn't obvious. This is either done with github comments, or comments in the code prefixed with cbx_ or cbx_aph. There are also a couple of open question in the code. Please ping me if anything is unclear.

About 50% of the changes are straight docs changes. The rest are mostly function with unused arguments. In those cases I've remove the args (and made the related docs change!). There are a couple of places where things are a bit more complicated - i.e. the docs claim that something is optional when it is not, or I've noticed something wrong.
I've tried to only make these more complicated changes when 1) they are a bug, and 2) they are very small/easy to fix.
I'm sorry if any of these changes are pedantry :)

A crazy idea that I had: There are a ton of duplicated docs (such as the one for approx_cell1_size in all the pairfinders. You could define the somewhere and then include them in the docs with a format string. I was briefly excited by this but now think it is a bad idea - too much complexity for minimal gain.

I'm reasonably confident that test failures aren't related to what I've done.

Please feel free to keep/throw away parts of these changes. It's also a pretty spotty lookover - I mainly looked at the parts of HT that I use the most. The codebase is much larger that I thought before I tried to look at all of it :)

@aphearin
Copy link
Contributor

aphearin commented Jan 7, 2020

I rebased on ce9bf4e, which passes on Travis. Everything passes with this PR except for the docs build, so there must have been a breaking change to the docs somewhere. Now trying to track it down.

Copy link
Contributor

@aphearin aphearin left a comment

Choose a reason for hiding this comment

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

Bang-up job with this @Christopher-Bradshaw!

@aphearin aphearin merged commit 784dde1 into astropy:master Jan 7, 2020
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