Skip to content

Update version warning messages#401

Merged
dgarcia360 merged 5 commits intoscylladb:masterfrom
dgarcia360:update-version-warning-messages
Mar 15, 2022
Merged

Update version warning messages#401
dgarcia360 merged 5 commits intoscylladb:masterfrom
dgarcia360:update-version-warning-messages

Conversation

@dgarcia360
Copy link
Copy Markdown
Collaborator

Closes #202

Preview

Message for previous versions:

image

Message for unstable versions:

image

Message for deprecated versions:

image

How it works

Repo maintainers can now mark versions as unstable and deprecated in their conf.py file:

# Build documentation for the following tags and branches
TAGS = []
BRANCHES = ["branch-1.1", "branch-1.0", "master"]
# Set the latest version.
LATEST_VERSION = "branch-1.1"
# Set which versions are not released yet.
UNSTABLE_VERSIONS = ["master"]
# Set which versions are deprecated
DEPRECATED_VERSIONS = [""]

@dgarcia360 dgarcia360 self-assigned this Mar 15, 2022
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 15, 2022

@dgarcia360 dgarcia360 merged commit 462eab9 into scylladb:master Mar 15, 2022
@dgarcia360 dgarcia360 deleted the update-version-warning-messages branch March 15, 2022 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Differenciate between stable, unstable, and deprecated versions

2 participants