diff options
author | Jarrod Millman <jarrod.millman@gmail.com> | 2020-10-25 13:10:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 13:10:00 -0700 |
commit | 6a3d6ee0ee7a894035dcf356b8a839de97ff026c (patch) | |
tree | b2209b3185e28c63a6d40be006f07871b059b92a | |
parent | 9f15437e56315a2e8241f55d1c185504cd0a6e44 (diff) | |
download | networkx-6a3d6ee0ee7a894035dcf356b8a839de97ff026c.tar.gz |
Update homepage URL (#4285)
* Update homepage URL
* Using Ross's suggestion from PR #4258
* Use https
* Fix NXEP link
-rw-r--r-- | .github/PULL_REQUEST_TEMPLATE.md | 4 | ||||
-rw-r--r-- | CONTRIBUTING.rst | 4 | ||||
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | doc/Makefile | 4 | ||||
-rw-r--r-- | doc/README.md | 2 | ||||
-rw-r--r-- | doc/_templates/dev_banner.html | 2 | ||||
-rw-r--r-- | doc/_templates/eol_banner.html | 2 | ||||
-rw-r--r-- | doc/_templates/layout.html | 2 | ||||
-rw-r--r-- | doc/conf.py | 4 | ||||
-rw-r--r-- | doc/developer/gitwash/this_project.inc | 4 | ||||
-rw-r--r-- | doc/developer/nxeps/nxep-0000.rst | 4 | ||||
-rw-r--r-- | doc/news.rst | 10 | ||||
-rw-r--r-- | doc/release/release_2.0.rst | 6 | ||||
-rw-r--r-- | doc/release/release_2.1.rst | 4 | ||||
-rw-r--r-- | doc/release/release_2.2.rst | 4 | ||||
-rw-r--r-- | doc/release/release_2.3.rst | 4 | ||||
-rw-r--r-- | doc/release/release_2.4.rst | 4 | ||||
-rw-r--r-- | doc/release/release_2.5.rst | 4 | ||||
-rw-r--r-- | doc/release/release_dev.rst | 4 | ||||
-rw-r--r-- | doc/release/release_template.rst | 4 | ||||
-rw-r--r-- | examples/pygraphviz/plot_write_dotfile.py | 2 | ||||
-rw-r--r-- | networkx/__init__.py | 2 | ||||
-rw-r--r-- | networkx/drawing/nx_pylab.py | 12 | ||||
-rw-r--r-- | networkx/release.py | 4 |
24 files changed, 48 insertions, 50 deletions
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 150ea44d..bcc8cfd4 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,4 @@ <!-- Please run black to format your code. - -For more information, see: -- https://networkx.github.io/documentation/latest/developer/contribute.html +See https://networkx.org/documentation/latest/developer/contribute.html for details. --> diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 96b7ae93..31dbf844 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -117,7 +117,7 @@ Development Workflow For a more detailed discussion, read these :doc:`detailed documents <gitwash/index>` on how to use Git with ``networkx`` -(`<https://networkx.github.io/documentation/latest/developer/gitwash/index.html>`_). +(`<https://networkx.org/documentation/latest/developer/gitwash/index.html>`_). 5. Review process: @@ -214,7 +214,7 @@ Once you've fixed all merge conflicts, do:: .. note:: Advanced Git users are encouraged to `rebase instead of merge - <https://networkx.github.io/documentation/stable/developer/gitwash/development_workflow.html#rebase-on-trunk>`__, + <https://networkx.org/documentation/stable/developer/gitwash/development_workflow.html#rebase-on-trunk>`__, but we squash and merge most PRs either way. @@ -23,7 +23,7 @@ NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -- **Website (including documentation):** https://networkx.github.io +- **Website (including documentation):** https://networkx.org - **Mailing list:** https://groups.google.com/forum/#!forum/networkx-discuss - **Source:** https://github.com/networkx/networkx - **Bug reports:** https://github.com/networkx/networkx/issues diff --git a/doc/Makefile b/doc/Makefile index 73a8b210..6cc32525 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -116,6 +116,6 @@ docs: clean html latexpdf gitwash-update: python ../tools/gitwash_dumper.py developer networkx \ - --project-url=http://networkx.github.io \ - --project-ml-url=http://groups.google.com/group/networkx-discuss/ \ + --project-url=https://networkx.org \ + --project-ml-url=https://groups.google.com/group/networkx-discuss/ \ --gitwash-url git@github.com:matthew-brett/gitwash.git diff --git a/doc/README.md b/doc/README.md index d463e2a6..481f2674 100644 --- a/doc/README.md +++ b/doc/README.md @@ -4,7 +4,7 @@ We use Sphinx for generating the API and reference documentation. Pre-built versions can be found at - http://networkx.github.io/ + https://networkx.org/ for both the stable and the latest (i.e., development) releases. diff --git a/doc/_templates/dev_banner.html b/doc/_templates/dev_banner.html index e4447548..f786fdfd 100644 --- a/doc/_templates/dev_banner.html +++ b/doc/_templates/dev_banner.html @@ -1,6 +1,6 @@ {# Creates a banner at the top of the page for development versions. #} <div class="admonition note"> <p class="admonition-title">Note</p> - <p>This documents the development version of NetworkX. Documentation for the current release can be found <a href="https://networkx.github.io/documentation/stable/">here</a>.</p> + <p>This documents the development version of NetworkX. Documentation for the current release can be found <a href="https://networkx.org/documentation/stable/">here</a>.</p> </div> diff --git a/doc/_templates/eol_banner.html b/doc/_templates/eol_banner.html index 3944a216..7f607cc8 100644 --- a/doc/_templates/eol_banner.html +++ b/doc/_templates/eol_banner.html @@ -1,6 +1,6 @@ {# Creates a banner at the top of the page for EOL versions. #} <div class="admonition note"> <p class="admonition-title">Note</p> - <p>This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see <a href="https://networkx.github.io/documentation/stable/">the current NetworkX documentation</a>.</p> + <p>This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see <a href="https://networkx.org/documentation/stable/">the current NetworkX documentation</a>.</p> </div> diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index ee1da108..47c083c6 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -1,6 +1,6 @@ {% extends "!layout.html" %} {% block sidebartitle %} - <a href="https://networkx.github.io/">Project Homepage</a> | + <a href="https://networkx.org/">Project Homepage</a> | <a href="https://github.com/networkx/networkx">Source Code</a> {{ super() }} {% endblock %} diff --git a/doc/conf.py b/doc/conf.py index 725e3cd7..19d26283 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -123,7 +123,7 @@ html_theme = "sphinx_rtd_theme" html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] html_theme_options = { - "canonical_url": "https://networkx.github.io/documentation/stable/", + "canonical_url": "https://networkx.org/documentation/stable/", "navigation_depth": 3, "logo_only": True, } @@ -161,7 +161,7 @@ html_last_updated_fmt = "%b %d, %Y" # If true, the reST sources are included in the HTML build as _sources/<name>. html_copy_source = False -html_use_opensearch = "http://networkx.github.io" +html_use_opensearch = "https://networkx.org" # Output file base name for HTML help builder. htmlhelp_basename = "NetworkX" diff --git a/doc/developer/gitwash/this_project.inc b/doc/developer/gitwash/this_project.inc index b05d15f5..f1c18e73 100644 --- a/doc/developer/gitwash/this_project.inc +++ b/doc/developer/gitwash/this_project.inc @@ -1,5 +1,5 @@ .. networkx -.. _`networkx`: http://networkx.github.io +.. _`networkx`: https://networkx.org .. _`networkx github`: https://github.com/networkx/networkx -.. _`networkx mailing list`: http://groups.google.com/group/networkx-discuss/ +.. _`networkx mailing list`: https://groups.google.com/group/networkx-discuss/ diff --git a/doc/developer/nxeps/nxep-0000.rst b/doc/developer/nxeps/nxep-0000.rst index 3ebda92a..434afb22 100644 --- a/doc/developer/nxeps/nxep-0000.rst +++ b/doc/developer/nxeps/nxep-0000.rst @@ -266,11 +266,11 @@ References and Footnotes `GitHub <https://github.com/networkx/networkx/tree/master/doc/nxeps>`_. .. [2] The URL for viewing NXEPs on the web is - https://networkx.github.io/nxeps/. + https://networkx.org/documentation/latest/developer/nxeps/index.html .. _repo: https://github.com/networkx/networkx -.. _mailing list: http://groups.google.com/group/networkx-discuss/ +.. _mailing list: https://groups.google.com/group/networkx-discuss/ .. _issue tracker: https://github.com/networkx/networkx/issues diff --git a/doc/news.rst b/doc/news.rst index 0abbc8a5..f8955e06 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -487,10 +487,10 @@ Adding nodes Examples ~~~~~~~~ - - `Mayvi2 drawing <https://networkx.github.io/documentation/latest/auto_examples/3d_drawing/mayavi2_spring.html>`_ - - `Blockmodel <https://networkx.github.io/documentation/latest/auto_examples/algorithms/plot_blockmodel.html>`_ - - `Sampson's monastery <https://networkx.github.io/documentation/latest/auto_examples/drawing/plot_sampson.html>`_ - - `Ego graph <https://networkx.github.io/documentation/latest/auto_examples/drawing/plot_ego_graph.html>`_ + - `Mayvi2 drawing <https://networkx.org/documentation/latest/auto_examples/3d_drawing/mayavi2_spring.html>`_ + - `Blockmodel <https://networkx.org/documentation/latest/auto_examples/algorithms/plot_blockmodel.html>`_ + - `Sampson's monastery <https://networkx.org/documentation/latest/auto_examples/drawing/plot_sampson.html>`_ + - `Ego graph <https://networkx.org/documentation/latest/auto_examples/drawing/plot_ego_graph.html>`_ Bug fixes ~~~~~~~~~ @@ -889,7 +889,7 @@ Examples ~~~~~~~~ - Formation of giant component in binomial_graph: - Chess masters matches: - - Gallery https://networkx.github.io/documentation/latest/auto_examples/index.html + - Gallery https://networkx.org/documentation/latest/auto_examples/index.html Bug fixes ~~~~~~~~~ diff --git a/doc/release/release_2.0.rst b/doc/release/release_2.0.rst index 4e95d883..544d9c7c 100644 --- a/doc/release/release_2.0.rst +++ b/doc/release/release_2.0.rst @@ -5,9 +5,9 @@ We're happy to announce the release of NetworkX 2.0! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -For more information, please visit our `website <http://networkx.github.io/>`_ +For more information, please visit our `website <https://networkx.org/>`_ and our `gallery of examples -<https://networkx.github.io/documentation/latest/auto_examples/index.html>`_. +<https://networkx.org/documentation/latest/auto_examples/index.html>`_. Please send comments and questions to the `networkx-discuss mailing list <http://groups.google.com/group/networkx-discuss>`_. @@ -19,7 +19,7 @@ This release is the result of over two years of work with 1212 commits and - We have made major changes to the methods in the Multi/Di/Graph classes. There is a `migration guide for people moving from 1.X to 2.0 - <https://networkx.github.io/documentation/latest/release/migration_guide_from_1.x_to_2.0.html>`_. + <https://networkx.org/documentation/latest/release/migration_guide_from_1.x_to_2.0.html>`_. - We updated the documentation system. diff --git a/doc/release/release_2.1.rst b/doc/release/release_2.1.rst index 5f329c03..5ad26aba 100644 --- a/doc/release/release_2.1.rst +++ b/doc/release/release_2.1.rst @@ -5,9 +5,9 @@ We're happy to announce the release of NetworkX 2.1! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -For more information, please visit our `website <http://networkx.github.io/>`_ +For more information, please visit our `website <https://networkx.org/>`_ and our `gallery of examples -<https://networkx.github.io/documentation/latest/auto_examples/index.html>`_. +<https://networkx.org/documentation/latest/auto_examples/index.html>`_. Please send comments and questions to the `networkx-discuss mailing list <http://groups.google.com/group/networkx-discuss>`_. diff --git a/doc/release/release_2.2.rst b/doc/release/release_2.2.rst index b093f273..9394c189 100644 --- a/doc/release/release_2.2.rst +++ b/doc/release/release_2.2.rst @@ -5,9 +5,9 @@ We're happy to announce the release of NetworkX 2.2! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -For more information, please visit our `website <http://networkx.github.io/>`_ +For more information, please visit our `website <https://networkx.org/>`_ and our `gallery of examples -<https://networkx.github.io/documentation/latest/auto_examples/index.html>`_. +<https://networkx.org/documentation/latest/auto_examples/index.html>`_. Please send comments and questions to the `networkx-discuss mailing list <http://groups.google.com/group/networkx-discuss>`_. diff --git a/doc/release/release_2.3.rst b/doc/release/release_2.3.rst index 87b1d543..64a42604 100644 --- a/doc/release/release_2.3.rst +++ b/doc/release/release_2.3.rst @@ -5,9 +5,9 @@ We're happy to announce the release of NetworkX 2.3! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -For more information, please visit our `website <http://networkx.github.io/>`_ +For more information, please visit our `website <https://networkx.org/>`_ and our `gallery of examples -<https://networkx.github.io/documentation/latest/auto_examples/index.html>`_. +<https://networkx.org/documentation/latest/auto_examples/index.html>`_. Please send comments and questions to the `networkx-discuss mailing list <http://groups.google.com/group/networkx-discuss>`_. diff --git a/doc/release/release_2.4.rst b/doc/release/release_2.4.rst index face96eb..fe7c5bb6 100644 --- a/doc/release/release_2.4.rst +++ b/doc/release/release_2.4.rst @@ -5,9 +5,9 @@ We're happy to announce the release of NetworkX 2.4! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -For more information, please visit our `website <http://networkx.github.io/>`_ +For more information, please visit our `website <https://networkx.org/>`_ and our `gallery of examples -<https://networkx.github.io/documentation/latest/auto_examples/index.html>`_. +<https://networkx.org/documentation/latest/auto_examples/index.html>`_. Please send comments and questions to the `networkx-discuss mailing list <http://groups.google.com/group/networkx-discuss>`_. diff --git a/doc/release/release_2.5.rst b/doc/release/release_2.5.rst index e89ab49a..25cdebd1 100644 --- a/doc/release/release_2.5.rst +++ b/doc/release/release_2.5.rst @@ -5,9 +5,9 @@ We're happy to announce the release of NetworkX 2.5! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -For more information, please visit our `website <http://networkx.github.io/>`_ +For more information, please visit our `website <https://networkx.org/>`_ and our `gallery of examples -<https://networkx.github.io/documentation/latest/auto_examples/index.html>`_. +<https://networkx.org/documentation/latest/auto_examples/index.html>`_. Please send comments and questions to the `networkx-discuss mailing list <http://groups.google.com/group/networkx-discuss>`_. diff --git a/doc/release/release_dev.rst b/doc/release/release_dev.rst index a1f9bdc8..b24561fc 100644 --- a/doc/release/release_dev.rst +++ b/doc/release/release_dev.rst @@ -5,9 +5,9 @@ We're happy to announce the release of NetworkX 2.6! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -For more information, please visit our `website <http://networkx.github.io/>`_ +For more information, please visit our `website <https://networkx.org/>`_ and our `gallery of examples -<https://networkx.github.io/documentation/latest/auto_examples/index.html>`_. +<https://networkx.org/documentation/latest/auto_examples/index.html>`_. Please send comments and questions to the `networkx-discuss mailing list <http://groups.google.com/group/networkx-discuss>`_. diff --git a/doc/release/release_template.rst b/doc/release/release_template.rst index 2e5011c0..c267a067 100644 --- a/doc/release/release_template.rst +++ b/doc/release/release_template.rst @@ -5,9 +5,9 @@ We're happy to announce the release of NetworkX 2.X! NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -For more information, please visit our `website <http://networkx.github.io/>`_ +For more information, please visit our `website <https://networkx.org/>`_ and our `gallery of examples -<https://networkx.github.io/documentation/latest/auto_examples/index.html>`_. +<https://networkx.org/documentation/latest/auto_examples/index.html>`_. Please send comments and questions to the `networkx-discuss mailing list <http://groups.google.com/group/networkx-discuss>`_. diff --git a/examples/pygraphviz/plot_write_dotfile.py b/examples/pygraphviz/plot_write_dotfile.py index 8b34f98b..b8d8014b 100644 --- a/examples/pygraphviz/plot_write_dotfile.py +++ b/examples/pygraphviz/plot_write_dotfile.py @@ -8,7 +8,7 @@ Write a dot file from a networkx graph for further processing with graphviz. You need to have either pygraphviz or pydot for this example. -See https://networkx.github.io/documentation/latest/reference/drawing.html +See https://networkx.org/documentation/latest/reference/drawing.html """ import networkx as nx diff --git a/networkx/__init__.py b/networkx/__init__.py index 235a8825..c3feb056 100644 --- a/networkx/__init__.py +++ b/networkx/__init__.py @@ -5,7 +5,7 @@ NetworkX NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. -See https://networkx.github.io for complete documentation. +See https://networkx.org for complete documentation. """ import sys diff --git a/networkx/drawing/nx_pylab.py b/networkx/drawing/nx_pylab.py index b0150661..4b28baea 100644 --- a/networkx/drawing/nx_pylab.py +++ b/networkx/drawing/nx_pylab.py @@ -97,7 +97,7 @@ def draw(G, pos=None, ax=None, **kwds): >>> plt.draw() # pyplot draw() Also see the NetworkX drawing examples at - https://networkx.github.io/documentation/latest/auto_examples/index.html + https://networkx.org/documentation/latest/auto_examples/index.html """ import matplotlib.pyplot as plt @@ -247,7 +247,7 @@ def draw_networkx(G, pos=None, arrows=True, with_labels=True, **kwds): >>> limits = plt.axis("off") # turn off axis Also see the NetworkX drawing examples at - https://networkx.github.io/documentation/latest/auto_examples/index.html + https://networkx.org/documentation/latest/auto_examples/index.html See Also -------- @@ -410,7 +410,7 @@ def draw_networkx_nodes( >>> nodes = nx.draw_networkx_nodes(G, pos=nx.spring_layout(G)) Also see the NetworkX drawing examples at - https://networkx.github.io/documentation/latest/auto_examples/index.html + https://networkx.org/documentation/latest/auto_examples/index.html See Also -------- @@ -593,7 +593,7 @@ def draw_networkx_edges( ... arc.set_alpha(alphas[i]) Also see the NetworkX drawing examples at - https://networkx.github.io/documentation/latest/auto_examples/index.html + https://networkx.org/documentation/latest/auto_examples/index.html See Also -------- @@ -841,7 +841,7 @@ def draw_networkx_labels( >>> labels = nx.draw_networkx_labels(G, pos=nx.spring_layout(G)) Also see the NetworkX drawing examples at - https://networkx.github.io/documentation/latest/auto_examples/index.html + https://networkx.org/documentation/latest/auto_examples/index.html See Also -------- @@ -975,7 +975,7 @@ def draw_networkx_edge_labels( >>> edge_labels = nx.draw_networkx_edge_labels(G, pos=nx.spring_layout(G)) Also see the NetworkX drawing examples at - https://networkx.github.io/documentation/latest/auto_examples/index.html + https://networkx.org/documentation/latest/auto_examples/index.html See Also -------- diff --git a/networkx/release.py b/networkx/release.py index 8a591e3e..9794716d 100644 --- a/networkx/release.py +++ b/networkx/release.py @@ -187,10 +187,10 @@ authors = { } maintainer = "NetworkX Developers" maintainer_email = "networkx-discuss@googlegroups.com" -url = "http://networkx.github.io/" +url = "https://networkx.org/" project_urls = { "Bug Tracker": "https://github.com/networkx/networkx/issues", - "Documentation": "https://networkx.github.io/documentation/stable/", + "Documentation": "https://networkx.org/documentation/stable/", "Source Code": "https://github.com/networkx/networkx", } platforms = ["Linux", "Mac OSX", "Windows", "Unix"] |