Skip to content

Commit fe51dcf

Browse files
committed
docs: fix a lot of outdated links
1 parent e182398 commit fe51dcf

File tree

12 files changed

+45
-44
lines changed

12 files changed

+45
-44
lines changed

doc/examples_sphinx-gallery/cluster_contraction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
# %%
1414
# We begin by load the graph from file. The file containing this network can be
15-
# downloaded `here <http://www-personal.umich.edu/~mejn/netdata/>`_.
15+
# downloaded `here <https://www-personal.umich.edu/~mejn/netdata/>`_.
1616
g = ig.load("./lesmis/lesmis.gml")
1717

1818
# %%

doc/source/install.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Fourth, call ``pip`` to compile and install the package from source::
131131
$ pip install .
132132

133133
Alternatively, you can call ``build`` or another PEP 517-compliant build frontend
134-
to build an installable Python wheel. Here we use `pipx <https://pypa.github.io/pipx/>`_
134+
to build an installable Python wheel. Here we use `pipx <https://pipx.pypa.io>`_
135135
to invoke ``build`` in a separate virtualenv::
136136

137137
$ pipx run build
@@ -140,7 +140,7 @@ Testing your installation
140140
-------------------------
141141

142142
Use ``tox`` or another standard test runner tool to run all the unit tests.
143-
Here we use `pipx <https://pypa.github.io/pipx/>`_` to invoke ``tox``::
143+
Here we use `pipx <https://pipx.pypa.io>`_ to invoke ``tox``::
144144

145145
$ pipx run tox
146146

doc/source/visualisation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,6 @@ See the :ref:`tutorial <tutorial-layouts-plotting>` for examples and a full list
234234
.. _matplotlib: https://matplotlib.org
235235
.. _Jupyter: https://jupyter.org/
236236
.. _Cairo: https://www.cairographics.org
237-
.. _graphviz: http://www.graphviz.org
237+
.. _graphviz: https://www.graphviz.org
238238
.. _networkx: https://networkx.org/
239239
.. _graph-tool: https://graph-tool.skewed.de/

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ def get_tag(self):
953953
Graph plotting functionality is provided by the Cairo library, so make
954954
sure you install the Python bindings of Cairo if you want to generate
955955
publication-quality graph plots. You can try either `pycairo
956-
<http://cairographics.org/pycairo>`_ or `cairocffi <http://cairocffi.readthedocs.io>`_,
956+
<http://cairographics.org/pycairo>`_ or `cairocffi <https://doc.courtbouillon.org/cairocffi/>`_,
957957
``cairocffi`` is recommended because there were bug reports affecting igraph
958958
graph plots in Jupyter notebooks when using ``pycairo`` (but not with
959959
``cairocffi``).
@@ -983,7 +983,7 @@ def get_tag(self):
983983
"Bug Tracker": "https://github.com/igraph/python-igraph/issues",
984984
"Changelog": "https://github.com/igraph/python-igraph/blob/main/CHANGELOG.md",
985985
"CI": "https://github.com/igraph/python-igraph/actions",
986-
"Documentation": "https://igraph.readthedocs.io",
986+
"Documentation": "https://python.igraph.org",
987987
"Source Code": "https://github.com/igraph/python-igraph",
988988
},
989989
"ext_modules": [igraph_extension],

src/_igraph/graphobject.c

+15-14
Original file line numberDiff line numberDiff line change
@@ -14530,7 +14530,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1453014530
"the number of vertices in the graph, a list of shifts giving\n"
1453114531
"additional edges to a cycle backbone and another integer giving how\n"
1453214532
"many times the shifts should be performed. See\n"
14533-
"U{http://mathworld.wolfram.com/LCFNotation.html} for details.\n\n"
14533+
"U{https://mathworld.wolfram.com/LCFNotation.html} for details.\n\n"
1453414534
"@param n: the number of vertices\n"
1453514535
"@param shifts: the shifts in a list or tuple\n"
1453614536
"@param repeats: the number of repeats\n"
@@ -16222,7 +16222,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1622216222
" small-world networks. I{Nature} 393(6884):440-442, 1998.\n"
1622316223
" - Barrat A, Barthelemy M, Pastor-Satorras R and Vespignani A:\n"
1622416224
" The architecture of complex weighted networks. I{PNAS} 101, 3747 (2004).\n"
16225-
" U{http://arxiv.org/abs/cond-mat/0311416}.\n\n"
16225+
" U{https://arxiv.org/abs/cond-mat/0311416}.\n\n"
1622616226
"@param vertices: a list containing the vertex IDs which should be\n"
1622716227
" included in the result. C{None} means all of the vertices.\n"
1622816228
"@param mode: defines how to treat vertices with degree less than two.\n"
@@ -16820,7 +16820,8 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1682016820
"forces among the vertices and then the physical system is simulated\n"
1682116821
"until it reaches an equilibrium or the maximal number of iterations is\n"
1682216822
"reached.\n\n"
16823-
"See U{http://www.schmuhl.org/graphopt/} for the original graphopt.\n\n"
16823+
"See U{https://web.archive.org/web/20220611030748/http://www.schmuhl.org/graphopt/}\n"
16824+
"and U{https://sourceforge.net/projects/graphopt/} for the original graphopt.\n\n"
1682416825
"@param niter: the number of iterations to perform. Should be a couple\n"
1682516826
" of hundred in general.\n\n"
1682616827
"@param node_charge: the charge of the vertices, used to calculate electric\n"
@@ -17135,7 +17136,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1713517136
"Read_DIMACS(f, directed=False)\n--\n\n"
1713617137
"Reads a graph from a file conforming to the DIMACS minimum-cost flow file format.\n\n"
1713717138
"For the exact description of the format, see\n"
17138-
"U{http://lpsolve.sourceforge.net/5.5/DIMACS.htm}\n\n"
17139+
"U{https://lpsolve.sourceforge.net/5.5/DIMACS.htm}\n\n"
1713917140
"Restrictions compared to the official description of the format:\n\n"
1714017141
" - igraph's DIMACS reader requires only three fields in an arc definition,\n"
1714117142
" describing the edge's source and target node and its capacity.\n"
@@ -17171,7 +17172,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1717117172
"Read_GraphDB(f, directed=False)\n--\n\n"
1717217173
"Reads a GraphDB format file and creates a graph based on it.\n\n"
1717317174
"GraphDB is a binary format, used in the graph database for\n"
17174-
"isomorphism testing (see U{http://amalfi.dis.unina.it/graph/}).\n\n"
17175+
"isomorphism testing (see U{https://mivia.unisa.it/datasets/graph-database/arg-database/}).\n\n"
1717517176
"@param f: the name of the file or a Python file handle\n"
1717617177
"@param directed: whether the generated graph should be directed.\n"},
1717717178
/* interface to igraph_read_graph_graphml */
@@ -17394,7 +17395,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1739417395
"algorithm.\n\n"
1739517396
"Passing the permutation returned here to L{permute_vertices()} will\n"
1739617397
"transform the graph into its canonical form.\n\n"
17397-
"See U{http://www.tcs.hut.fi/Software/bliss/index.html} for more information\n"
17398+
"See U{https://users.aalto.fi/~tjunttil/bliss/} for more information\n"
1739817399
"about the BLISS algorithm and canonical permutations.\n\n"
1739917400
"@param sh: splitting heuristics for graph as a case-insensitive string,\n"
1740017401
" with the following possible values:\n\n"
@@ -17420,7 +17421,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1742017421
"count_automorphisms(sh=\"fl\", color=None)\n--\n\n"
1742117422
"Calculates the number of automorphisms of a graph using the BLISS isomorphism\n"
1742217423
"algorithm.\n\n"
17423-
"See U{http://www.tcs.hut.fi/Software/bliss/index.html} for more information\n"
17424+
"See U{https://users.aalto.fi/~tjunttil/bliss/} for more information\n"
1742417425
"about the BLISS algorithm and canonical permutations.\n\n"
1742517426
"@param sh: splitting heuristics for graph as a case-insensitive string,\n"
1742617427
" with the following possible values:\n\n"
@@ -17471,7 +17472,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1747117472
" sh1=\"fl\", sh2=None, color1=None, color2=None)\n--\n\n"
1747217473
"Checks whether the graph is isomorphic to another graph, using the\n"
1747317474
"BLISS isomorphism algorithm.\n\n"
17474-
"See U{http://www.tcs.hut.fi/Software/bliss/index.html} for more information\n"
17475+
"See U{https://users.aalto.fi/~tjunttil/bliss/} for more information\n"
1747517476
"about the BLISS algorithm.\n\n"
1747617477
"@param other: the other graph with which we want to compare the graph.\n"
1747717478
"@param color1: optional vector storing the coloring of the vertices of\n"
@@ -18264,15 +18265,15 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1826418265
"community_infomap(edge_weights=None, vertex_weights=None, trials=10)\n--\n\n"
1826518266
"Finds the community structure of the network according to the Infomap\n"
1826618267
"method of Martin Rosvall and Carl T. Bergstrom.\n\n"
18267-
"See U{http://www.mapequation.org} for a visualization of the algorithm\n"
18268+
"See U{https://www.mapequation.org} for a visualization of the algorithm\n"
1826818269
"or one of the references provided below.\n"
1826918270
"B{References}\n"
1827018271
" - M. Rosvall and C. T. Bergstrom: I{Maps of information flow reveal\n"
1827118272
" community structure in complex networks}. PNAS 105, 1118 (2008).\n"
18272-
" U{http://arxiv.org/abs/0707.0609}\n"
18273+
" U{https://arxiv.org/abs/0707.0609}\n"
1827318274
" - M. Rosvall, D. Axelsson and C. T. Bergstrom: I{The map equation}.\n"
1827418275
" I{Eur Phys J Special Topics} 178, 13 (2009).\n"
18275-
" U{http://arxiv.org/abs/0906.1405}\n"
18276+
" U{https://arxiv.org/abs/0906.1405}\n"
1827618277
"\n"
1827718278
"@param edge_weights: name of an edge attribute or a list containing\n"
1827818279
" edge weights.\n"
@@ -18301,7 +18302,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1830118302
"B{Reference}: Raghavan, U.N. and Albert, R. and Kumara, S. Near linear\n"
1830218303
"time algorithm to detect community structures in large-scale\n"
1830318304
"networks. I{Phys Rev E} 76:036106, 2007.\n"
18304-
"U{http://arxiv.org/abs/0709.2938}.\n"
18305+
"U{https://arxiv.org/abs/0709.2938}.\n"
1830518306
"\n"
1830618307
"@param weights: name of an edge attribute or a list containing\n"
1830718308
" edge weights\n"
@@ -18356,7 +18357,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1835618357
"\n"
1835718358
"B{Reference}: VD Blondel, J-L Guillaume, R Lambiotte and E Lefebvre: Fast\n"
1835818359
"unfolding of community hierarchies in large networks. J Stat Mech\n"
18359-
"P10008 (2008), U{http://arxiv.org/abs/0803.0476}\n"
18360+
"P10008 (2008), U{https://arxiv.org/abs/0803.0476}\n"
1836018361
"\n"
1836118362
"Attention: this function is wrapped in a more convenient syntax in the\n"
1836218363
"derived class L{Graph}. It is advised to use that instead of this version.\n\n"
@@ -18495,7 +18496,7 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1849518496
"Attention: this function is wrapped in a more convenient syntax in the\n"
1849618497
"derived class L{Graph}. It is advised to use that instead of this version.\n\n"
1849718498
"B{Reference}: Pascal Pons, Matthieu Latapy: Computing communities in large\n"
18498-
"networks using random walks, U{http://arxiv.org/abs/physics/0512106}.\n\n"
18499+
"networks using random walks, U{https://arxiv.org/abs/physics/0512106}.\n\n"
1849918500
"@param weights: name of an edge attribute or a list containing\n"
1850018501
" edge weights\n"
1850118502
"@return: a tuple with the list of merges and the modularity scores corresponding\n"

src/igraph/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ def transitivity_avglocal_undirected(self, mode="nan", weights=None):
860860
networks. I{Nature} 393(6884):440-442, 1998.
861861
- Barrat A, Barthelemy M, Pastor-Satorras R and Vespignani A:
862862
The architecture of complex weighted networks. I{PNAS} 101, 3747
863-
(2004). U{http://arxiv.org/abs/cond-mat/0311416}.
863+
(2004). U{https://arxiv.org/abs/cond-mat/0311416}.
864864
865865
@param mode: defines how to treat vertices with degree less than two.
866866
If C{TRANSITIVITY_ZERO} or C{"zero"}, these vertices will have zero

src/igraph/community.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ def _community_infomap(graph, edge_weights=None, vertex_weights=None, trials=10)
3737
3838
- M. Rosvall and C. T. Bergstrom: Maps of information flow reveal
3939
community structure in complex networks, I{PNAS} 105, 1118 (2008).
40-
U{http://dx.doi.org/10.1073/pnas.0706851105},
41-
U{http://arxiv.org/abs/0707.0609}.
40+
U{https://doi.org/10.1073/pnas.0706851105},
41+
U{https://arxiv.org/abs/0707.0609}.
4242
- M. Rosvall, D. Axelsson, and C. T. Bergstrom: The map equation,
4343
I{Eur Phys. J Special Topics} 178, 13 (2009).
44-
U{http://dx.doi.org/10.1140/epjst/e2010-01179-1},
45-
U{http://arxiv.org/abs/0906.1405}.
44+
U{https://doi.org/10.1140/epjst/e2010-01179-1},
45+
U{https://arxiv.org/abs/0906.1405}.
4646
4747
@param edge_weights: name of an edge attribute or a list containing
4848
edge weights.
@@ -125,7 +125,7 @@ def _community_label_propagation(graph, weights=None, initial=None, fixed=None):
125125
126126
B{Reference}: Raghavan, U.N. and Albert, R. and Kumara, S. Near linear
127127
time algorithm to detect community structures in large-scale networks.
128-
I{Phys Rev} E 76:036106, 2007. U{http://arxiv.org/abs/0709.2938}.
128+
I{Phys Rev} E 76:036106, 2007. U{https://arxiv.org/abs/0709.2938}.
129129
130130
@param weights: name of an edge attribute or a list containing
131131
edge weights
@@ -165,7 +165,7 @@ def _community_multilevel(graph, weights=None, return_levels=False, resolution=1
165165
166166
B{Reference}: VD Blondel, J-L Guillaume, R Lambiotte and E Lefebvre: Fast
167167
unfolding of community hierarchies in large networks, I{J Stat Mech}
168-
P10008 (2008). U{http://arxiv.org/abs/0803.0476}
168+
P10008 (2008). U{https://arxiv.org/abs/0803.0476}
169169
170170
@param weights: edge attribute name or a list containing edge
171171
weights
@@ -271,11 +271,11 @@ def _community_spinglass(graph, *args, **kwds):
271271
272272
- Reichardt J and Bornholdt S: Statistical mechanics of community
273273
detection. I{Phys Rev E} 74:016110 (2006).
274-
U{http://arxiv.org/abs/cond-mat/0603718}.
274+
U{https://arxiv.org/abs/cond-mat/0603718}.
275275
276276
- Traag VA and Bruggeman J: Community detection in networks
277277
with positive and negative links. I{Phys Rev E} 80:036115 (2009).
278-
U{http://arxiv.org/abs/0811.2329}.
278+
U{https://arxiv.org/abs/0811.2329}.
279279
280280
@keyword weights: edge weights to be used. Can be a sequence or
281281
iterable or even an edge attribute name.
@@ -329,7 +329,7 @@ def _community_walktrap(graph, weights=None, steps=4):
329329
as a dendrogram.
330330
331331
B{Reference}: Pascal Pons, Matthieu Latapy: Computing communities in large
332-
networks using random walks, U{http://arxiv.org/abs/physics/0512106}.
332+
networks using random walks, U{https://arxiv.org/abs/physics/0512106}.
333333
334334
@param weights: name of an edge attribute or a list containing
335335
edge weights

src/igraph/drawing/__init__.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
It also has experimental support for plotly.
66
77
The Cairo backend is dependent on the C{pycairo} or C{cairocffi} libraries that
8-
provide Python bindings to the popular U{Cairo library<http://www.cairographics.org>}.
9-
This means that if you don't have U{pycairo<http://www.cairographics.org/pycairo>}
10-
or U{cairocffi<http://cairocffi.readthedocs.io>} installed, you won't be able
8+
provide Python bindings to the popular U{Cairo library<https://www.cairographics.org>}.
9+
This means that if you don't have U{pycairo<https://pycairo.readthedocs.io/>}
10+
or U{cairocffi<https://doc.courtbouillon.org/cairocffi/>} installed, you won't be able
1111
to use the Cairo plotting backend. Whenever the documentation refers to the
1212
C{pycairo} library, you can safely replace it with C{cairocffi} as the two are
1313
API-compatible.
@@ -21,8 +21,8 @@
2121
2222
If you do not want to (or cannot) install any of the dependencies outlined
2323
above, you can still save the graph to an SVG file and view it from
24-
U{Mozilla Firefox<http://www.mozilla.org/firefox>} (free) or edit it in
25-
U{Inkscape<http://www.inkscape.org>} (free), U{Skencil<http://www.skencil.org>}
24+
U{Mozilla Firefox<https://www.mozilla.org/firefox>} (free) or edit it in
25+
U{Inkscape<https://www.inkscape.org>} (free), U{Skencil<https://www.skencil.org>}
2626
(formerly known as Sketch, also free) or Adobe Illustrator.
2727
"""
2828

src/igraph/drawing/cairo/plot.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The Cairo backend is dependent on the C{pycairo} or C{cairocffi} libraries that
77
provide Python bindings to the popular U{Cairo library<http://www.cairographics.org>}.
88
This means that if you don't have U{pycairo<http://www.cairographics.org/pycairo>}
9-
or U{cairocffi<http://cairocffi.readthedocs.io>} installed, you won't be able
9+
or U{cairocffi<https://doc.courtbouillon.org/cairocffi/>} installed, you won't be able
1010
to use the Cairo plotting backend. Whenever the documentation refers to the
1111
C{pycairo} library, you can safely replace it with C{cairocffi} as the two are
1212
API-compatible.
@@ -17,8 +17,8 @@
1717
1818
If you do not want to (or cannot) install any of the dependencies outlined
1919
above, you can still save the graph to an SVG file and view it from
20-
U{Mozilla Firefox<http://www.mozilla.org/firefox>} (free) or edit it in
21-
U{Inkscape<http://www.inkscape.org>} (free), U{Skencil<http://www.skencil.org>}
20+
U{Mozilla Firefox<https://www.mozilla.org/firefox>} (free) or edit it in
21+
U{Inkscape<https://www.inkscape.org>} (free), U{Skencil<https://www.skencil.org>}
2222
(formerly known as Sketch, also free) or Adobe Illustrator.
2323
"""
2424

src/igraph/drawing/graph.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
- Matplotlib axes (L{MatplotlibGraphDrawer})
88
99
It also contains routines to send an igraph graph directly to
10-
(U{Cytoscape<http://www.cytoscape.org>}) using the
11-
(U{CytoscapeRPC plugin<http://gforge.nbic.nl/projects/cytoscaperpc/>}), see
10+
(U{Cytoscape<https://cytoscape.org>}) using the
11+
(U{CytoscapeRPC plugin<https://apps.cytoscape.org/apps/cytoscaperpc>}), see
1212
L{CytoscapeGraphDrawer}. L{CytoscapeGraphDrawer} can also fetch the current
1313
network from Cytoscape and convert it to igraph format.
1414
"""
@@ -24,8 +24,8 @@ class CytoscapeGraphDrawer(AbstractXMLRPCDrawer, AbstractGraphDrawer):
2424
"""Graph drawer that sends/receives graphs to/from Cytoscape using
2525
CytoscapeRPC.
2626
27-
This graph drawer cooperates with U{Cytoscape<http://www.cytoscape.org>}
28-
using U{CytoscapeRPC<http://wiki.nbic.nl/index.php/CytoscapeRPC>}.
27+
This graph drawer cooperates with U{Cytoscape<https://cytoscape.org>}
28+
using U{CytoscapeRPC<https://apps.cytoscape.org/apps/cytoscaperpc>}.
2929
You need to install the CytoscapeRPC plugin first and start the
3030
XML-RPC server on a given port (port 9000 by default) from the
3131
appropriate Plugins submenu in Cytoscape.

src/igraph/io/images.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def _write_graph_to_svg(
149149

150150
print('<?xml version="1.0" encoding="UTF-8" standalone="no"?>', file=f)
151151
print(
152-
"<!-- Created by igraph (http://igraph.org/) -->",
152+
"<!-- Created by igraph (https://igraph.org/) -->",
153153
file=f,
154154
)
155155
print(file=f)

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Tox (http://tox.testrun.org/) is a tool for running tests
1+
# Tox (https://tox.wiki) is a tool for running tests
22
# in multiple virtualenvs. This configuration file will run the
33
# test suite on all supported python versions. To use it, "pip install tox"
44
# and then run "tox" from this directory.

0 commit comments

Comments
 (0)