Skip to content

Commit

Permalink
Move sourcehut first, with GitHub as mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
schodet committed Jan 4, 2024
1 parent 207825b commit 58b6e5b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ description = "LEGO Mindstorms NXT Control Package"
authors = ["Nicolas Schodet <[email protected]>"]
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" },
Expand Down
2 changes: 1 addition & 1 deletion scripts/nxt_filer
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 58b6e5b

Please sign in to comment.