DOCS: Self-host docs using GitHub pages#266
Conversation
3806f53 to
2a13b37
Compare
Codecov Report
@@ Coverage Diff @@
## master #266 +/- ##
=======================================
Coverage 30.66% 30.66%
=======================================
Files 56 56
Lines 8639 8639
=======================================
Hits 2649 2649
Misses 5990 5990
Continue to review full report at Codecov.
|
|
Hello @josephmje, Thank you for updating!
To test for issues locally, Comment last updated at 2020-04-21 13:16:08 UTC |
|
docs are being built here! |
| raise MetadataException("Can't return BIDs blacklist info without " | ||
| "dashboard integration") | ||
| raise MetadataException( | ||
| "Can't return BIDs blacklist info without " "dashboard integration" |
There was a problem hiding this comment.
Not a big deal, but this should probably be one string if on one line now
There was a problem hiding this comment.
thanks for finding this. will fix!
| git+https://github.com/AleksandarPetrov/napoleon.git@0dc3f28a309ad602be5f44a9049785a1026451b3#egg=sphinxcontrib-napoleon | ||
| git+https://github.com/rwblair/sphinxcontrib-versioning.git@39b40b0b84bf872fc398feff05344051bbce0f63#egg=sphinxcontrib-versioning |
There was a problem hiding this comment.
Is there a reason to use these specific commits on these repos instead of just the plain old sphinxcontrib-napoleon and sphinxcontrib-versioning?
There was a problem hiding this comment.
the napoleon one has a feature for rending the Parameters header in the docstring that hasn't been merged yet. but I'll remove the versioning one.
DESm1th
left a comment
There was a problem hiding this comment.
Nice work! Thanks for putting this together and pushing us toward using the newer style f strings. I think moving forward we should definitely use them, but maybe make an exception and use .format for really large strings though. For me at least it's easy to lose track of variables needed to fill out a large string and accidentally delete or rename something, but format helps a bit in these cases by keeping them grouped at the end. What do you think? Maybe it doesn't make much a difference (it shouldn't if we have tests over code in these instances, haha).
Thanks Dawn. I made the switch the improve readability and cut down on some of the line lengths. But I used an automatic converter to do it and wasn't discriminating between really large strings. That's a good point. I'm in favour of any option that would help with understanding the code. |
|
Yeah! I don't think we actually have very many strings large enough for it to matter and none of the strings you updated are all that long. More tests is definitely a better solution than deciding on a case by case basis whether to switch to the better f-string format haha. |
Changes proposed in this PR
To Do