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

Skip to content

Commit e5256de

Browse files
committed
DOC: expand notes about documentation 'merge up'
1 parent b79da40 commit e5256de

1 file changed

Lines changed: 23 additions & 6 deletions

File tree

doc/devel/release_guide.rst

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,26 @@ Review and commit changes. Some issue/PR titles may not be valid rst (the most
4646

4747
.. _release_chkdocs:
4848

49-
Check Docs
50-
----------
49+
Check and updating Docs
50+
-----------------------
51+
52+
Before tagging, update the "what's new" and API changes listings.
53+
54+
1. copy the current content to a file in :file:`doc/users/prev_whats_new`
55+
2. merging all of the files in :file:`doc/users/next_whats_new/` into
56+
:file:`doc/users/whats_new.rst` and deleting the individiual files
57+
3. comment out the next whats new glob at the top
58+
59+
Similarly for the API changes
60+
61+
1. copy the current api changes to a file is :file:`doc/api/prev_api_changes`
62+
2. merge all of the files in :file:`doc/api/next_api_changes/` into
63+
:file:`doc//whats_new.rst`
64+
3. comment out the next API changes at the top.
5165

52-
Before tagging, update the what's new listing in :file:`doc/users/whats_new.rst`
53-
by merging all files in :file:`doc/users/next_whats_new/` coherently. Also,
54-
temporarily comment out the include and toctree glob; re-instate these after a
55-
release. Finally, make sure that the docs build cleanly ::
66+
In both cases step 3 will have to be un-done right after the release.
67+
68+
Finally, make sure that the docs build cleanly ::
5669

5770
make -Cdoc O-n=$(nproc) html latexpdf
5871

@@ -130,10 +143,14 @@ and if this is a major or minor release, also create a bug-fix branch (a
130143
micro release will be cut off of this branch)::
131144

132145
git branch v2.0.x
146+
147+
On this branch un-comment the globs from :ref:`release_chkdocs`. And then ::
148+
133149
git push DANGER v2.0.x
134150

135151

136152

153+
137154
.. _release_DOI:
138155

139156
Release Management / DOI

0 commit comments

Comments
 (0)