-
Notifications
You must be signed in to change notification settings - Fork 49
Initial Pass at Lyse docs #75
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
Conversation
This is my first pull request on github so I imagine there is going to be a bunch of procedural errors that will need fixing, even on such a trivial change as this. |
Hi David, Thanks for the work on docs! It looks like you might have based this on the 3.0.x maintenance branch rather than the development (master) branch. This means that some of the commits from the master branch we previously cherry picked/squash merged over to the maintenance branch appear to be coming back to master again in this PR. I think the solution is to rebase your single commit onto master and then force push to your remote repository (to overwrite the previous push, which should also update this PR I think...). However this might not work nicely and/or could put your git repo in a messed up state if I'm wrong, so I recommend making a backup first before trying anything. Worse case, you could copy the modified files in your commit somewhere, update to master, paste them back into the repo, and push a new commit to a new branch and make a new PR. But I think you can avoid that in theory. @chrisjbillington might have a better suggestion too. |
This is basically just a copy-paste of the old pdf documentation already included in lyse, written by Chris Billington in 2014, as well as the basic structure to scrape the docstrings. For now, I'm including the :undoc-members: tag to make it more obvious which methods still need docstrings written. Once we get better coverage, we can remove.
You are quite right! I should have known to work off master. Anyway, the force push seems to have sorted that out. Let me know if there is any borkiness with the docs themselves. |
Great! We have an integration with github pull requests and readthedocs, so your changes should be automatically built soon and we can review (seems to be taking a while, but maybe that's because this PR was built recently from the first set of commits). The link to view will appear below once the 1 pending check has completed! |
Cool, it finally built! Looks generally good! Got a couple of questions:
|
|
|
It looks like this is a long standing issue with Edit: Checked on my local machine and sphinx builds the Analysis Process page just fine. |
@chrisjbillington The call to @dihm Ah, I remember the issue now that you've explained the source of it. Just importing |
In the future, probably best to put the footnotes with an explicit section heading.
In the interest of keeping things moving, I'm going to merge this and log a bug about the analysis_subprocess page. We can fix it later (since everything builds except for that API page). |
I was inspired by conversation here and figured I would get things started by doing the basic minimum, since docs are much easier to edit that write from scratch.
So I basically just copy-pasted from the pdf doc Chris wrote for lyse and added the core API documentation pages. I've allowed sphinx to document methods without docstrings for now so it is more obvious what methods need them ;)