archrelease: copy trunk to community-any
[ArchLinux/community.git] / slimit / trunk / 0004-Convert-readthedocs-links-for-their-.org-.io-migrati.patch
blobe51478b90890d7bf6b24b23b2333428eae556438
1 From cf6268540d5ed2781565eae53311be98bc4466e0 Mon Sep 17 00:00:00 2001
2 From: Adam Chainz <adam@adamj.eu>
3 Date: Sat, 11 Jun 2016 11:12:45 +0100
4 Subject: [PATCH 4/8] Convert readthedocs links for their .org -> .io migration
5 for hosted projects
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:
12 > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
14 Test Plan: Manually visited all the links I’ve modified.
15 ---
16 README.rst | 2 +-
17 setup.py | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-)
20 diff --git a/README.rst b/README.rst
21 index 8e20b87..e7708e1 100644
22 --- a/README.rst
23 +++ b/README.rst
24 @@ -18,7 +18,7 @@ and runs faster.
25 `SlimIt` also provides a library that includes a JavaScript parser,
26 lexer, pretty printer and a tree visitor.
28 -`http://slimit.readthedocs.org/ <http://slimit.readthedocs.org/>`_
29 +`https://slimit.readthedocs.io/ <https://slimit.readthedocs.io/>`_
31 Installation
32 ------------
33 diff --git a/setup.py b/setup.py
34 index 0dede46..ba95396 100644
35 --- a/setup.py
36 +++ b/setup.py
37 @@ -36,7 +36,7 @@ def read(*rel_names):
38 setup(
39 name='slimit',
40 version='0.8.1',
41 - url='http://slimit.readthedocs.org',
42 + url='https://slimit.readthedocs.io',
43 cmdclass = {'build_py': build_py},
44 license='MIT',
45 description='SlimIt - JavaScript minifier',
46 --
47 2.25.0