Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Use lib.trivial.version to segment the docs #2455

Open
MattSturgeon opened this issue Oct 24, 2024 · 0 comments
Open

[Docs] Use lib.trivial.version to segment the docs #2455

MattSturgeon opened this issue Oct 24, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@MattSturgeon
Copy link
Member

I have two ideas here:

  1. The (new) homepage for the docs should have a link to the "other" version(s) of the docs
  2. The versioned URL should (probably) use lib.trivial.release instead of "stable".

Available in nixpkgs lib.trivial, we have release ("24.11" or "24.05"), versionSuffix ("pre-git" or ".20241014.c0b1da3") and version (release + versionSuffix).

We could probably setup a redirect for stable -> latest release, although given we just have a static site it'd probably have to just be an HTML redirect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant