Skip to content

Commit

Permalink
added doc
Browse files Browse the repository at this point in the history
  • Loading branch information
davebulaval committed Oct 1, 2021
1 parent 3c79a34 commit 75209f8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 17 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ Notif is a easy to use package to send notification from a python script.

Use this package to send during, at the end or when failing of a python script a

- Slack notification
- Email notification
- Channel notification
- Microsoft Teams notification.
- Slack notification,
- Email notification,
- Channel notification,
- Microsoft Teams notification,
- Discord.

> Please be careful with your login credential. Use a .env or any other file not publish by your git (configured in .gitignore). Read the [following](https://stackoverflow.com/questions/2397822/what-is-the-best-practice-for-dealing-with-passwords-in-git-repositories) for best pratices.
Expand Down
13 changes: 7 additions & 6 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ Notif is a easy to use package to send notification from a python script.

Use this package to send during, at the end or when failing of a python script a

- Slack notification
- Email notification
- Channel notification
- Microsoft Teams notification.
- Slack notification,
- Email notification,
- Channel notification,
- Microsoft Teams notification,
- Discord.


.. warning:: Please be careful with your login credential. Use a .env or any other file not publish by your git (configured in .gitignore). Read the `following <https://stackoverflow.com/questions/2397822/what-is-the-best-practice-for-dealing-with-passwords-in-git-repositories/>`_ for best practices.
Expand All @@ -29,15 +30,15 @@ Installation
============

Install the stable version of notif:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: sh
pip install notif
Install the latest version of notif:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: sh
Expand Down
18 changes: 11 additions & 7 deletions docs/source/notificator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,36 @@
:class: hidden-section

Notificator
===========================
===========

.. automodule:: notif
.. currentmodule:: notif.notificator

Notificator
---------------
-----------
.. autoclass:: Notificator
:members:

Slack Notificator
---------------------
-----------------

.. autoclass:: SlackNotificator
:members:

Email Notificator
--------------------
-----------------

.. autoclass:: EmailNotificator

Channel Notificator
----------------------
-------------------

.. autoclass:: ChannelNotificator

Microsoft Teams Notificator
---------------------------------
.. autoclass:: TeamsNotificator
---------------------------
.. autoclass:: TeamsNotificator

Discord Notificator
-------------------
.. autoclass:: DiscordNotificator

0 comments on commit 75209f8

Please sign in to comment.