Closed bmaranville closed 7 months ago
I think this is a better option, that all devs will have an access to, compared to the readthedocs.
It's not quite working yet - the module documentation is not being generated for some reason.
Ok, it's working now - see test build from this configuration at https://bmaranville.github.io/orsopy/
What will the URL be? Will it conflict with https://github.com/reflectivity/reflectivity.github.io?
By default, the new url would be https://reflectivity.github.io/orsopy , which seems to be automatically redirected to https://www.reflectometry.org/orsopy (currently resulting in a 404). We might have to fiddle with the settings on the redirects.
I think it's mergeable once the redirects are sorted. Who do we ask about that?
Actually it looks like it will work just fine - we will probably want to avoid making a folder called orsopy/ in our main website repo just to avoid conflicts. I uploaded a stub index.html
to a new gh-pages
branch on orsopy, and turned on github pages, and it is working.
See: https://www.reflectometry.org/orsopy
Discussion on folder vs. subrepo conflict: TL;DR: subrepo wins https://stackoverflow.com/a/26760818
I think it's mergeable once the redirects are sorted. Who do we ask about that?
You ask your delegated representative in the International Scattering Alliance, who is happy to help. Also, it's me.
Is this ready to merge?
Yes, I think it's ready to merge.
Do we know why the tests aren't passing?
There was a coverage timeout
That's what I thought. I don't have the power to tell Github to rerun them though, does someone have that power?
I did rerun them... they still failed. I will try again. I don't completely understand why there is a service we are uploading files to... isn't there an equivalent test that can run natively on Github Actions?
EDIT: I guess I can't re-run them. Never mind.
The service gives a nice visualisation of the coverage. It isn’t 100% required, but nice to have and I don’t think it can be mirrored on GitHub actions.
I have to say I really don't understand what is happening with the coveralls check... I copied the self-build-docs
branch to my forked orsopy repository, created a pull request from it, and changed the pytest check so that coveralls runs for the forked repo, and it ran fine. Tests all passed.
Why is it not running here? Why the 422 error? Mysteries.
Let's merge this as is and then I will remove the coveralls thing from the Github action cause it is just a faff.
Hey, it worked! Check out https://www.reflectometry.org/orsopy/
We can build the docs ourselves instead of using readthedocs, which is an external point of failure.
This will make it easier to maintain and debug the documentation build (all code owners have access)