diff --git a/documentation/set_versions.py b/documentation/set_versions.py
index d9f57112b..394e3f7e4 100755
--- a/documentation/set_versions.py
+++ b/documentation/set_versions.py
@@ -145,6 +145,9 @@ with open("poky.yaml.in", "r") as r, open("poky.yaml", "w") as w:
 
 print("poky.yaml generated from poky.yaml.in")
 
+if ourseries not in activereleases:
+    activereleases.append(ourseries)
+
 with open("sphinx-static/switchers.js.in", "r") as r, open("sphinx-static/switchers.js", "w") as w:
     lines = r.readlines()
     for line in lines:
