Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b902833

Browse files
committed
Update 3.5 to use blurb!
1 parent fcfbeb9 commit b902833

134 files changed

Lines changed: 28662 additions & 9673 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ matrix:
4040
- cd Doc
4141
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
4242
# (Updating the version is fine as long as no warnings are raised by doing so.)
43-
- python -m pip install sphinx~=1.6.1
43+
- python -m pip install sphinx~=1.6.1 blurb
4444
script:
4545
- make check suspicious html SPHINXOPTS="-q -W -j4"
4646
- os: linux

Doc/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# You can set these variables from the command line.
77
PYTHON = python3
88
SPHINXBUILD = sphinx-build
9+
BLURB = $(PYTHON) -m blurb
910
PAPER =
1011
SOURCES =
1112
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
@@ -38,6 +39,8 @@ help:
3839
@echo " serve to serve the documentation on the localhost (8000)"
3940

4041
build:
42+
-mkdir -p build
43+
$(BLURB) merge -f build/NEWS
4144
$(SPHINXBUILD) $(ALLSPHINXOPTS)
4245
@echo
4346

@@ -107,7 +110,7 @@ clean:
107110

108111
venv:
109112
$(PYTHON) -m venv venv
110-
./venv/bin/python3 -m pip install -U Sphinx
113+
./venv/bin/python3 -m pip install -U Sphinx blurb
111114

112115
dist:
113116
rm -rf dist

Doc/whatsnew/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
Changelog
55
+++++++++
66

7-
.. miscnews:: ../../Misc/NEWS
7+
.. miscnews:: ../build/NEWS

0 commit comments

Comments
 (0)