Skip to content
This repository was archived by the owner on Dec 29, 2017. It is now read-only.

Commit b9f3592

Browse files
committed
documentation
1 parent 2626e82 commit b9f3592

File tree

5 files changed

+17
-18
lines changed

5 files changed

+17
-18
lines changed

docs/configuration.rst

+5-6
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ A basic configuration will look like this:
5555
plugin2:
5656
...
5757
58-
Plugins must be importable python modules defining the :ref:`references_hook`.
59-
See :ref:`writing_plugins` for more information.
58+
Plugins must be importable python modules. See :ref:`writing_plugins` for more
59+
information.
6060

6161
.. _conf_starting_priority:
6262

@@ -67,9 +67,8 @@ Plugins can depend on other plugins. You can ensure a startup order by setting
6767
a startup priority. By default all plugins have a priority of 50. Plugins with
6868
a higher priority will start before the one with a lower priority.
6969

70-
If multiple plugins have the same priority they will start simultaneously.
71-
72-
A priority of 0 or false will disable the plugin.
70+
If multiple plugins have the same priority they will start simultaneously. A
71+
priority of 0 or false will disable the plugin.
7372

7473
.. code-block:: yaml
7574
@@ -92,7 +91,7 @@ Each plugin should define his own logger. The core logger is :code:`sirbot.core`
9291
Import
9392
------
9493

95-
To use Sir-bot-a-lot in a project:
94+
To use Sir Bot-a-lot in a project:
9695

9796
.. code-block:: python
9897

docs/index.rst

+4-5
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@ The uses of bots are nearly endless and come in all shapes and sizes.
1313
They can handle Slack shenanigans, monitor the status of a crypto-currency,
1414
or become your personal assistant.
1515

16-
Sir-bot-a-lot aims to be a framework to ease the creation of new and innovating
17-
bot for you and your team while keeping everything as simple as possible. It is
18-
build onto a plugin system that allow inter-connection with as much service as
19-
you like.
16+
Sir Bot-a-lot is a framework built to ease the creation of new and innovating
17+
bot for you and your team while keeping everything as simple as possible. It use
18+
a plugin system that allow inter-connection with as much service as you like.
2019

2120
This project is maintained by the `pyslackers`_ community.
2221
Want to join? `Get an invite`_ !
2322

2423
.. note::
2524

26-
The core sir-bot-a-lot module does **NOTHING** without plugins.
25+
The core Sir Bot-a-lot module does **NOTHING** without plugins.
2726
Check out the list of :ref:`available plugins`.
2827

2928
.. toctree::

docs/installation.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Stable release
1111

1212
Not yet released
1313

14-
To install sir-bot-a-lot, run this command in your terminal:
14+
To install run this command in your terminal:
1515

1616
.. code-block:: console
1717
1818
$ pip install sir-bot-a-lot
1919
20-
This is the preferred method to install sir-bot-a-lot, as it will always
21-
install the most recent stable release.
20+
This is the preferred method as it will always install the most recent stable
21+
release.
2222

2323
If you don't have `pip`_ installed, this `Python installation guide`_ can guide
2424
you through the process.

docs/plugins.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ Start
5858
As plugins might need the functionality of other plugins during startup a
5959
specific order is establish based on each plugin :ref:`conf_starting_priority`.
6060

61-
Sir-bot-a-lot will also wait for a plugin to be fully started before attempting
61+
Sir Bot-a-lot will also wait for a plugin to be fully started before attempting
6262
to start the next one. This ensure that no race condition exist in the starting
6363
process.
6464

65-
When starting a plugin Sir-bot-a-lot create a new asyncio task in order to
65+
When starting a plugin Sir Bot-a-lot create a new asyncio task in order to
6666
allow it to run indefinitely.
6767

6868
Example

docs/quickstart.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Quick Start
44

55
.. note::
66

7-
The core sir-bot-a-lot module does **NOTHING** without plugins.
7+
The core Sir Bot-a-lot module does **NOTHING** without plugins.
88
Check out the list of :ref:`available plugins`.
99

1010
Installation
@@ -29,7 +29,8 @@ More installation instruction can be found :ref:`here <installation>`.
2929
Configuration
3030
-------------
3131

32-
To load a custom config file use the :code:`--config` argument or the :code:`SIRBOT_CONFIG` environment variable with the configuration file path.
32+
To load a custom config file use the :code:`--config` argument or the
33+
:code:`SIRBOT_CONFIG` environment variable with the configuration file path.
3334

3435
The default configuration file look like this:
3536

0 commit comments

Comments
 (0)