Skip to content

Commit

Permalink
readthedocs.org -> readthedocs.io
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Apr 28, 2016
1 parent 2f9449e commit b1716d9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
30 changes: 15 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ python-chess: a pure Python chess library
.. image:: https://badge.fury.io/py/python-chess.svg
:target: https://pypi.python.org/pypi/python-chess

.. image:: https://readthedocs.org/projects/python-chess/badge/?version=latest
:target: https://python-chess.readthedocs.org/en/latest/
.. image:: https://readthedocs.io/projects/python-chess/badge/?version=latest
:target: https://python-chess.readthedocs.io/en/latest/

Introduction
------------
Expand Down Expand Up @@ -46,16 +46,16 @@ and handling of common formats. This is the scholars mate in python-chess:
Documentation
-------------

https://python-chess.readthedocs.org/en/latest/
https://python-chess.readthedocs.io/en/latest/


* `Core <https://python-chess.readthedocs.org/en/latest/core.html>`_
* `PGN parsing and writing <https://python-chess.readthedocs.org/en/latest/pgn.html>`_
* `Polyglot opening book reading <https://python-chess.readthedocs.org/en/latest/polyglot.html>`_
* `Gaviota endgame tablebase probing <https://python-chess.readthedocs.org/en/latest/gaviota.html>`_
* `Syzygy endgame tablebase probing <https://python-chess.readthedocs.org/en/latest/syzygy.html>`_
* `UCI engine communication <https://python-chess.readthedocs.org/en/latest/uci.html>`_
* `Changelog <https://python-chess.readthedocs.org/en/latest/changelog.html>`_
* `Core <https://python-chess.readthedocs.io/en/latest/core.html>`_
* `PGN parsing and writing <https://python-chess.readthedocs.io/en/latest/pgn.html>`_
* `Polyglot opening book reading <https://python-chess.readthedocs.io/en/latest/polyglot.html>`_
* `Gaviota endgame tablebase probing <https://python-chess.readthedocs.io/en/latest/gaviota.html>`_
* `Syzygy endgame tablebase probing <https://python-chess.readthedocs.io/en/latest/syzygy.html>`_
* `UCI engine communication <https://python-chess.readthedocs.io/en/latest/uci.html>`_
* `Changelog <https://python-chess.readthedocs.io/en/latest/changelog.html>`_

Features
--------
Expand Down Expand Up @@ -226,7 +226,7 @@ Features
True
* Read Polyglot opening books.
`Docs <https://python-chess.readthedocs.org/en/latest/polyglot.html>`__.
`Docs <https://python-chess.readthedocs.io/en/latest/polyglot.html>`__.

.. code:: python
Expand All @@ -247,7 +247,7 @@ Features
* Read and write PGNs. Supports headers, comments, NAGs and a tree of
variations.
`Docs <https://python-chess.readthedocs.org/en/latest/pgn.html>`__.
`Docs <https://python-chess.readthedocs.io/en/latest/pgn.html>`__.

.. code:: python
Expand Down Expand Up @@ -300,7 +300,7 @@ Features
'0-1'
* Probe Gaviota endgame tablebases (DTM, WDL).
`Docs <https://python-chess.readthedocs.org/en/latest/gaviota.html>`__.
`Docs <https://python-chess.readthedocs.io/en/latest/gaviota.html>`__.

.. code:: python
Expand All @@ -316,7 +316,7 @@ Features
>>> tablebases.close()
* Probe Syzygy endgame tablebases (DTZ, WDL).
`Docs <https://python-chess.readthedocs.org/en/latest/syzygy.html>`__.
`Docs <https://python-chess.readthedocs.io/en/latest/syzygy.html>`__.

.. code:: python
Expand All @@ -333,7 +333,7 @@ Features
>>> tablebases.close()
* Communicate with an UCI engine.
`Docs <https://python-chess.readthedocs.org/en/latest/uci.html>`__.
`Docs <https://python-chess.readthedocs.io/en/latest/uci.html>`__.

.. code:: python
Expand Down
4 changes: 2 additions & 2 deletions release.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ def pythonhosted(tagname):
zip_file.writestr("index.html", textwrap.dedent("""\
<html>
<head>
<meta http-equiv="refresh" content="0;url=http://python-chess.readthedocs.org/en/{0}/">
<meta http-equiv="refresh" content="0;url=http://python-chess.readthedocs.io/en/{0}/">
<script>
window.location.href = 'http://python-chess.readthedocs.org/en/{0}/';
window.location.href = 'http://python-chess.readthedocs.io/en/{0}/';
</script>
</head>
</html>""".format(tagname)))
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def read_description():

# Link to the documentation of the specific version.
description = description.replace(
"//python-chess.readthedocs.org/en/latest/",
"//python-chess.readthedocs.org/en/v{0}/".format(chess.__version__))
"//python-chess.readthedocs.io/en/latest/",
"//python-chess.readthedocs.io/en/v{0}/".format(chess.__version__))

# Use documentation badge for the specific version.
description = description.replace(
Expand Down

0 comments on commit b1716d9

Please sign in to comment.