Skip to content

Commit 95f63dc

Browse files
committed
Modernise URLs in documentation
Mostly http -> https, and pypi.python.org -> pypi.org
1 parent fbdc883 commit 95f63dc

File tree

12 files changed

+41
-41
lines changed

12 files changed

+41
-41
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ the Smart Game Format (SGF).
88

99
Full documentation and contact information is available from the `home page`__.
1010

11-
.. __: http://mjw.woodcraft.me.uk/gomill/
11+
.. __: https://mjw.woodcraft.me.uk/gomill/
1212

1313

1414
Requirements
@@ -40,9 +40,9 @@ Requirements:
4040
- LaTeX__
4141
- dvipng__
4242

43-
.. __: http://sphinx.pocoo.org/
44-
.. __: http://www.latex-project.org/
45-
.. __: http://www.nongnu.org/dvipng/
43+
.. __: https://www.sphinx-doc.org/
44+
.. __: https://www.latex-project.org/
45+
.. __: https://www.nongnu.org/dvipng/
4646

4747

4848
Running the tests

gomill_docs/cem_tuner.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ The arguments are:
316316
should be safe to use for all types of value. See `string formatting
317317
operations`__ for details.
318318

319-
.. __: http://docs.python.org/release/2.7/library/stdtypes.html#string-formatting-operations
319+
.. __: https://docs.python.org/release/2.7/library/stdtypes.html#string-formatting-operations
320320

321321
Format strings should be kept short, as screen space is limited.
322322

gomill_docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
todo_include_todos = True
6363

64-
intersphinx_mapping = {'python': ('http://docs.python.org/2.7',
64+
intersphinx_mapping = {'python': ('https://docs.python.org/2.7',
6565
'python-inv.txt')}
6666

6767

gomill_docs/contact.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Contact
22
=======
33

4-
Gomill's home page is http://mjw.woodcraft.me.uk/gomill/.
4+
Gomill's home page is https://mjw.woodcraft.me.uk/gomill/.
55

66
Updated versions will be made available for download from that site, as well
77
as the `Python package index`__.
88

9-
.. __: https://pypi.python.org/pypi/gomill/
9+
.. __: https://pypi.org/project/gomill/
1010

1111
I'm happy to receive any bug reports, suggestions, patches, questions and so
1212

gomill_docs/example_scripts.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ scripts.
7272
records including the engine's commentary, if the engine supports
7373
:gtp:`gomill-savesgf`.
7474

75-
.. _`kgsGtp`: http://senseis.xmp.net/?KgsGtp
75+
.. _`kgsGtp`: https://senseis.xmp.net/?KgsGtp
7676

7777
This demonstrates the :mod:`!gtp_proxy` module, and may be independently
7878
useful.
@@ -84,7 +84,7 @@ scripts.
8484
Mogo with a |gtp| controller (eg `Quarry`_) which doesn't get on with Mogo's
8585
|gtp| implementation.
8686

87-
.. _`Mogo`: http://www.lri.fr/~teytaud/mogo.html
87+
.. _`Mogo`: https://www.lri.fr/~teytaud/mogo.html
8888
.. _`Quarry`: http://home.gna.org/quarry/
8989

9090
This demonstrates the :mod:`!gtp_proxy` module, and may be independently
@@ -95,7 +95,7 @@ scripts.
9595

9696
An experimental script for using Gomill as a back end for Rémi Coulom's CLOP
9797
optimisation system. It has been tested with ``CLOP-0.0.8``, which can be
98-
downloaded from http://remi.coulom.free.fr/CLOP/ .
98+
downloaded from https://remi.coulom.free.fr/CLOP/ .
9999

100100
To use it, write a control file based on :file:`clop_example.ctl` in the
101101
:file:`gomill_examples/` directory, and run ::

gomill_docs/glossary.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Glossary
88

99
A communication protocol used to control Go-playing programs. Gomill
1010
uses only GTP version 2, which is specified at
11-
http://www.lysator.liu.se/~gunnar/gtp/gtp2-spec-draft2/gtp2-spec.html.
11+
https://www.lysator.liu.se/~gunnar/gtp/gtp2-spec-draft2/gtp2-spec.html.
1212

1313
(As of April 2017, the specification describes itself as a draft, but it
1414
has remained stable for several years and is widely implemented.)
@@ -20,7 +20,7 @@ Glossary
2020
A text-based file format used for storing Go game records.
2121

2222
Gomill uses version FF[4], which is specified at
23-
http://www.red-bean.com/sgf/index.html.
23+
https://www.red-bean.com/sgf/index.html.
2424

2525

2626
jigo
@@ -97,7 +97,7 @@ Glossary
9797
value is initially unknown, trading off time spent on the action with the
9898
best estimated value against time spent evaluating other actions.
9999

100-
See http://en.wikipedia.org/wiki/Multi-armed_bandit
100+
See https://en.wikipedia.org/wiki/Multi-armed_bandit
101101

102102

103103
UCB
@@ -112,5 +112,5 @@ Glossary
112112
A variant of UCB for bandit problems in which the actions are arranged in
113113
the form of a tree.
114114

115-
See http://senseis.xmp.net/?UCT.
115+
See https://senseis.xmp.net/?UCT.
116116

gomill_docs/install.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gomill requires Python 2.5, 2.6, or 2.7.
1414
For Python 2.5 only, the :option:`--parallel <ringmaster --parallel>` feature
1515
requires the external `multiprocessing`__ package.
1616

17-
.. __: http://pypi.python.org/pypi/multiprocessing
17+
.. __: https://pypi.org/pypi/multiprocessing
1818

1919
Gomill is intended to run on any modern Unix-like system.
2020

@@ -46,13 +46,13 @@ Downloading sources and documentation
4646
-------------------------------------
4747

4848
The source distribution can be downloaded from the `Python Package index`__,
49-
or from http://mjw.woodcraft.me.uk/gomill/, as a file named
49+
or from https://mjw.woodcraft.me.uk/gomill/, as a file named
5050
:file:`gomill-{version}.tar.gz`.
5151

52-
.. __: https://pypi.python.org/pypi/gomill
52+
.. __: https://pypi.org/project/gomill/
5353

5454
This documentation is distributed separately in html form at
55-
http://mjw.woodcraft.me.uk/gomill/ as :file:`gomill-doc-{version}.tar.gz`.
55+
https://mjw.woodcraft.me.uk/gomill/ as :file:`gomill-doc-{version}.tar.gz`.
5656

5757
The version-control history is available at
5858
https://github.com/mattheww/gomill.
@@ -80,7 +80,7 @@ Installing from the source distribution
8080
:file:`~/.local/bin`.)
8181

8282
Pass :option:`!--dry-run` to see what these will do. See
83-
http://docs.python.org/2.7/install/ for more information.
83+
https://docs.python.org/2.7/install/ for more information.
8484

8585
To remove a version of Gomill installed in this way, run ::
8686

@@ -120,7 +120,7 @@ the distribution directory and run ::
120120
With Python versions earlier than 2.7, the unittest2__ library is required
121121
to run the testsuite.
122122

123-
.. __: http://pypi.python.org/pypi/unittest2/
123+
.. __: https://pypi.org/project/unittest2/
124124

125125

126126
.. _running the example scripts:
@@ -156,7 +156,7 @@ Requirements:
156156
- LaTeX__
157157
- dvipng__
158158

159-
.. __: http://sphinx.pocoo.org/
160-
.. __: http://www.latex-project.org/
161-
.. __: http://www.nongnu.org/dvipng/
159+
.. __: https://www.sphinx-doc.org/
160+
.. __: https://www.latex-project.org/
161+
.. __: https://www.nongnu.org/dvipng/
162162

gomill_docs/mcts_tuner.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ The arguments are:
420420
should be safe to use for all types of value. See `string formatting
421421
operations`__ for details.
422422

423-
.. __: http://docs.python.org/release/2.7/library/stdtypes.html#string-formatting-operations
423+
.. __: https://docs.python.org/release/2.7/library/stdtypes.html#string-formatting-operations
424424

425425
Format strings should be kept short, as screen space is limited.
426426

gomill_docs/settings.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The control file is a plain text configuration file.
7272
It is interpreted in the same way as a Python source file. See the
7373
:ref:`sample control file` above for an example of the syntax.
7474

75-
.. __: http://docs.python.org/release/2.7/reference/index.html
75+
.. __: https://docs.python.org/release/2.7/reference/index.html
7676

7777
The control file is made up of a series of top-level :dfn:`settings`, in the
7878
form of assignment statements: :samp:`{setting_name} = {value}`.
@@ -452,7 +452,7 @@ particular competition type for details.
452452

453453
This is ignored if :setting:`handicap` is unset.
454454

455-
.. _GTP specification: http://www.lysator.liu.se/~gunnar/gtp/gtp2-spec-draft2/gtp2-spec.html#SECTION00051000000000000000
455+
.. _GTP specification: https://www.lysator.liu.se/~gunnar/gtp/gtp2-spec-draft2/gtp2-spec.html#SECTION00051000000000000000
456456

457457

458458

gomill_docs/sgf.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SGF support
77
.. versionadded:: 0.7
88

99
Gomill's |sgf| support is intended for use with version FF[4], which is
10-
specified at http://www.red-bean.com/sgf/index.html. It has support for the
10+
specified at https://www.red-bean.com/sgf/index.html. It has support for the
1111
game-specific properties for Go, but not those of other games. Point, Move and
1212
Stone values are interpreted as Go points.
1313

@@ -329,7 +329,7 @@ value false. For example, to find all leaf nodes::
329329
else:
330330
print "--"
331331

332-
.. __: http://docs.python.org/release/2.7/library/stdtypes.html#mutable-sequence-types
332+
.. __: https://docs.python.org/release/2.7/library/stdtypes.html#mutable-sequence-types
333333

334334

335335
.. rubric:: Property access
@@ -800,7 +800,7 @@ represented using the names or aliases of Python built-in codecs (eg
800800
``"UTF-8"`` or ``"ISO-8859-1"``). See `standard encodings`__ for a list.
801801
Values of the ``CA`` property are interpreted in the same way.
802802

803-
.. __: http://docs.python.org/release/2.7/library/codecs.html#standard-encodings
803+
.. __: https://docs.python.org/release/2.7/library/codecs.html#standard-encodings
804804

805805
Each :class:`.Sgf_game` and :class:`.Tree_node` has a fixed :dfn:`raw property
806806
encoding`, which is the encoding used internally to store the property values.

0 commit comments

Comments
 (0)