Skip to content

Commit

Permalink
Update docs menu to reflect that 'main' is now 2.2 pre-release (chape…
Browse files Browse the repository at this point in the history
…l-lang#25345)

[trivial, not reviewed]

This is the standard update we make after cutting the release branch and
releasing the new version.
  • Loading branch information
bradcray authored Jun 24, 2024
2 parents 7b77daa + 434bf84 commit 68ed9b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/rst/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ def setup(app):
# 'version' adds a redundant version number onto the top of the sidebar
# automatically (rtd-theme). We also don't use |version| anywhere in rst

chplversion = '2.1' # TODO -- parse from `chpl --version`
chplversion = '2.2' # TODO -- parse from `chpl --version`
shortversion = chplversion.replace('-', '&#8209') # prevent line-break at hyphen, if any
html_context = {"chplversion":chplversion}

# The full version, including alpha/beta/rc tags.
#release = '2.1.0 (pre-release)'
release = '2.1.0'
release = '2.2.0 (pre-release)'
#release = '2.2.0'

# General information about the project.
project = u'Chapel Documentation'
Expand Down
2 changes: 1 addition & 1 deletion doc/util/versionButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function toggleDropDown() {
function dropSetup() {
var currentRelease = "2.0"; // what does the public have?
var stagedRelease = "2.1"; // is there a release staged but not yet public?
var nextRelease = "2.1"; // what's the next release? (on docs/main)
var nextRelease = "2.2"; // what's the next release? (on docs/main)
var button = document.getElementById("versionButton");
// Uses unicode down-pointing triangle
var arrow = " ▼";
Expand Down

0 comments on commit 68ed9b8

Please sign in to comment.