Skip to content

Commit a194f5b

Browse files
authored
DOCSP-15685 hardcode legacy EOL extlinks
1 parent f133318 commit a194f5b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

conf.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,18 @@ def has(self, *args):
111111
'csharp-api': ('https://api.mongodb.com/csharp/current/html/%s.htm', ''),
112112
'csharp-docs': ('https://mongodb.github.io/mongo-csharp-driver/2.4/reference/%s', ''),
113113
'java-async-docs': ('https://mongodb.github.io/mongo-java-driver-reactivestreams/1.6/%s', ''),
114-
'java-async-api': ('https://mongodb.github.io/mongo-java-driver-reactivestreams/1.6/javadoc/%s', '')
114+
'java-async-api': ('https://mongodb.github.io/mongo-java-driver-reactivestreams/1.6/javadoc/%s', ''),
115+
'v3.4': ('https://docs.mongodb.com/v3.4%s', ''),
116+
'v3.2': ('https://docs.mongodb.com/v3.2%s', ''),
117+
'v3.0': ('https://docs.mongodb.com/v3.0%s', ''),
118+
'v2.6': ('https://docs.mongodb.com/v2.6%s', ''),
119+
'v2.4': ('https://docs.mongodb.com/v2.4%s', ''),
120+
'v2.2': ('https://docs.mongodb.com/v2.2%s', '')
115121
}
116122

117123
## add `extlinks` for each published version.
118-
for i in conf.git.branches.published:
119-
extlinks[i] = ( ''.join([ conf.project.url, '/', i, '%s' ]), '' )
124+
#for i in conf.git.branches.published:
125+
# extlinks[i] = ( ''.join([ conf.project.url, '/', i, '%s' ]), '' )
120126

121127
intersphinx_mapping = {}
122128
for i in conf.system.files.data.intersphinx:

0 commit comments

Comments
 (0)