Skip to content

Commit 5602d4d

Browse files
committed
DOCSP-15685 hardcode legacy EOL extlinks
1 parent 76b8e7c commit 5602d4d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,14 @@ def has(self, *args):
7676
'mms-docs': ('https://docs.cloudmanager.mongodb.com%s', ''),
7777
'mms-home': ('https://cloud.mongodb.com%s', ''),
7878
'opsmgr': ('https://docs.opsmanager.mongodb.com/current%s', ''),
79-
'products': ('https://www.mongodb.com/products%s', '')
80-
79+
'products': ('https://www.mongodb.com/products%s', ''),
80+
'v2.4': ('https://docs.mongodb.com/v2.4%s', ''),
81+
'v2.2': ('https://docs.mongodb.com/v2.2%s', '')
8182
}
8283

8384
## add `extlinks` for each published version.
84-
for i in conf.git.branches.published:
85-
extlinks[i] = ( ''.join([ conf.project.url, '/', i, '%s' ]), '' )
85+
#for i in conf.git.branches.published:
86+
# extlinks[i] = ( ''.join([ conf.project.url, '/', i, '%s' ]), '' )
8687

8788
intersphinx_mapping = {}
8889
for i in conf.system.files.data.intersphinx:

0 commit comments

Comments
 (0)