-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cookiecutting - build docs api #51
Conversation
@8bitsam Thanks for this. I don't want to merge this without the But then we need the rest of the workflows merged on a different PR. There seem to be a bunch of things that you are missing that makes me a bit nervous about the rest of the work. I feel that I am finding things you are not finding, but you are not finding things that I am not finding. This is ok in general (I have spent more time looking at these things than you), but it would give me more confidence that you are really digging into the code and the process and understanding what we are trying to do here if from time to time you were finding things that I have missed and raising questions about them......I would feel more supported! ;) |
The
Other than that, I think I've gotten everything in the package to reflect the cookiecutter/diffpy.utils. There are some differences, like how we have Out of these differences we would need to decide what we want to keep/remove and for those things we want to remove, we could do so when merging with main (would likely only be a few commits max). Pertaining to this PR, right now there's still the |
Thanks for this detailed summary. It is very helpful.
|
@8bitsam I took a quick look and I couldn't find separate docs for pdffit2. They seem to be part of PDFgui documentation. at diffpypdfgui.readthedocs. |
There are docstrings in the python code, though not formatted the way the sphinx documentation recommends. I just pushed a bunch of commits that should build the docs better, there seems to be a git permissions issue though that is causing problems with the workflow/ |
@8bitsam I'm trying the merge to see if it will build on push. If not, we may want to try and push it into main and see if the issue is that the deploy is from a build of main or sthg like that and we can't test it on cookie |
In that case, let's finish the cookie work (items above) and then we can merge into main. |
Ok, I'll make a PR for a couple of those, since removing rever might be too small for a single PR. |
@8bitsam the documentation build ran ok on push to cookie and |
Great, now we just need to decide where examples/ goes. I think epydoc/ can be removed, since sphinx is just replacing its functionality, but I'll discuss with Tieqiong. In regards to examples, we could do something like diffpy.utils where we change it into a notebook-style example instead of a python file so it's more readable. |
Build the doc API and ensure the makefile properly builds docs. Also removed a duplicate epydoc/ folder from docs/ (there is already one in docs/source/).
This should be one of the last, if not the last, PRs before the cookiecutter workflow is finished.