diff --git a/docs/versions.rst b/docs/versions.rst index 4f32a680d5a..997ed23d253 100644 --- a/docs/versions.rst +++ b/docs/versions.rst @@ -62,7 +62,7 @@ Version warning --------------- This is a banner that appears on the top of every page of your docs that aren't stable or latest. -This banner has a text with a link redirecting the users to the latest version of your docs. +This banner has a text with a link redirecting the users to the stable version of your docs. This feature is disabled by default on new projects, you can enable it in the admin section of your docs (:guilabel:`Admin` > :guilabel:`Advanced Settings`). diff --git a/readthedocs/projects/migrations/0045_update-show-version-warning-help-text.py b/readthedocs/projects/migrations/0045_update-show-version-warning-help-text.py new file mode 100644 index 00000000000..80d4af278b7 --- /dev/null +++ b/readthedocs/projects/migrations/0045_update-show-version-warning-help-text.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.25 on 2019-10-17 15:58 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('projects', '0044_auto_20190703_1300'), + ] + + operations = [ + migrations.AlterField( + model_name='project', + name='show_version_warning', + field=models.BooleanField(default=False, help_text='Show a warning banner with a link to the stable version on not stable versions, except for latest.', verbose_name='Show version warning'), + ), + ] diff --git a/readthedocs/projects/models.py b/readthedocs/projects/models.py index 6cbf310bdb8..e86de505ef1 100644 --- a/readthedocs/projects/models.py +++ b/readthedocs/projects/models.py @@ -251,7 +251,10 @@ class Project(models.Model): show_version_warning = models.BooleanField( _('Show version warning'), default=False, - help_text=_('Show warning banner in non-stable nor latest versions.'), + help_text=_( + 'Show a warning banner with a link to the stable version on not' + ' stable versions, except for latest.' + ), ) # Sphinx specific build options.