diff --git a/conf.py b/conf.py index c6196859134..995e01c08f0 100644 --- a/conf.py +++ b/conf.py @@ -113,12 +113,19 @@ def has(self, *args): 'java-async-docs': ('https://mongodb.github.io/mongo-java-driver-reactivestreams/1.6/%s', ''), 'java-async-api': ('https://mongodb.github.io/mongo-java-driver-reactivestreams/1.6/javadoc/%s', ''), 'bic': ('https://docs.mongodb.com/bi-connector/current%s',''), - 'go-api': ('https://godoc.org/github.com/mongodb/mongo-go-driver/%s', '') + 'go-api': ('https://godoc.org/github.com/mongodb/mongo-go-driver/%s', ''), + 'v3.6': ('https://docs.mongodb.com/v3.6%s', ''), + 'v3.4': ('https://docs.mongodb.com/v3.4%s', ''), + 'v3.2': ('https://docs.mongodb.com/v3.2%s', ''), + 'v3.0': ('https://docs.mongodb.com/v3.0%s', ''), + 'v2.6': ('https://docs.mongodb.com/v2.6%s', ''), + 'v2.4': ('https://docs.mongodb.com/v2.4%s', ''), + 'v2.2': ('https://docs.mongodb.com/v2.2%s', '') } ## add `extlinks` for each published version. -for i in conf.git.branches.published: - extlinks[i] = ( ''.join([ conf.project.url, '/', i, '%s' ]), '' ) +#for i in conf.git.branches.published: +# extlinks[i] = ( ''.join([ conf.project.url, '/', i, '%s' ]), '' ) intersphinx_mapping = {} for i in conf.system.files.data.intersphinx: