Skip to content

Commit 49ab415

Browse files
committed
Updated docs link, updated python docs link, updated setup.py
1 parent f7eb6ac commit 49ab415

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Introduction
33
============
44

55
.. image:: https://readthedocs.org/projects/adafruit-micropython-register/badge/?version=latest
6-
:target: https://circuitpython.readthedocs.io/projects/register/en/latest/
6+
:target: https://docs.circuitpython.org/projects/register/en/latest/
77
:alt: Documentation Status
88

99
.. image :: https://img.shields.io/discord/327254708534116352.svg
@@ -82,7 +82,7 @@ Next, define where the bit is located in the device's memory map:
8282
world = i2c_bit.RWBit(0x1, 0x0)
8383
"""Bit to indicate if world is lit."""
8484
85-
Lastly, we need to add an ``i2c_device`` member of type `I2CDevice <https://circuitpython.readthedocs.io/projects/busdevice/en/latest/api.html#adafruit_bus_device.i2c_device.I2CDevice>`_
85+
Lastly, we need to add an ``i2c_device`` member of type `I2CDevice <https://docs.circuitpython.org/projects/busdevice/en/latest/api.html#adafruit_bus_device.i2c_device.I2CDevice>`_
8686
that manages sharing the I2C bus for us. Make sure the name is exact, otherwise
8787
the registers will not be able to find it. Also, make sure that the i2c device
8888
implements the `busio.I2C` interface.
@@ -177,7 +177,7 @@ we must implement ``__get__`` and ``__set__``.
177177
As you can see, we have two places to get state from. First, ``self`` stores the
178178
register class members which locate the register within the device memory map.
179179
Second, ``obj`` is the driver class that uses the register class which must by
180-
definition provide a `I2CDevice <https://circuitpython.readthedocs.io/projects/busdevice/en/latest/api.html#adafruit_bus_device.i2c_device.I2CDevice>`_ compatible
180+
definition provide a `I2CDevice <https://docs.circuitpython.org/projects/busdevice/en/latest/api.html#adafruit_bus_device.i2c_device.I2CDevice>`_ compatible
181181
object as ``i2c_device``. This object does two thing for us:
182182

183183
1. Waits for the bus to free, locks it as we use it and frees it after.
@@ -195,7 +195,7 @@ used a bunch of times.
195195
Documentation
196196
=============
197197

198-
API documentation for this library can be found on `Read the Docs <https://circuitpython.readthedocs.io/projects/register/en/latest/>`_.
198+
API documentation for this library can be found on `Read the Docs <https://docs.circuitpython.org/projects/register/en/latest/>`_.
199199

200200
Contributing
201201
============

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
autodoc_mock_imports = ["micropython"]
2727

2828
intersphinx_mapping = {
29-
"python": ("https://docs.python.org/3.4", None),
29+
"python": ("https://docs.python.org/3", None),
3030
"BusDevice": (
31-
"https://circuitpython.readthedocs.io/projects/busdevice/en/latest/",
31+
"https://docs.circuitpython.org/projects/busdevice/en/latest/",
3232
None,
3333
),
34-
"CircuitPython": ("https://circuitpython.readthedocs.io/en/latest/", None),
34+
"CircuitPython": ("https://docs.circuitpython.org/en/latest/", None),
3535
}
3636

3737
# Add any paths that contain templates here, relative to this directory.

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Table of Contents
3030
:caption: Other Links
3131

3232
Download <https://github.com/adafruit/Adafruit_CircuitPython_Register/releases/latest>
33-
CircuitPython Reference Documentation <https://circuitpython.readthedocs.io>
33+
CircuitPython Reference Documentation <https://docs.circuitpython.org>
3434
CircuitPython Support Forum <https://forums.adafruit.com/viewforum.php?f=60>
3535
Discord Chat <https://adafru.it/discord>
3636
Adafruit Learning System <https://learn.adafruit.com>

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
"Topic :: System :: Hardware",
4646
"License :: OSI Approved :: MIT License",
4747
"Programming Language :: Python :: 3",
48-
"Programming Language :: Python :: 3.4",
49-
"Programming Language :: Python :: 3.5",
5048
],
5149
# What does your project relate to?
5250
keywords="adafruit register micropython circuitpython",

0 commit comments

Comments
 (0)