From 1dc0ec53e9a3cc3afd8f7145ff48ac7680f3d014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sch=C3=B6nfeldt?= Date: Wed, 6 Mar 2024 11:18:16 +0100 Subject: [PATCH] Update web links --- CONTRIBUTING.rst | 6 +++--- README.rst | 4 ++-- docs/usage.rst | 2 +- setup.py | 6 +++--- src/oemof/network/graph.py | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index e407f83..7706072 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -8,7 +8,7 @@ little bit helps, and credit will always be given. Bug reports =========== -When `reporting a bug `_ please include: +When `reporting a bug `_ please include: * Your operating system name and version. * Any details about your local setup that might be helpful in troubleshooting. @@ -24,7 +24,7 @@ articles, and such. Feature requests and feedback ============================= -The best way to send feedback is to file an issue at https://github.com/oemof/oemof.network/issues. +The best way to send feedback is to file an issue at https://github.com/oemof/oemof-network/issues. If you are proposing a feature: @@ -37,7 +37,7 @@ Development To set up `oemof.network` for local development: -1. Fork `oemof.network `_ +1. Fork `oemof.network `_ (look for the "Fork" button). 2. Clone your fork locally:: diff --git a/README.rst b/README.rst index 749e6ad..164d44a 100644 --- a/README.rst +++ b/README.rst @@ -53,9 +53,9 @@ Overview :alt: Supported versions :target: https://pypi.org/project/oemof.network -.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/oemof-network.svg +.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/oemof.network.svg :alt: Supported implementations - :target: https://pypi.org/project/oemof-network + :target: https://pypi.org/project/oemof.network .. |commits-since| image:: https://img.shields.io/github/commits-since/oemof/oemof-network/v0.5.0/dev :alt: Commits since latest release diff --git a/docs/usage.rst b/docs/usage.rst index 33d079b..bbd637b 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -73,4 +73,4 @@ Components and buses can be combined to an energy system. Components and buses a Graph ----- -In the graph module you will find a function to create a networkx graph from an energy system or solph model. The networkx package provides many features to analyse, draw and export graphs. See the `networkx documentation `_ for more details. See the API-doc of :py:mod:`~oemof.graph` for all details and an example. The graph module can be used with energy systems of solph as well. +In the graph module you will find a function to create a networkx graph from an energy system or solph model. The networkx package provides many features to analyse, draw and export graphs. See the `networkx documentation `_ for more details. See the API-doc of :py:mod:`~oemof.graph` for all details and an example. The graph module can be used with energy systems of solph as well. diff --git a/setup.py b/setup.py index e9c9592..c5c5805 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def read(*names, **kwargs): long_description_content_type="text/x-rst", author="oemof developer group", author_email="contact@oemof.org", - url="https://github.com/oemof/oemof.network", + url="https://github.com/oemof/oemof-network", packages=["oemof"] + ["oemof." + p for p in find_packages("src/oemof")], package_dir={"": "src"}, py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")], @@ -69,9 +69,9 @@ def read(*names, **kwargs): project_urls={ "Documentation": "https://oemofnetwork.readthedocs.io/", "Changelog": ( - "https://oemofnetwork.readthedocs.io/en/latest/changelog.html" + "https://oemof-network.readthedocs.io/en/latest/changelog.html" ), - "Issue Tracker": "https://github.com/oemof/oemof.network/issues", + "Issue Tracker": "https://github.com/oemof/oemof-network/issues", }, keywords=[ # eg: 'keyword1', 'keyword2', 'keyword3', diff --git a/src/oemof/network/graph.py b/src/oemof/network/graph.py index 2b9295c..26be62c 100644 --- a/src/oemof/network/graph.py +++ b/src/oemof/network/graph.py @@ -26,7 +26,7 @@ def create_nx_graph( ): """ Create a `networkx.DiGraph` for the passed energy system and plot it. - See http://networkx.readthedocs.io/en/latest/ for more information. + See https://networkx.org/documentation/ for more information. Parameters ----------