linkml / linkml-model

Link Modeling Language (LinkML) model
https://linkml.github.io/linkml-model/docs/
33 stars 16 forks source link

Use versioned documentation deployment #168

Closed pkalita-lbl closed 10 months ago

pkalita-lbl commented 10 months ago

Fixes https://github.com/linkml/linkml/issues/1590

These changes use mike to have multiple versions of the documentation deployed. Changes to the main branch will be deployed as a "dev" version. Each release is deployed as a "MAJOR.MINOR" version -- that is, releasing 1.5.3 will replace the 1.5.2 docs. But releasing 1.6.0 will not affect the 1.5.3 docs. The latest version will also be accessible via the "latest" alias. See https://pkalita-lbl.github.io/linkml-model for a demo of how it works with a bunch of artificial releases.

Things to note:

🚨 WARNING 🚨

Because this completely restructures the gh-pages branch we should only merge this when we're ready to make a new release. The process should be:

I'm marking this PR as a draft just so it doesn't get accidentally merged at the wrong time, but I don't anticipate making further changes.