-
Notifications
You must be signed in to change notification settings - Fork 44
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: Initial Instructions for Notebook Leads #131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good.
This looks great!! A few comments:
Great job!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't given this a thorough read-through yet, but my "skim" level review is that this is great! A few quick suggestions, though:
- I think the style guides need to be linked more prominently in the main discussion. PArticularly https://github.com/spacetelescope/style-guides/blob/master/guides/where-to-put-your-data.md in the data section and https://github.com/spacetelescope/style-guides/blob/master/guides/jupyter-notebooks.md in probably a few different places (check list, notebook section, etc). I know they're in the "useful links", but I think we need to promote those in particular from "might read for background" to "must read and really should follow unless you have a thought out reason not to!".
- The "data files" section currently assumes the person reading it is an ST staff member. Right now that's mostly OK, but maybe there should be a clarification that says something like "if you aren't an ST staff member, ask one of the JDAT team members to do this for you when you submit your PR"? In principal anyone can submit one of these notebooks, and while this hasn't happened yet it's worth preparing for the possibility now.
- I wonder if we should have this PR be in
jdat_notebooks
instead ofdat_pyinthesky
? I'm thinking that because this repo has a bunch of other random "sandbox"-style stuff, whereasjdat_notebooks
is specifically for notebooks. Then indat_pyinthesky
we can put in the readme "for docs for the notebook stuff see "?
Thanks for the review @eteq:
Sounds good to me, I moved them up to the top of the notebook and data pages.
Makes sense, I added this in the
This is a good point and @camipacifici also mentions this in her review though I think we should add another doc for users. These docs should only be for notebook leads to avoid confusion. One of the most common mistakes in leads and the science reviewers is not knowing which repo is which. Having the leads go to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much @robelgeda! There's so much more info in here than I was expecting!
One small sphinx build weirdness. After installing via the rtd-pip-requirements
file, I tried to build the docs folder with:
cd docs
sphinx-build -b html . ..\build
which spat a Theme error:
Running Sphinx v3.4.3
Theme error:
no theme named 'sphinx_rtd_theme' found, inherited by 'stsci_rtd_theme
I ended up fixing it by uninstalling the pypi version of stsci_rtd_theme and reinstalling directly from github via:
pip install git+https://github.com/spacetelescope/stsci_rtd_theme.git
I don't think this is anything on us, but I'm leaving this breadcrumb just in case it helps someone else in the future
Looks like @robelgeda has addressed all of @eteq and @camipacifici's concerns. With two approvals, this meets our acceptance criteria, so I'm going to go ahead and merge this PR. Thanks @robelgeda! |
This PR is the second stage of #127.
This PR migrates information from the sources listed in #128. We intend on removing duplicated docs (original sources) that are no longer needed.
Rendered Doc (To be removed once this PR is merged):
https://robel-dat-pyinthesky.readthedocs.io/en/docs/
Post-Merge: Rendered Doc of my branch has been disabled