Update documentation

This commit is contained in:
Joel 2021-01-16 23:43:56 +01:00
parent 81875a2cc5
commit 0dbfc5fe6b
No known key found for this signature in database
GPG key ID: BDDDBECD0808290E
53 changed files with 18837 additions and 0 deletions

View file

@ -0,0 +1,23 @@
.. _lib_battery:
Battery
########
Class Documentation
********************
.. autoclass:: compLib.Battery.Battery
:members:
Examples
*********
Printing percentage
====================
.. code-block:: python
from compLib.Battery import Battery
print(Battery.percent())