Skip to content

Commit

Permalink
Added note to update docs config when creating new stable branch.
Browse files Browse the repository at this point in the history
django_next_version in docs/conf.py should be bumped when creating a new stable
branch.
  • Loading branch information
carltongibson committed Apr 22, 2021
1 parent 4a77aeb commit 6a7af38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/internals/howto-release-django.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a7af38

Please sign in to comment.