Skip to content

Commit ad2a86e

Browse files
Merge pull request #4 from lesamouraipourpre/docs
Updates to Docs
2 parents 318619d + 86c3408 commit ad2a86e

File tree

7 files changed

+410
-364
lines changed

7 files changed

+410
-364
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Introduction
22
============
33

44

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

99

@@ -39,8 +39,8 @@ or individual libraries can be installed using
3939
Installing from PyPI
4040
=====================
4141

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

4646
.. code-block:: shell

displayio_switchround.py

Lines changed: 53 additions & 358 deletions
Large diffs are not rendered by default.

docs/api.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@
88
:members:
99
:member-order: bysource
1010
:inherited-members:
11-
12-
.. inheritance-diagram:: adafruit_displayio_layout.widgets.switch_round

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
intersphinx_mapping = {
3636
"python": ("https://docs.python.org/3.4", None),
3737
"CircuitPython": ("https://circuitpython.readthedocs.io/en/latest/", None),
38+
"Layout": (
39+
"https://circuitpython.readthedocs.io/projects/displayio-layout/en/latest/",
40+
None,
41+
),
3842
}
3943

4044
# Show the docstring from both the class and its __init__() method.

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Table of Contents
1515

1616
examples
1717

18+
.. toctree::
19+
:caption: Overview
20+
21+
overview
22+
1823
.. toctree::
1924
:caption: API Reference
2025
:maxdepth: 3

docs/overview.rst

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.

docs/overview.rst.license

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
2+
SPDX-FileCopyrightText: Copyright (c) 2021 Kevin Matocha for circuitpython
3+
4+
SPDX-License-Identifier: MIT

0 commit comments

Comments
 (0)