Skip to content

Commit bff5153

Browse files
committed
[no ci] docs polyversion: remove special case for main
1 parent e78afc0 commit bff5153

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

docsrc/poly.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ async def selector(rev, keys):
123123
# map all v1 revisions to one configuration
124124
if rev.name.startswith("v1."):
125125
return "v1.1.6"
126-
elif rev.name in ["main"]:
127-
# special configuration for v1 main branch
128-
return rev.name
129126
elif rev.name == "local":
130127
return "local"
131128
# common config for everything else

0 commit comments

Comments
 (0)