From 2b878fcf36ee1ce854c67455693650ec1f289168 Mon Sep 17 00:00:00 2001 From: "Fabio C. Barrioneuvo da Luz" Date: Mon, 9 May 2016 17:18:58 -0300 Subject: [PATCH] replace occurrences of readthedocs.org to readthedocs.io --- CHANGELOG.md | 3 ++- CONTRIBUTING.rst | 2 +- README.rst | 8 ++++---- docs/developing-locally.rst | 2 +- {{cookiecutter.project_slug}}/README.rst | 8 ++++---- {{cookiecutter.project_slug}}/config/settings/common.py | 2 +- .../config/settings/production.py | 4 ++-- .../{{cookiecutter.project_slug}}/contrib/__init__.py | 2 +- .../contrib/sites/__init__.py | 2 +- .../sites/migrations/0002_set_site_domain_and_name.py | 2 +- .../contrib/sites/migrations/__init__.py | 2 +- 11 files changed, 19 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a5d402a..0ab64f2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [2016-05-09] ### Changed - Improved mailhog usage documentation on `developing-locally.rst` (@shireenrao) +- Replaced all `readthedocs.org` referencies to point to the new domain `readthedocs.io` (@luzfcb) ## [2016-05-08] ### Changed @@ -537,7 +538,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Styles that already exist in Bootstrap 4 (or 3) (@audreyr) ### Changed -- Fix issue #296 - change login.html to use [get_providers](https://github.com/pennersr/django-allauth/blob/master/allauth/socialaccount/templatetags/socialaccount.py#L84-L93) templatetag because ``allauth.socialaccount`` context processor now is [deprecated](http://django-allauth.readthedocs.org/en/latest/changelog.html#from-0-21-0) (@luzfcb) +- Fix issue #296 - change login.html to use [get_providers](https://github.com/pennersr/django-allauth/blob/master/allauth/socialaccount/templatetags/socialaccount.py#L84-L93) templatetag because ``allauth.socialaccount`` context processor now is [deprecated](http://django-allauth.readthedocs.io/en/latest/changelog.html#from-0-21-0) (@luzfcb) ## [2015-09-09] ### Added diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index d05ea0db..9acc8328 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -49,7 +49,7 @@ To run a particular test with tox for against your current Python version:: $ tox -e py -- -k test_default_configuration .. _`pytest usage docs`: https://pytest.org/latest/usage.html#specifying-tests-selecting-tests -.. _`tox`: https://tox.readthedocs.org/en/latest/ +.. _`tox`: https://tox.readthedocs.io/en/latest/ .. _`pip`: https://pypi.python.org/pypi/pip/ .. _`pytest-cookies`: https://pypi.python.org/pypi/pytest-cookies/ .. _`flake8`: https://pypi.python.org/pypi/flake8/ diff --git a/README.rst b/README.rst index ce174290..4b4d3af1 100644 --- a/README.rst +++ b/README.rst @@ -58,7 +58,7 @@ Optional Integrations .. _django-avatar: https://github.com/jezdez/django-avatar/ .. _Procfile: https://devcenter.heroku.com/articles/procfile .. _Mailgun: https://mailgun.com/ -.. _Whitenoise: https://whitenoise.readthedocs.org/ +.. _Whitenoise: https://whitenoise.readthedocs.io/ .. _Celery: http://www.celeryproject.org/ .. _MailHog: https://github.com/mailhog/MailHog .. _Sentry: https://getsentry.com @@ -153,9 +153,9 @@ For development, see the following for local development: * `Developing locally`_ * `Developing locally using docker`_ -.. _options: http://cookiecutter-django.readthedocs.org/en/latest/project-generation-options.html -.. _`Developing locally`: http://cookiecutter-django.readthedocs.org/en/latest/developing-locally.html -.. _`Developing locally using docker`: http://cookiecutter-django.readthedocs.org/en/latest/developing-locally-docker.html +.. _options: http://cookiecutter-django.readthedocs.io/en/latest/project-generation-options.html +.. _`Developing locally`: http://cookiecutter-django.readthedocs.io/en/latest/developing-locally.html +.. _`Developing locally using docker`: http://cookiecutter-django.readthedocs.io/en/latest/developing-locally-docker.html Community ----------- diff --git a/docs/developing-locally.rst b/docs/developing-locally.rst index 1a65ed6e..27460eb0 100644 --- a/docs/developing-locally.rst +++ b/docs/developing-locally.rst @@ -29,7 +29,7 @@ Then, create a PostgreSQL database with the following command, where `[project_s $ export DATABASE_URL="postgres://**:**\ @127.0.0.1:\ **/**" -.. _django-environ: http://django-environ.readthedocs.org +.. _django-environ: http://django-environ.readthedocs.io You can now run the usual Django ``migrate`` and ``runserver`` commands:: diff --git a/{{cookiecutter.project_slug}}/README.rst b/{{cookiecutter.project_slug}}/README.rst index 038d73ad..4717b7b9 100644 --- a/{{cookiecutter.project_slug}}/README.rst +++ b/{{cookiecutter.project_slug}}/README.rst @@ -16,7 +16,7 @@ Settings Moved to settings_. -.. _settings: http://cookiecutter-django.readthedocs.org/en/latest/settings.html +.. _settings: http://cookiecutter-django.readthedocs.io/en/latest/settings.html Basic Commands -------------- @@ -53,7 +53,7 @@ Live reloading and Sass CSS compilation Moved to `Live reloading and SASS compilation`_. -.. _`Live reloading and SASS compilation`: http://cookiecutter-django.readthedocs.org/en/latest/live-reloading-and-sass-compilation.html +.. _`Live reloading and SASS compilation`: http://cookiecutter-django.readthedocs.io/en/latest/live-reloading-and-sass-compilation.html {% if cookiecutter.use_celery == "y" %} @@ -121,7 +121,7 @@ Heroku See detailed `cookiecutter-django Heroku documentation`_. -.. _`cookiecutter-django Heroku documentation`: http://cookiecutter-django.readthedocs.org/en/latest/deployment-on-heroku.html +.. _`cookiecutter-django Heroku documentation`: http://cookiecutter-django.readthedocs.io/en/latest/deployment-on-heroku.html {% endif %} @@ -132,6 +132,6 @@ Docker See detailed `cookiecutter-django Docker documentation`_. -.. _`cookiecutter-django Docker documentation`: http://cookiecutter-django.readthedocs.org/en/latest/deployment-with-docker.html +.. _`cookiecutter-django Docker documentation`: http://cookiecutter-django.readthedocs.io/en/latest/deployment-with-docker.html {% endif %} diff --git a/{{cookiecutter.project_slug}}/config/settings/common.py b/{{cookiecutter.project_slug}}/config/settings/common.py index 276e97e2..292da882 100644 --- a/{{cookiecutter.project_slug}}/config/settings/common.py +++ b/{{cookiecutter.project_slug}}/config/settings/common.py @@ -163,7 +163,7 @@ TEMPLATES = [ }, ] -# See: http://django-crispy-forms.readthedocs.org/en/latest/install.html#template-packs +# See: http://django-crispy-forms.readthedocs.io/en/latest/install.html#template-packs CRISPY_TEMPLATE_PACK = 'bootstrap3' # STATIC FILE CONFIGURATION diff --git a/{{cookiecutter.project_slug}}/config/settings/production.py b/{{cookiecutter.project_slug}}/config/settings/production.py index 8baeebd8..201b8b87 100644 --- a/{{cookiecutter.project_slug}}/config/settings/production.py +++ b/{{cookiecutter.project_slug}}/config/settings/production.py @@ -46,7 +46,7 @@ SECURITY_MIDDLEWARE = ( ) {% if cookiecutter.use_whitenoise == 'y' -%} # Use Whitenoise to serve static files -# See: https://whitenoise.readthedocs.org/ +# See: https://whitenoise.readthedocs.io/ WHITENOISE_MIDDLEWARE = ( 'whitenoise.middleware.WhiteNoiseMiddleware', ) @@ -98,7 +98,7 @@ INSTALLED_APPS += ('gunicorn', ) # ------------------------------------------------------------------------------ # Uploaded Media Files # ------------------------ -# See: http://django-storages.readthedocs.org/en/latest/index.html +# See: http://django-storages.readthedocs.io/en/latest/index.html INSTALLED_APPS += ( 'storages', ) diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/__init__.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/__init__.py index 4985ac95..776ac171 100644 --- a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/__init__.py +++ b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/__init__.py @@ -1,6 +1,6 @@ """ To understand why this file is here, please read: -http://cookiecutter-django.readthedocs.org/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django +http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ # -*- coding: utf-8 -*- diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/__init__.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/__init__.py index 4985ac95..776ac171 100644 --- a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/__init__.py +++ b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/__init__.py @@ -1,6 +1,6 @@ """ To understand why this file is here, please read: -http://cookiecutter-django.readthedocs.org/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django +http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ # -*- coding: utf-8 -*- diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/migrations/0002_set_site_domain_and_name.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/migrations/0002_set_site_domain_and_name.py index c4e255d8..e6292f0b 100644 --- a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/migrations/0002_set_site_domain_and_name.py +++ b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/migrations/0002_set_site_domain_and_name.py @@ -1,7 +1,7 @@ """ To understand why this file is here, please read: -http://cookiecutter-django.readthedocs.org/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django +http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ # -*- coding: utf-8 -*- diff --git a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/migrations/__init__.py b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/migrations/__init__.py index 4985ac95..776ac171 100644 --- a/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/migrations/__init__.py +++ b/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/contrib/sites/migrations/__init__.py @@ -1,6 +1,6 @@ """ To understand why this file is here, please read: -http://cookiecutter-django.readthedocs.org/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django +http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ # -*- coding: utf-8 -*-