Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…arkdown/'. The former redirects to the latter anyway. Might as well point to the actual destination.
  • Loading branch information
waylan committed Aug 21, 2014
1 parent d620a31 commit 9663654
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ 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
-------------

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
-------
Expand Down
2 changes: 1 addition & 1 deletion markdown/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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.
Expand Down
2 changes: 1 addition & 1 deletion markdown/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion markdown/extensions/attr_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Dependencies:
* [Python 2.4+](http://python.org)
* [Markdown 2.1+](http://packages.python.org/Markdown/)
* [Markdown 2.1+](https://pythonhosted.org/Markdown/)
"""

Expand Down
4 changes: 2 additions & 2 deletions markdown/extensions/codehilite.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
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: [email protected]
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/)
"""
Expand Down
4 changes: 2 additions & 2 deletions markdown/extensions/fenced_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@
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: [email protected]
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)
"""
Expand Down
4 changes: 2 additions & 2 deletions markdown/extensions/headerid.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@
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: [email protected]
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/)
"""

Expand Down
2 changes: 1 addition & 1 deletion markdown/extensions/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
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: [email protected]
License: BSD (see ../LICENSE.md for details)
Expand Down
2 changes: 1 addition & 1 deletion markdown/extensions/nl2br.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Dependencies:
* [Python 2.4+](http://python.org)
* [Markdown 2.1+](http://packages.python.org/Markdown/)
* [Markdown 2.1+](https://pythonhosted.org/Markdown/)
"""

Expand Down
2 changes: 1 addition & 1 deletion markdown/extensions/toc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
(c) 2008 [Jack Miller](http://codezen.org)
Dependencies:
* [Markdown 2.1+](http://packages.python.org/Markdown/)
* [Markdown 2.1+](https://pythonhosted.org/Markdown/)
"""

Expand Down
2 changes: 1 addition & 1 deletion markdown/extensions/wikilinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
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
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def has_docs(self):
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
=======
Expand All @@ -216,7 +216,7 @@ def has_docs(self):
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,
Expand All @@ -238,9 +238,9 @@ def has_docs(self):
'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',
Expand Down
10 changes: 5 additions & 5 deletions tests/misc/em-around-links.html
Original file line number Diff line number Diff line change
@@ -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>
10 changes: 5 additions & 5 deletions tests/misc/em-around-links.txt
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 9663654

Please sign in to comment.