Browse Source

Added note to update docs config when creating new stable branch.

django_next_version in docs/conf.py should be bumped when creating a new stable
branch.
Carlton Gibson 4 years ago
parent
commit
6a7af38b07
1 changed files with 5 additions and 0 deletions
  1. 5 0
      docs/internals/howto-release-django.txt

+ 5 - 0
docs/internals/howto-release-django.txt

@@ -140,6 +140,11 @@ any time leading up to the actual release:
     $ git checkout -b stable/3.1.x origin/main
     $ git push origin -u stable/3.1.x:stable/3.1.x
 
+   At the same time, update the ``django_next_version`` variable in
+   ``docs/conf.py`` on the stable release branch to point to the new
+   development version. For example, when creating ``stable/4.2.x``, set
+   ``django_next_version`` to ``'5.0'`` on the new branch.
+
 #. If this is the "dot zero" release of a new series, create a new branch from
    the current stable branch in the `django-docs-translations
    <https://github.com/django/django-docs-translations>`_ repository. For