diff --git a/README.md b/README.md index 4d1073f..ae05a60 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,10 @@ programming language. It can communicate using either USB or Bluetooth. NXT-Python for Python 2 is no longer supported. -NXT-Python repository is on [Github][] with a mirror on [sourcehut][]. +NXT-Python repository is on [sourcehut][] with a mirror on [Github][]. -[Github]: https://github.com/schodet/nxt-python "NXT-Python repository on Github" [sourcehut]: https://sr.ht/~ni/nxt-python/ "NXT-Python repository on sourcehut" +[Github]: https://github.com/schodet/nxt-python "NXT-Python repository on Github" ## Requirements diff --git a/docs/index.rst b/docs/index.rst index 3f4505f..28288ae 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,11 +6,11 @@ programming language. It can communicate using either USB or Bluetooth. NXT-Python for Python 2 is no longer supported. -NXT-Python sources are available on `NXT-Python repository on Github`_ and -mirrored on `NXT-Python repository on sourcehut`_. +NXT-Python sources are available on `NXT-Python repository on sourcehut`_ and +mirrored on `NXT-Python repository on Github`_. -.. _NXT-Python repository on Github: https://github.com/schodet/nxt-python .. _NXT-Python repository on sourcehut: https://sr.ht/~ni/nxt-python/ +.. _NXT-Python repository on Github: https://github.com/schodet/nxt-python .. toctree:: :maxdepth: 2 diff --git a/pyproject.toml b/pyproject.toml index a36b725..b6cf039 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,9 @@ description = "LEGO Mindstorms NXT Control Package" authors = ["Nicolas Schodet "] license = "GPL-3.0-or-later" readme = "README.md" -homepage = "https://ni.srht.site/nxt-python/latest/" +homepage = "https://sr.ht/~ni/nxt-python/" +repository = "https://git.sr.ht/~ni/nxt-python" +documentation = "https://ni.srht.site/nxt-python/latest/" packages = [{ include = "nxt" }] include = [ { path = "logo.svg", format = "sdist" }, diff --git a/scripts/nxt_filer b/scripts/nxt_filer index 5fb4a88..ffa52e5 100755 --- a/scripts/nxt_filer +++ b/scripts/nxt_filer @@ -391,7 +391,7 @@ class AboutDialog(Gtk.AboutDialog): self.set_copyright(COPYRIGHT) self.set_comments("LEGO® MINDSTORMS NXT File Manager") self.set_license("Released under GPL v2 or later") - self.set_website("https://github.com/schodet/nxt-python/wiki") + self.set_website("https://sr.ht/~ni/nxt-python/") self.set_website_label("Wiki") self.set_authors(AUTHORS)