mirror of https://github.com/django/django.git
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:
parent
4a77aeb1f8
commit
6a7af38b07
|
@ -140,6 +140,11 @@ any time leading up to the actual release:
|
||||||
$ git checkout -b stable/3.1.x origin/main
|
$ git checkout -b stable/3.1.x origin/main
|
||||||
$ git push origin -u stable/3.1.x:stable/3.1.x
|
$ 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
|
#. 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
|
the current stable branch in the `django-docs-translations
|
||||||
<https://github.com/django/django-docs-translations>`_ repository. For
|
<https://github.com/django/django-docs-translations>`_ repository. For
|
||||||
|
|
Loading…
Reference in New Issue