Skip to content

Commit 58b6e5b

Browse files
committed
Move sourcehut first, with GitHub as mirror
1 parent 207825b commit 58b6e5b

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ programming language. It can communicate using either USB or Bluetooth.
55

66
NXT-Python for Python 2 is no longer supported.
77

8-
NXT-Python repository is on [Github][] with a mirror on [sourcehut][].
8+
NXT-Python repository is on [sourcehut][] with a mirror on [Github][].
99

10-
[Github]: https://github.com/schodet/nxt-python "NXT-Python repository on Github"
1110
[sourcehut]: https://sr.ht/~ni/nxt-python/ "NXT-Python repository on sourcehut"
11+
[Github]: https://github.com/schodet/nxt-python "NXT-Python repository on Github"
1212

1313
## Requirements
1414

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ programming language. It can communicate using either USB or Bluetooth.
66

77
NXT-Python for Python 2 is no longer supported.
88

9-
NXT-Python sources are available on `NXT-Python repository on Github`_ and
10-
mirrored on `NXT-Python repository on sourcehut`_.
9+
NXT-Python sources are available on `NXT-Python repository on sourcehut`_ and
10+
mirrored on `NXT-Python repository on Github`_.
1111

12-
.. _NXT-Python repository on Github: https://github.com/schodet/nxt-python
1312
.. _NXT-Python repository on sourcehut: https://sr.ht/~ni/nxt-python/
13+
.. _NXT-Python repository on Github: https://github.com/schodet/nxt-python
1414

1515
.. toctree::
1616
:maxdepth: 2

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ description = "LEGO Mindstorms NXT Control Package"
55
authors = ["Nicolas Schodet <nico@ni.fr.eu.org>"]
66
license = "GPL-3.0-or-later"
77
readme = "README.md"
8-
homepage = "https://ni.srht.site/nxt-python/latest/"
8+
homepage = "https://sr.ht/~ni/nxt-python/"
9+
repository = "https://git.sr.ht/~ni/nxt-python"
10+
documentation = "https://ni.srht.site/nxt-python/latest/"
911
packages = [{ include = "nxt" }]
1012
include = [
1113
{ path = "logo.svg", format = "sdist" },

scripts/nxt_filer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ class AboutDialog(Gtk.AboutDialog):
391391
self.set_copyright(COPYRIGHT)
392392
self.set_comments("LEGO® MINDSTORMS NXT File Manager")
393393
self.set_license("Released under GPL v2 or later")
394-
self.set_website("https://github.com/schodet/nxt-python/wiki")
394+
self.set_website("https://sr.ht/~ni/nxt-python/")
395395
self.set_website_label("Wiki")
396396
self.set_authors(AUTHORS)
397397

0 commit comments

Comments
 (0)