Skip to content

Perform 'blurb split' for master. #2719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ matrix:
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
# (Updating the version is fine as long as no warnings are raised by doing so.)
- python -m pip install sphinx~=1.6.1
- python -m pip install 'blurb>=1.0.3'
script:
- make check suspicious html SPHINXOPTS="-q -W -j4"
- os: linux
Expand Down Expand Up @@ -109,3 +110,4 @@ notifications:
on_success: change
on_failure: always
skip_join: true

6 changes: 5 additions & 1 deletion Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# You can set these variables from the command line.
PYTHON = python3
SPHINXBUILD = sphinx-build
BLURB = $(PYTHON) -m blurb
PAPER =
SOURCES =
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
Expand Down Expand Up @@ -38,6 +39,8 @@ help:
@echo " serve to serve the documentation on the localhost (8000)"

build:
-mkdir -p build
$(BLURB) merge -f build/NEWS
$(SPHINXBUILD) $(ALLSPHINXOPTS)
@echo

Expand Down Expand Up @@ -107,7 +110,7 @@ clean:

venv:
$(PYTHON) -m venv venv
./venv/bin/python3 -m pip install -U Sphinx
./venv/bin/python3 -m pip install -U Sphinx 'blurb>=1.0.3'

dist:
rm -rf dist
Expand Down Expand Up @@ -189,3 +192,4 @@ autobuild-stable-html:
exit 1;; \
esac
@make autobuild-dev-html

2 changes: 1 addition & 1 deletion Doc/tools/susp-ignored.csv
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ whatsnew/3.5,,:warning,'WARNING:root:warning\n'
whatsnew/3.5,,::,>>> addr6 = ipaddress.IPv6Address('::1')
whatsnew/3.5,,:root,ERROR:root:exception
whatsnew/3.5,,:exception,ERROR:root:exception
whatsnew/changelog,,:version,import sys; I = version[:version.index(' ')]
whatsnew/changelog,,:end,str[start:end]
library/binascii,,`,'`'
library/uu,,`,'`'
whatsnew/3.7,,`,'`'
whatsnew/changelog,,`,'`'
whatsnew/changelog,3602,:version,I = version[:version.index(' ')]
2 changes: 1 addition & 1 deletion Doc/whatsnew/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
Changelog
+++++++++

.. miscnews:: ../../Misc/NEWS
.. miscnews:: ../build/NEWS
Loading