Closed ivirshup closed 6 months ago
The W3 service that generates the bikeshed-based pages has definitely become unreliable.
Additionally, I've searched for solutions for PR previews of GitHub Pages but to no avail. The closest "recommendation" I've seen to date is to create a repository per PR.
So :+1: from me.
PR previews of GitHub Pages
Yeah, this doesn't seem straight forward. Maybe we could just use readthedocs?
I think we can also do some partial fixes easily (like, at least checking that the doc builds) even if we can't view it super easily.
index.bs
url here: https://api.csswg.org/bikeshed/ workspipx install bikeshed
, bike shed update
, and bikeshed spec
from the version root directory (e.g. latest
, 0.4
) will generate a rendered version
bikeshed
pins its dependencies to specific versions, so don't install it into an environment with anything elseMore info on running bike shed (including some CI actions) here: https://tabatkins.github.io/bikeshed/
@joshmoore, I'm not sure it's the w3c service that's preventing rendering at the moment. I think it's the github action.
The links in the tables PR comment looks like:
http://api.csswg.org/bikeshed/?url=https://raw.githubusercontent.com/ome/ngff//latest/index.bs
When it should look like:
The action doesn't seem to be using the environment variable properly. You can also see this in the action logs.
@joshmoore, I suspect rtd may be a bit of a pain here because we would have to work around sphinx.
But a colleague has recently used netlify to host their PR builds (see https://github.com/scverse/scverse.github.io/issues/63), which I found fairly straight forward to set up. See an example here: ivirshup/ngff#1
If we start to expand this repository to include more than just the spec e.g. list of samples data (https://github.com/ome/ngff/issues/140), list of tools as discussed during OME 2022. RTD could be a valid option Happy to look into the conversion
As a side note, discussing with @jstriebel, there was the feeling that perhaps another spec mechanism for https://github.com/zarr-developers/zarr-specs would be beneficial. Perhaps we can double up the work in identifying one.
With the move to readthedocs for PRs, this is now implemented.
The links for rendered versions of the PRs haven't been working for me for at least the last week. Does anyone know what's up with this?
I'm also wondering if this whole process could be improved by building the html and deploying it somewhere ( like readthedocs PR builds). Even when the links were working they did take a while to load. It would also be nice to see build errors and warnings from CI.