Skip to content

Commit ca7fa42

Browse files
committed
DOCSP-15685 hardcode legacy EOL extlinks
1 parent 0c9e152 commit ca7fa42

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

conf.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,15 @@ def has(self, *args):
8282
'mms-docs': ('https://docs.cloudmanager.mongodb.com%s', ''),
8383
'mms-home': ('https://cloud.mongodb.com%s', ''),
8484
'opsmgr': ('https://docs.opsmanager.mongodb.com/current%s', ''),
85-
'products': ('https://www.mongodb.com/products%s', '')
85+
'products': ('https://www.mongodb.com/products%s', ''),
86+
'v2.6': ('https://docs.mongodb.com/v2.6%s', ''),
87+
'v2.4': ('https://docs.mongodb.com/v2.4%s', ''),
88+
'v2.2': ('https://docs.mongodb.com/v2.2%s', '')
8689
}
8790

8891
## add `extlinks` for each published version.
89-
for i in conf.git.branches.published:
90-
extlinks[i] = ( ''.join([ conf.project.url, '/', i, '%s' ]), '' )
92+
#for i in conf.git.branches.published:
93+
# extlinks[i] = ( ''.join([ conf.project.url, '/', i, '%s' ]), '' )
9194

9295
intersphinx_mapping = {}
9396
for i in conf.system.files.data.intersphinx:

0 commit comments

Comments
 (0)