Stop showing Next and add an announcement bar about SuperDB docs #87
+9
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is related to other PRs:
In the time we've started the Zed->SuperDB transition, the "Next" selection in the versions drop-down on https://zed.brimdata.io/ has been showing the work-in-progress SuperDB docs. This has been as good a home as any for pointing early SuperDB users at relevant pages that speak to the new stuff. However, brimdata/super#5489 is going to change the markdown in the Zed repo such that it'll no longer contain the Docusaurus-specific parts so it won't even be possible to publish the SuperDB docs here once that merges, and that's fine because https://github.com/brimdata/superdb-website/pull/6 will make it possible to publish them instead at their proper home as part of https://superdb.org/.
This PR does two things to make way for that transition:
The "Next" selection will no longer appear in the versions drop-down. Now the drop-down will only include GA releases up to v1.18.0 which was the final one known by the "Zed" name. These Docusaurus config docs taught me about the
includeCurrentVersion
setting used to achieve this.An announcement bar is added to make users aware where the new SuperDB docs can be found.
We could potentially make other changes to be doubly sure users know about the transition (e.g., we could change what's on the initial https://zed.brimdata.io/ page, add some prominent text near the top of https://zed.brimdata.io/docs in the versioned v1.18.0 docs in this repo to mention SuperDB, etc.) but what's here should get us started.
I've published a build based on this branch to a personal staging site at https://spiffy-gnome-8f2834.netlify.app/ if anyone wants to give it a look. A screenshot that highlights the important differences:
The one timing consideration of when this merges is that we'd only want to do it once https://superdb.org/docs is "live" to some degree, since the link in the announcement bar is pointing there early.