8000 Fix Doc build for use with blurb. · python/cpython@dc85bd9 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc85bd9

Browse files
committed
Fix Doc build for use with blurb.
1 parent 38c8fde commit dc85bd9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Doc/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ help:
3838
@echo " serve to serve the documentation on the localhost (8000)"
3939

4040
build:
41+
-mkdir build
42+
blurb merge -f build/NEWS
4143
$(SPHINXBUILD) $(ALLSPHINXOPTS)
4244
@echo
4345

@@ -107,7 +109,7 @@ clean:
107109

108110
venv:
109111
$(PYTHON) -m venv venv
110-
./venv/bin/python3 -m pip install -U Sphinx
112+
./venv/bin/python3 -m pip install -U Sphinx blurb
111113

112114
dist:
113115
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)
0