lodestar icon indicating copy to clipboard operation
lodestar copied to clipboard

Add versioning support to documentation website

Open jeluard opened this issue 11 months ago • 2 comments

  • do we wanna look into adding versioning, or at least show the lasted version here? image

Originally posted by @nflaig in https://github.com/ChainSafe/lodestar/issues/6533#issuecomment-1997902396

jeluard avatar Mar 15 '24 10:03 jeluard

I do agree with @nflaig comment here about current + a few verions back: https://github.com/ChainSafe/lodestar/pull/6559#issuecomment-2038339926

If we need a specific number, I doubt people run more than 5 minor versions back.

philknows avatar Apr 05 '24 00:04 philknows

Summarizing needs:

  • unstable, referring to unstable branch
  • stable, referring to stable branch
  • some fixed number of versions back

Ideally this should be automated. So any changes in docs in the unstable branch would trigger the update of the documentation website. Older versions (beyond the specific number we would agree on) should be automatically deleted. Each new version is a complete duplicated folder. Somehow this process should hook with release process, but not interfere with the unstable docs.

jeluard avatar Apr 05 '24 07:04 jeluard