diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2014-08-21 10:12:43 -0400 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2014-08-21 10:12:43 -0400 |
commit | 96636540ed04d29d6726f253ae014e89ecb0713c (patch) | |
tree | 8ba12c2a0955d6474fe396666e5cc6d208eaf28d | |
parent | d620a31e1eb9ea529fcdf5d64419eda60d2b407e (diff) | |
download | markdown-96636540ed04d29d6726f253ae014e89ecb0713c.tar.gz markdown-96636540ed04d29d6726f253ae014e89ecb0713c.tar.bz2 markdown-96636540ed04d29d6726f253ae014e89ecb0713c.zip |
'http://packages.python.org/Markdown/' => 'https://pythonhosted.org/Markdown/'. The former redirects to the latter anyway. Might as well point to the actual destination.
-rw-r--r-- | INSTALL.md | 2 | ||||
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | markdown/__init__.py | 2 | ||||
-rw-r--r-- | markdown/__main__.py | 2 | ||||
-rw-r--r-- | markdown/extensions/attr_list.py | 2 | ||||
-rw-r--r-- | markdown/extensions/codehilite.py | 4 | ||||
-rw-r--r-- | markdown/extensions/fenced_code.py | 4 | ||||
-rw-r--r-- | markdown/extensions/headerid.py | 4 | ||||
-rw-r--r-- | markdown/extensions/meta.py | 2 | ||||
-rw-r--r-- | markdown/extensions/nl2br.py | 2 | ||||
-rw-r--r-- | markdown/extensions/toc.py | 2 | ||||
-rw-r--r-- | markdown/extensions/wikilinks.py | 2 | ||||
-rwxr-xr-x | setup.py | 8 | ||||
-rw-r--r-- | tests/misc/em-around-links.html | 10 | ||||
-rw-r--r-- | tests/misc/em-around-links.txt | 10 |
15 files changed, 32 insertions, 32 deletions
@@ -6,4 +6,4 @@ As an Admin/Root user on your system do: pip install markdown Or for more specific instructions, view the documentation in `docs/install.txt` -or on the website at <http://packages.python.org/Markdown/>. +or on the website at <https://pythonhosted.org/Markdown/install.html>. @@ -13,10 +13,10 @@ though there are a few known issues. See [Features][] for information on what exactly is supported and what is not. Additional features are supported by the [Available Extensions][]. -[Python-Markdown]: http://packages.python.org/Markdown/ +[Python-Markdown]: https://pythonhosted.org/Markdown/ [Markdown]: http://daringfireball.net/projects/markdown/ -[Features]: http://packages.python.org/Markdown/index.html#Features -[Available Extensions]: http://packages.python.org/Markdown/extensions/index.html +[Features]: https://pythonhosted.org/Markdown/index.html#Features +[Available Extensions]: https://pythonhosted.org/Markdown/extensions/index.html Documentation @@ -24,7 +24,7 @@ Documentation Installation and usage documentation is available in the `docs/` directory of the distribution and on the project website at -<http://packages.python.org/Markdown/>. +<https://pythonhosted.org/Markdown/>. Support ------- diff --git a/markdown/__init__.py b/markdown/__init__.py index 740e932..59dda4c 100644 --- a/markdown/__init__.py +++ b/markdown/__init__.py @@ -10,7 +10,7 @@ called from the command line. import markdown html = markdown.markdown(your_text_string) -See <http://packages.python.org/Markdown/> for more +See <https://pythonhosted.org/Markdown/> for more information and instructions on how to extend the functionality of Python Markdown. Read that before you try modifying this file. diff --git a/markdown/__main__.py b/markdown/__main__.py index 8ee8c82..b463fdc 100644 --- a/markdown/__main__.py +++ b/markdown/__main__.py @@ -20,7 +20,7 @@ def parse_options(): usage = """%prog [options] [INPUTFILE] (STDIN is assumed if no INPUTFILE is given)""" desc = "A Python implementation of John Gruber's Markdown. " \ - "http://packages.python.org/Markdown/" + "https://pythonhosted.org/Markdown/" ver = "%%prog %s" % markdown.version parser = optparse.OptionParser(usage=usage, description=desc, version=ver) diff --git a/markdown/extensions/attr_list.py b/markdown/extensions/attr_list.py index f725a17..55b2f1f 100644 --- a/markdown/extensions/attr_list.py +++ b/markdown/extensions/attr_list.py @@ -14,7 +14,7 @@ License: BSD (see ../LICENSE.md for details) Dependencies: * [Python 2.4+](http://python.org) -* [Markdown 2.1+](http://packages.python.org/Markdown/) +* [Markdown 2.1+](https://pythonhosted.org/Markdown/) """ diff --git a/markdown/extensions/codehilite.py b/markdown/extensions/codehilite.py index e3c5b3d..6336cfc 100644 --- a/markdown/extensions/codehilite.py +++ b/markdown/extensions/codehilite.py @@ -6,14 +6,14 @@ Adds code/syntax highlighting to standard Python-Markdown code blocks. Copyright 2006-2008 [Waylan Limberg](http://achinghead.com/). -Project website: <http://packages.python.org/Markdown/extensions/code_hilite.html> +Project website: <https://pythonhosted.org/Markdown/extensions/code_hilite.html> Contact: markdown@freewisdom.org License: BSD (see ../LICENSE.md for details) Dependencies: * [Python 2.3+](http://python.org/) -* [Markdown 2.0+](http://packages.python.org/Markdown/) +* [Markdown 2.0+](https://pythonhosted.org/Markdown/) * [Pygments](http://pygments.org/) """ diff --git a/markdown/extensions/fenced_code.py b/markdown/extensions/fenced_code.py index 25163cf..4403ccd 100644 --- a/markdown/extensions/fenced_code.py +++ b/markdown/extensions/fenced_code.py @@ -75,14 +75,14 @@ If the codehighlite extension and Pygments are installed, lines can be highlight Copyright 2007-2008 [Waylan Limberg](http://achinghead.com/). -Project website: <http://packages.python.org/Markdown/extensions/fenced_code_blocks.html> +Project website: <https://pythonhosted.org/Markdown/extensions/fenced_code_blocks.html> Contact: markdown@freewisdom.org License: BSD (see ../docs/LICENSE for details) Dependencies: * [Python 2.4+](http://python.org) -* [Markdown 2.0+](http://packages.python.org/Markdown/) +* [Markdown 2.0+](https://pythonhosted.org/Markdown/) * [Pygments (optional)](http://pygments.org) """ diff --git a/markdown/extensions/headerid.py b/markdown/extensions/headerid.py index 55e09ce..f96f239 100644 --- a/markdown/extensions/headerid.py +++ b/markdown/extensions/headerid.py @@ -63,14 +63,14 @@ Use with MetaData extension: Copyright 2007-2011 [Waylan Limberg](http://achinghead.com/). -Project website: <http://packages.python.org/Markdown/extensions/header_id.html> +Project website: <https://pythonhosted.org/Markdown/extensions/header_id.html> Contact: markdown@freewisdom.org License: BSD (see ../docs/LICENSE for details) Dependencies: * [Python 2.3+](http://python.org) -* [Markdown 2.0+](http://packages.python.org/Markdown/) +* [Markdown 2.0+](https://pythonhosted.org/Markdown/) """ diff --git a/markdown/extensions/meta.py b/markdown/extensions/meta.py index 8de2646..3d89946 100644 --- a/markdown/extensions/meta.py +++ b/markdown/extensions/meta.py @@ -32,7 +32,7 @@ Make sure text without Meta Data still works (markdown < 1.6b returns a <p>). Copyright 2007-2008 [Waylan Limberg](http://achinghead.com). -Project website: <http://packages.python.org/Markdown/meta_data.html> +Project website: <https://pythonhosted.org/Markdown/extensions/meta_data.html> Contact: markdown@freewisdom.org License: BSD (see ../LICENSE.md for details) diff --git a/markdown/extensions/nl2br.py b/markdown/extensions/nl2br.py index c355c13..eab4084 100644 --- a/markdown/extensions/nl2br.py +++ b/markdown/extensions/nl2br.py @@ -16,7 +16,7 @@ Copyright 2011 [Brian Neal](http://deathofagremmie.com/) Dependencies: * [Python 2.4+](http://python.org) -* [Markdown 2.1+](http://packages.python.org/Markdown/) +* [Markdown 2.1+](https://pythonhosted.org/Markdown/) """ diff --git a/markdown/extensions/toc.py b/markdown/extensions/toc.py index f1593b2..8ab8c03 100644 --- a/markdown/extensions/toc.py +++ b/markdown/extensions/toc.py @@ -5,7 +5,7 @@ Table of Contents Extension for Python-Markdown (c) 2008 [Jack Miller](http://codezen.org) Dependencies: -* [Markdown 2.1+](http://packages.python.org/Markdown/) +* [Markdown 2.1+](https://pythonhosted.org/Markdown/) """ diff --git a/markdown/extensions/wikilinks.py b/markdown/extensions/wikilinks.py index c2aab8f..cb20906 100644 --- a/markdown/extensions/wikilinks.py +++ b/markdown/extensions/wikilinks.py @@ -73,7 +73,7 @@ License: [BSD](http://www.opensource.org/licenses/bsd-license.php) Dependencies: * [Python 2.3+](http://python.org) -* [Markdown 2.0+](http://packages.python.org/Markdown/) +* [Markdown 2.0+](https://pythonhosted.org/Markdown/) ''' from __future__ import absolute_import @@ -200,8 +200,8 @@ on what exactly is supported and what is not. Additional features are supported by the `Available Extensions`_. .. _Markdown: http://daringfireball.net/projects/markdown/ -.. _Features: http://packages.python.org/Markdown/index.html#Features -.. _`Available Extensions`: http://packages.python.org/Markdown/extensions/index.html +.. _Features: https://pythonhosted.org/Markdown/index.html#Features +.. _`Available Extensions`: https://pythonhosted.org/Markdown/extensions/index.html Support ======= @@ -216,7 +216,7 @@ You may ask for help and discuss various other issues on the setup( name = 'Markdown', version = version, - url = 'http://packages.python.org/Markdown/', + url = 'https://pythonhosted.org/Markdown/', download_url = 'http://pypi.python.org/packages/source/M/Markdown/Markdown-%s.tar.gz' % version, description = 'Python implementation of Markdown.', long_description = long_description, @@ -238,9 +238,9 @@ setup( 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', 'Topic :: Communications :: Email :: Filters', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries', 'Topic :: Internet :: WWW/HTTP :: Site Management', diff --git a/tests/misc/em-around-links.html b/tests/misc/em-around-links.html index 22e2aba..a7593c5 100644 --- a/tests/misc/em-around-links.html +++ b/tests/misc/em-around-links.html @@ -1,13 +1,13 @@ <h1>Title</h1> <ul> -<li><em><a href="http://packages.python.org/Markdown/">Python in Markdown</a> by some +<li><em><a href="https://pythonhosted.org/Markdown/">Python in Markdown</a> by some great folks</em> - This <em>does</em> work as expected.</li> -<li><em><a href="http://packages.python.org/Markdown/">Python in Markdown</a> by some +<li><em><a href="https://pythonhosted.org/Markdown/">Python in Markdown</a> by some great folks</em> - This <em>does</em> work as expected.</li> -<li><a href="http://packages.python.org/Markdown/"><em>Python in Markdown</em></a> by some +<li><a href="https://pythonhosted.org/Markdown/"><em>Python in Markdown</em></a> by some great folks - This <em>does</em> work as expected.</li> -<li><a href="http://packages.python.org/Markdown/"><em>Python in Markdown</em></a> <em>by some +<li><a href="https://pythonhosted.org/Markdown/"><em>Python in Markdown</em></a> <em>by some great folks</em> - This <em>does</em> work as expected.</li> </ul> -<p><em><a href="http://packages.python.org/Markdown/">Python in Markdown</a> by some +<p><em><a href="https://pythonhosted.org/Markdown/">Python in Markdown</a> by some great folks</em> - This <em>does</em> work as expected.</p>
\ No newline at end of file diff --git a/tests/misc/em-around-links.txt b/tests/misc/em-around-links.txt index 77dccdb..de04d3b 100644 --- a/tests/misc/em-around-links.txt +++ b/tests/misc/em-around-links.txt @@ -1,14 +1,14 @@ # Title - - *[Python in Markdown](http://packages.python.org/Markdown/) by some + - *[Python in Markdown](https://pythonhosted.org/Markdown/) by some great folks* - This *does* work as expected. - - _[Python in Markdown](http://packages.python.org/Markdown/) by some + - _[Python in Markdown](https://pythonhosted.org/Markdown/) by some great folks_ - This *does* work as expected. - - [_Python in Markdown_](http://packages.python.org/Markdown/) by some + - [_Python in Markdown_](https://pythonhosted.org/Markdown/) by some great folks - This *does* work as expected. - - [_Python in Markdown_](http://packages.python.org/Markdown/) _by some + - [_Python in Markdown_](https://pythonhosted.org/Markdown/) _by some great folks_ - This *does* work as expected. -_[Python in Markdown](http://packages.python.org/Markdown/) by some +_[Python in Markdown](https://pythonhosted.org/Markdown/) by some great folks_ - This *does* work as expected. |