Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Introduction
============


.. image:: https://readthedocs.org/projects/circuitpython-displayio_switchround/badge/?version=latest
:target: https://circuitpython-displayio_switchround.readthedocs.io/
.. image:: https://readthedocs.org/projects/circuitpython-displayio-switchround/badge/?version=latest
:target: https://circuitpython-displayio-switchround.readthedocs.io/
:alt: Documentation Status


Expand Down Expand Up @@ -39,8 +39,8 @@ or individual libraries can be installed using
Installing from PyPI
=====================

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from
PyPI <https://pypi.org/project/adafruit-circuitpython-displayio_switchround/>`_.
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally
`from PyPI <https://pypi.org/project/circuitpython-displayio-switchround/>`_.
To install for current user:

.. code-block:: shell
Expand Down
411 changes: 53 additions & 358 deletions displayio_switchround.py

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@
:members:
:member-order: bysource
:inherited-members:

.. inheritance-diagram:: adafruit_displayio_layout.widgets.switch_round
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
intersphinx_mapping = {
"python": ("https://docs.python.org/3.4", None),
"CircuitPython": ("https://circuitpython.readthedocs.io/en/latest/", None),
"Layout": (
"https://circuitpython.readthedocs.io/projects/displayio-layout/en/latest/",
None,
),
}

# Show the docstring from both the class and its __init__() method.
Expand Down
5 changes: 5 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ Table of Contents

examples

.. toctree::
:caption: Overview

overview

.. toctree::
:caption: API Reference
:maxdepth: 3
Expand Down
340 changes: 340 additions & 0 deletions docs/overview.rst

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions docs/overview.rst.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
SPDX-FileCopyrightText: Copyright (c) 2021 Kevin Matocha for circuitpython

SPDX-License-Identifier: MIT