ome / ngff

Next-generation file format (NGFF) specifications for storing bioimaging data in the cloud.
https://ngff.openmicroscopy.org
Other
118 stars 39 forks source link

Proposal: move to RTD #177

Closed joshmoore closed 1 year ago

joshmoore commented 1 year ago

This branch contains the necessary bootstrapping to deploy the specifications as well as other sphinx pages on https://readthedocs.org:

This was largely done in order to provide the ngff.openmicroscopy.org/tools and ngff.openmicroscopy.org/data URLs as decided in theOME-Zarr preprint:

The current branch can be reviewed at https://ngff.readthedocs.io/en/rtd/about/index.html . Once this PR is merged, https://ngff.readthedocs.io/en/latest/about/index.html would become a new default landing location without further configuration and the URLs needed can redirect to, e.g., https://ngff.readthedocs.io/en/latest/tools/

We should likely consider renaming the sphinx-specific latest to not conflict with the spec-specific latest, otherwise we get a default URL of https://ngff.readthedocs.io/en/latest/latest/index.html . If there's a general consensus, we could also redirect https://ngff.openmicroscopy.org away from GitHub pages and to https://ngff.readthedocs.io. Additionally, we can drop the redirect to latest/index.html in favor of a top-level landing page like about/index.md.

TODOS:

github-actions[bot] commented 1 year ago

Automated Review URLs

will-moore commented 1 year ago

Looks nice! 👍

bogovicj commented 1 year ago

Is it right that this could help divide "strictly spec" from "spec-adjacent" (e.g. examples) to different pages? Hopefully resulting in a less cluttered spec?

joshmoore commented 1 year ago

From my POV, that's certainly an option, sure. An additional next step that could go in the description of this PR but I didn't really want to get in is that we could drop bikeshed in favor of some flavor of plain markdown. That might make it easier to refactor more readily in this repo.

joshmoore commented 1 year ago

Ok, I think that includes all the "must-fix" items. Biggest question remaining in my mind is whether or not to set the Single version flag:

A single version site has no translations and only your "latest" version, served at the root of the domain. Use this with caution, only turn it on if you will never have multiple versions of your docs.

If we do that, then once DNS is re-directed, all previous URLs should continue working.

joshmoore commented 1 year ago

Discussing during the "Zarr Resources" call with @will-moore and @pwalczysko, we're going to merge this and drop the en/latest from the URL in order to prepare for DNS migration.

joshmoore commented 1 year ago

@ome/ngff: https://ngff.openmicroscopy.org/data/ is now live with a DNS entry to readthedocs.io