Skip to content

Commit 035f71a

Browse files
committed
Update NEWS and docs for 1.25.0 (#1461)
* update NEWS for 1.25.0 * link to GitHub release page, not tarball The tarball is removed in 1.25.0 as part of CDRIVER-4640. * move `:man_page:` directive Appears to fix HTML rendering. Cause is not known.
1 parent 8d6c87b commit 035f71a

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

build/sphinx/homepage-config/conf.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,12 @@
3535
def download_link(typ, rawtext, text, lineno, inliner, options={}, content=[]):
3636
if text == "mongoc":
3737
lib = "mongo-c-driver"
38-
elif text == "bson":
39-
lib = "libbson"
4038
else:
4139
raise ValueError(
42-
"download link must be mongoc or libbson, not \"%s\"" % text)
40+
"download link must be mongoc, not \"%s\"" % text)
4341

44-
title = "%s-%s.tar.gz" % (lib, version)
45-
url = ("https://github.com/mongodb/%(lib)s/"
46-
"releases/download/%(version)s/%(lib)s-%(version)s.tar.gz") % {
47-
"lib": lib,
42+
title = "%s-%s" % (lib, version)
43+
url = ("https://github.com/mongodb/mongo-c-driver/releases/tag/%(version)s") % {
4844
"version": version
4945
}
5046

src/libmongoc/doc/installing.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
:orphan:
2-
31
:man_page: mongoc_installing
2+
:orphan:
43

54
Installing the MongoDB C Driver (libmongoc) and BSON library (libbson)
65
======================================================================

0 commit comments

Comments
 (0)