Developer documentation overhaul#16561
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
👋 Thank you for your draft pull request! Do you know that you can use |
I found two related issues:
|
|
RTD is now passing so you can look at the new docs. |
|
I can't put a comment on it because this line is not yet changed, but I would also do away with |
I had not appreciated this was technically possible for an installed package. But definitely 👍 on removing |
mhvk
left a comment
There was a problem hiding this comment.
@taldcroft - so far, I've just gone over the new quickstart guide - which I like very much! But of course some comments (mostly small).
eerovaher
left a comment
There was a problem hiding this comment.
I had a look at the text that is present, I didn't think too much about what is missing but should be included.
|
Thanks for the comments folks! I got through many but not all of them, but I'll keep on plugging (hopefully over the next few days). |
a624a4c to
1a590aa
Compare
|
All -- I think that I have addressed or at least responded to every comment. I think this is in good enough shape now that I have made it a Pull Request (not draft). |
|
I'm going to review this today. For now, I just want to put a note that #16601 revealed an oversight in our dev docs. Fetching tags is necessary to first build and test astropy locally, and the information is there, but isn't presented as something you should do from the get go when you're getting started. Maybe you've already addressed this point (in which case I'll come back and hide this reply), but I wanted to make sure we addressed it too as part of the overhaul. |
neutrinoceros
left a comment
There was a problem hiding this comment.
Some general level questions:
- why were some files from
docs/development/workflowmoved, but not all ? - why replacing
git checkoutwithgit switcheverywhere ? (this is a genuine question, I learned git beforegit switchwas a thing and never really bothered migrating my muscle memory)
This comment was marked as resolved.
This comment was marked as resolved.
3621a4a to
33d8966
Compare
|
@pllim - rebased! |
dhomeier
left a comment
There was a problem hiding this comment.
Thanks for undertaking this, this should point new contributors to a much clearer path!
I just had time for reading through the quickstart and core workflow sections, only a few suggestions for potential improvements.
pllim
left a comment
There was a problem hiding this comment.
Here is the rest of my review. Since you said contents update largely is out of scope, I focused only on the stuff not inside development this time.
| index_getting_started | ||
| index_user_docs | ||
| index_dev | ||
| development/index |
There was a problem hiding this comment.
I think there was a reason why we made the index at top level (index_dev) vs development/index but I don't remember why now. @saimn , do you remember?
There was a problem hiding this comment.
Just going to xref #14867 here in case we need to revert this particular change in the future.
Co-authored-by: Derek Homeier <709020+dhomeier@users.noreply.github.com>
|
OK, I think I have addressed all review comments. There are some other PR's being blocked by this, so maybe it is time to merge this and start fresh with any other minor cleanups? |
|
@pllim - are you OK with merging now? I see 👍 from a few others that have reviewed. |
|
There is an edited comment from @dhomeier saying that |
|
devdeps failures are unrelated. |
Git switch was released in 2.23 almost 5 years ago. I'm not sure why they have not removed the "experimental" comment, but I don't think it is credible that they would now drop or make big changes to |
|
Oh... ok then. Are you okay with "Squash and Merge"? 🚀 |
For sure squash and merge. There is no value in all the intermediate commits and LOTS of churn! |
|
Done. Thanks!!! |
|
Thanks! So nice to have clearer devdocs!! |
* Remove coding guide info for emacs
* Add a copy of pandas development docs
* Add pandas-based development docs to index
* Remove a codespell false positive
* Remove {{header}} from pd-based docs
* Replace pandas with astropy
* Touch-ups on contributing.rst
* Bring the pandas files into the main dev dir
* Remove contributing different ways (superseded)
* Remove non-applicable pandas content
* Update git_edit_workflow_examples
* Put tox into dev_all
* Remove pandas contributing codebase
* More tweaks to testing guide
* First pass at the documentation guide
* Remove pandas contributing_documentation
* Remove pandas doc files part duex
* Move git_resources out of workflow
* Make one quickstart doc
* Move the remaining bits from workflow dir
* Remove building and virtual_pythons docs
* Change target links to anonymous
* Remove doc refs to `astropy.test()`; replace w/ pytest
* Respond to review comments
* Apply suggestions from code review
Co-authored-by: Eero Vaher <eero.vaher@gmail.com>
* Address more review comments
* More comments; use git switch in non-maintainer docs
* Fix typo in git switch command
* Apply suggestions from code review
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
* More updates and review comments
* Add What's New and changelog entries
* Update docs/development/quickstart.rst
Co-authored-by: Derek Homeier <709020+dhomeier@users.noreply.github.com>
* Address more review comments
* Move is_development statement for clarity
* Other various updated related to dev docs
---------
Co-authored-by: Eero Vaher <eero.vaher@gmail.com>
Co-authored-by: Clément Robert <cr52@protonmail.com>
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
Co-authored-by: Derek Homeier <709020+dhomeier@users.noreply.github.com>
Description
This pull request is to make the developer documentation more accessible to newcomers and more useable by maintainers. The current docs contain a lot of information but are not well-organized and contain a lot of repetition.
It reflects an approach that sometimes "less is more", so some material was cut (notably detailed documentation on how to use two virtualenv managers), but for the most part it keeps all substantive material while cutting repetitions.
There are a lot of commits and most of them are useless individually, so this should definitely be squash-merged. There are a couple of commits that could be controversial and are meaningful.
Fixes #11621
See also: