summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-23 12:27:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-23 12:27:40 +0000
commit13217f8b821f405da70abd107f807102f1505508 (patch)
tree0db78fc6a6edf5026c1f4c84b7384ab77503f0d6 /documentation
parentd303f9c6ed5316ce8b750a413553ee462e1d20c2 (diff)
downloadpoky-13217f8b821f405da70abd107f807102f1505508.tar.gz
Revert "set_versions: Handle dev branch in switchers correctly"
This reverts commit f7d853366470d1342e962c9d7164683a40dc0d7e.
Diffstat (limited to 'documentation')
-rwxr-xr-xdocumentation/set_versions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/set_versions.py b/documentation/set_versions.py
index b2859381e4..af237f29e1 100755
--- a/documentation/set_versions.py
+++ b/documentation/set_versions.py
@@ -220,7 +220,7 @@ with open("sphinx-static/switchers.js.in", "r") as r, open("sphinx-static/switch
220 version = version + "." + versions[-1] 220 version = version + "." + versions[-1]
221 versions.append(version) 221 versions.append(version)
222 w.write(" '%s': '%s',\n" % (version, version)) 222 w.write(" '%s': '%s',\n" % (version, version))
223 if ourversion not in versions and ourbranch != devbranch: 223 if ourversion not in versions:
224 w.write(" '%s': '%s',\n" % (ourversion, ourversion)) 224 w.write(" '%s': '%s',\n" % (ourversion, ourversion))
225 else: 225 else:
226 w.write(line) 226 w.write(line)