Skip to content

Commit 17836fc

Browse files
authored
Clean up docs (#388)
1 parent 5f5eba7 commit 17836fc

5 files changed

Lines changed: 44 additions & 55 deletions

File tree

AUTHORS.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

README.md

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,53 @@
11
# 🚨 simplisafe-python: A Python3, async interface to the SimpliSafe™ API
22

3-
[![CI](https://github.com/bachya/simplisafe-python/workflows/CI/badge.svg)](https://github.com/bachya/simplisafe-python/actions)
4-
[![PyPi](https://img.shields.io/pypi/v/simplisafe-python.svg)](https://pypi.python.org/pypi/simplisafe-python)
5-
[![Version](https://img.shields.io/pypi/pyversions/simplisafe-python.svg)](https://pypi.python.org/pypi/simplisafe-python)
6-
[![License](https://img.shields.io/pypi/l/simplisafe-python.svg)](https://github.com/bachya/simplisafe-python/blob/main/LICENSE)
7-
[![Code Coverage](https://codecov.io/gh/bachya/simplisafe-python/branch/dev/graph/badge.svg)](https://codecov.io/gh/bachya/simplisafe-python)
8-
[![Maintainability](https://api.codeclimate.com/v1/badges/f46d8b1dcfde6a2f683d/maintainability)](https://codeclimate.com/github/bachya/simplisafe-python/maintainability)
9-
[![Say Thanks](https://img.shields.io/badge/SayThanks-!-1EAEDB.svg)](https://saythanks.io/to/bachya)
3+
[![CI][ci-badge]][ci]
4+
[![PyPI][pypi-badge]][pypi]
5+
[![Version][version-badge]][version]
6+
[![License][license-badge]][license]
7+
[![Code Coverage][codecov-badge]][codecov]
8+
[![Maintainability][maintainability-badge]][maintainability]
109

1110
<a href="https://www.buymeacoffee.com/bachya1208P" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>
1211

1312
`simplisafe-python` (hereafter referred to as `simplipy`) is a Python3,
14-
`asyncio`-driven interface to the unofficial SimpliSafe™ API. With it, users can
15-
get data on their system (including available sensors), set the system state,
13+
`asyncio`-driven interface to the unofficial [SimpliSafe™][simplisafe] API. With it,
14+
users can get data on their system (including available sensors), set the system state,
1615
and more.
1716

1817
# Documentation
1918

20-
You can find complete documentation here: https://simplisafe-python.readthedocs.io
19+
You can find complete documentation [here][docs].
2120

2221
# Contributing
2322

24-
1. [Check for open features/bugs](https://github.com/bachya/simplisafe-python/issues)
25-
or [initiate a discussion on one](https://github.com/bachya/simplisafe-python/issues/new).
26-
2. [Fork the repository](https://github.com/bachya/simplisafe-python/fork).
23+
Thanks to all of [our contributors][contributors] so far!
24+
25+
1. [Check for open features/bugs][issues] or [initiate a discussion on one][new-issue].
26+
2. [Fork the repository][fork].
2727
3. (_optional, but highly recommended_) Create a virtual environment: `python3 -m venv .venv`
2828
4. (_optional, but highly recommended_) Enter the virtual environment: `source ./.venv/bin/activate`
2929
5. Install the dev environment: `script/setup`
30-
6. Code your new feature or bug fix.
30+
6. Code your new feature or bug fix on a new branch.
3131
7. Write tests that cover your new functionality.
32-
8. Run tests and ensure 100% code coverage: `poetry run pytest --cov simplipy tests`
32+
8. Run tests and ensure 100% code coverage: `poetry run pytest --cov simplisafe-python tests`
3333
9. Update `README.md` with any new documentation.
34-
10. Add yourself to `AUTHORS.md`.
35-
11. Submit a pull request!
34+
10. Submit a pull request!
35+
36+
[ci-badge]: https://github.com/bachya/simplisafe-python/workflows/CI/badge.svg
37+
[ci]: https://github.com/bachya/simplisafe-python/actions
38+
[codecov-badge]: https://codecov.io/gh/bachya/simplisafe-python/branch/dev/graph/badge.svg
39+
[codecov]: https://codecov.io/gh/bachya/simplisafe-python
40+
[contributors]: https://github.com/bachya/simplisafe-python/graphs/contributors
41+
[docs]: https://simplisafe-python.readthedocs.io
42+
[fork]: https://github.com/bachya/simplisafe-python/fork
43+
[issues]: https://github.com/bachya/simplisafe-python/issues
44+
[license-badge]: https://img.shields.io/pypi/l/simplisafe-python.svg
45+
[license]: https://github.com/bachya/simplisafe-python/blob/main/LICENSE
46+
[maintainability-badge]: https://api.codeclimate.com/v1/badges/f46d8b1dcfde6a2f683d/maintainability
47+
[maintainability]: https://codeclimate.com/github/bachya/simplisafe-python/maintainability
48+
[new-issue]: https://github.com/bachya/simplisafe-python/issues/new
49+
[pypi-badge]: https://img.shields.io/pypi/v/simplisafe-python.svg
50+
[pypi]: https://pypi.python.org/pypi/simplisafe-python
51+
[simplisafe]: https://simplisafe.com
52+
[version-badge]: https://img.shields.io/pypi/pyversions/simplisafe-python.svg
53+
[version]: https://pypi.python.org/pypi/simplisafe-python

docs/index.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
% simplisafe-python documentation master file, created by
2-
% sphinx-quickstart on Sat Nov 16 14:00:49 2019.
3-
% You can adapt this file completely to your liking, but it should at least
4-
% contain the root `toctree` directive.
5-
61
# simplisafe-python
72

8-
`{image} https://github.com/bachya/simplisafe-python/workflows/CI/badge.svg`
9-
`{image} https://img.shields.io/pypi/v/simplisafe-python.svg`
10-
`{image} https://img.shields.io/pypi/pyversions/simplisafe-python.svg`
11-
`{image} https://img.shields.io/pypi/l/simplisafe-python.svg`
12-
`{image} https://codecov.io/gh/bachya/simplisafe-python/branch/main/graph/badge.svg`
13-
`{image} https://api.codeclimate.com/v1/badges/f46d8b1dcfde6a2f683d/maintainability`
14-
153
`simplisafe-python` (hereafter referred to as `simplipy`) is a Python3,
164
`asyncio`-driven interface to the unofficial SimpliSafe™ API. With it, users can
175
get data on their system (including available sensors), set the system state,
@@ -29,7 +17,3 @@ camera
2917
websocket
3018
api
3119
```
32-
33-
- {ref}`genindex`
34-
- {ref}`modindex`
35-
- {ref}`search`

docs/intro.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ and more.
99
working at any time without warning.
1010

1111
**SPECIAL THANKS:** Original inspiration was obtained from
12-
<https://github.com/greencoder/easysafe-python>; thanks to Scott Newman for all the
13-
hard work!
12+
[`easysafe-python`][easysafe-python]; thanks to Scott Newman for all the hard work!
13+
14+
[easysafe-python]: https://github.com/greencoder/easysafe-python

docs/usage.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ pip install simplisafe-python
1616

1717
## SimpliSafe™ Plans
1818

19-
SimpliSafe™ offers several [monitoring plans](https://support.simplisafe.com/hc/en-us/articles/360023809972-What-are-the-service-plan-options-).
20-
Only the **Standard** and **Interactive** plans work with this library.
21-
22-
Please note that only Interactive plans can access sensor values and set the system
23-
state; using the API with a Standard plan will be limited to retrieving the current
24-
system state.
19+
SimpliSafe™ offers several [monitoring plans][simplisafe-plans]. To date,
20+
`simplisafe-python` is known to work with all plans; if you should find differently,
21+
please consider submitting an [issue][simplisafe-python-issues].
2522

2623
## Accessing the API
2724

@@ -208,3 +205,6 @@ However, should you need to refresh an access token manually at runtime, you can
208205
**It is vitally important not to let these tokens leave your control.** If
209206
exposed, savvy attackers could use them to view and alter your system's state. **You
210207
have been warned; proper storage/usage of tokens is solely your responsibility.**
208+
209+
[simplisafe-plans]: https://support.simplisafe.com/hc/en-us/articles/360023809972-What-are-the-service-plan-options-
210+
[simplisafe-python-issues]: https://github.com/bachya/simplisafe-python/issues

0 commit comments

Comments
 (0)