-
Notifications
You must be signed in to change notification settings - Fork 322
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 developer workflow and docs #490
Conversation
The initial dev setup / installation is much easier now! However I do have a couple critiques:
At that point I had a waiting shell prompt so I assumed no server was running, but I double-checked
|
Co-authored-by: Daniel McCloy <[email protected]>
Thanks for these comments! I've merged the suggestion you made - good catch! For re-using environments, I think it does reuse them, so it calls the commands to install, but the environments should already be there. That said, conda does tend to take a little while to figure this out anyway. So I just pushed an update that checks whether This means that if you want to re-build the environment you'll have to manually delete it, but I think that's a reasonable trade-off. |
I'm gonna merge this soon unless there are objections, so that I can continue iterating on the theme a bit, I wanna see if we can quickly improve the slowness stuff |
Thanks for working on this, Chris! I was trying out the new instructions, but I run into a strange issue. It creates a new conda env, but doesn't actually install anything in it. After having installed nox, I run:
So it only created the conda env, but didn't install anything in it, and thus the doc build of course fails. I don't directly see anything in the verbose output. Any idea where to look ? |
OK, so with |
ahhh gotcha - we should definitely fix this! (sorry for the fast merge, I wanted to get it in before I could do some other dev here) |
Some other questions / comments:
|
I gave a shot at documenting this in #495 ! |
This PR tries to address some of the major pain points of setting up a development workflow with this theme.
It does a few major things:
noxfile.py
so that developers can use nox if they wishsetup.py
dependencies to include developer tooling, and references these in our dev docs.I would love to hear from @drammock in particular whether these instructions would have reduced the setup time for working on the theme.
closes #487
new developer docs are here: https://pydata-sphinx-theme--490.org.readthedocs.build/en/490/contributing.html