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

Skip to content

Commit a4a4bbf

Browse files
committed
DOC: update doc release guide
- add note about `twine check` - correct doc make command - remove note about source forge
1 parent 64ae323 commit a4a4bbf

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

doc/devel/release_guide.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,15 +250,18 @@ day), generate the tarball ::
250250
git clean -xfd
251251
python setup.py sdist
252252

253-
and copy all of the wheels into :file:`dist` directory. You should use
254-
``twine`` to upload all of the files to pypi ::
253+
and copy all of the wheels into :file:`dist` directory. First, check
254+
that the dist files are OK ::
255+
256+
twine check dist/*
257+
258+
and then use ``twine`` to upload all of the files to pypi ::
255259

256260
twine upload -s dist/matplotlib*tar.gz
257261
twine upload dist/*whl
258262

259263
Congratulations, you have now done the second scariest part!
260264

261-
Additionally, for a final release, upload all of the files to sourceforge.
262265

263266
.. _release_docs:
264267

@@ -272,8 +275,7 @@ build the docs from the ``ver-doc`` branch. An easy way to arrange this is::
272275
pip install -r requirements/doc/doc-requirements.txt
273276
git checkout v2.0.0-doc
274277
git clean -xfd
275-
cd doc
276-
make O=-n$(nproc) html latexpdf
278+
make -Cdoc O=-j$(nproc) html latexpdf LATEXMKOPTS="-silent -f"
277279

278280
which will build both the html and pdf version of the documentation.
279281

0 commit comments

Comments
 (0)