Skip to content

Commit

Permalink
edit docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Otoru committed Jul 5, 2020
1 parent 3ff7555 commit 0a4bebb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
'sphinx_rtd_theme'
]

templates_path = ['templates']
templates_path = ['_templates']

exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

html_theme = 'sphinx_rtd_theme'

html_static_path = ['static']
html_static_path = ['_static']

language = 'en'
1 change: 1 addition & 0 deletions docs/started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Let's better understand the code:
- host: The FreeSwitch address.
- port: The FreeSwitch connection port.
- password: Password used for ESL authentication.

- To add functions as handlers for specific events we must use the decorator ``handle``. it receives a string with the name of the event as an argument.
- Below the decorator we must have a function that receives a single argument (an event) this argument will be a dictionary that will have the same `key: value` scheme of the selected event.
- The function can apply the logic you want to in the package, such as expand, save to a database, or whatever you prefer.
Expand Down

0 comments on commit 0a4bebb

Please sign in to comment.