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.
This commit is contained in:
Carlton Gibson 2021-04-10 17:29:32 +02:00
parent 4a77aeb1f8
commit 6a7af38b07
1 changed files with 5 additions and 0 deletions

View File

@ -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