Fix formatting for configuration docs in config.ex and README
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
18
README.md
18
README.md
@@ -43,15 +43,15 @@ in the project root. Changing the configuration file can be done setting the env
|
|||||||
|
|
||||||
## Configuration keys
|
## Configuration keys
|
||||||
|
|
||||||
* `server` - the IRC server to connect to. **(required)**
|
* `server` - the IRC server to connect to. (required)
|
||||||
* `nick` - the IRC nickname to use for the bot. **(optional, default "omnibot")**
|
* `nick` - the IRC nickname to use for the bot. (optional, default `"omnibot"`)
|
||||||
* `user` - the IRC username to use for the bot. **(optional, default "omnibot")**
|
* `user` - the IRC username to use for the bot. (optional, default `"omnibot"`)
|
||||||
* `real` - the IRC realname to use for the bot. **(optional, default "omnibot")**
|
* `real` - the IRC realname to use for the bot. (optional, default `"omnibot"`)
|
||||||
* `port` - the port to connect to the server on. **(optional, default 6667)**
|
* `port` - the port to connect to the server on. (optional, default `6667`)
|
||||||
* `ssl` - whether to use SSL or not. Note that IRC usually uses port 6697 for SSL. **(optional, default false)**
|
* `ssl` - whether to use SSL or not. Note that IRC usually uses port 6697 for SSL. (optional, default `false`)
|
||||||
* `channels` - a list of channels that the bot should always join. **(optional, default [])**
|
* `channels` - a list of channels that the bot should always join. (optional, default `[]`)
|
||||||
* `plugins` - a list of plugins to load and their configuration. **(optional, default [])**
|
* `plugins` - a list of plugins to load and their configuration. (optional, default `[]`)
|
||||||
* `plugin_paths` - a list of locations to look for additional plugins. **(optional, default [])**
|
* `plugin_paths` - a list of locations to look for additional plugins. (optional, default `[]`)
|
||||||
|
|
||||||
### Plugin configuration
|
### Plugin configuration
|
||||||
|
|
||||||
|
|||||||
@@ -7,16 +7,16 @@ defmodule Omnibot.Config do
|
|||||||
|
|
||||||
## Configuration keys
|
## Configuration keys
|
||||||
|
|
||||||
- server: the IRC server to connect to. **(required)**
|
- server: the IRC server to connect to. (required)
|
||||||
- nick: the IRC nickname to use for the bot. **(optional, default "omnibot")**
|
- nick: the IRC nickname to use for the bot. (optional, default `"omnibot"`)
|
||||||
- user: the IRC username to use for the bot. **(optional, default "omnibot")**
|
- user: the IRC username to use for the bot. (optional, default `"omnibot"`)
|
||||||
- real: the IRC realname to use for the bot. **(optional, default "omnibot")**
|
- real: the IRC realname to use for the bot. (optional, default `"omnibot"`)
|
||||||
- port: the port to connect to the server on. **(optional, default 6667)**
|
- port: the port to connect to the server on. (optional, default `6667`)
|
||||||
- ssl: whether to use SSL or not. Note that IRC usually uses port 6697 for
|
- ssl: whether to use SSL or not. Note that IRC usually uses port 6697 for
|
||||||
SSL. **(optional, default false)**
|
SSL. (optional, default `false`)
|
||||||
- channels: a list of channels that the bot should always join. **(optional, default [])**
|
- channels: a list of channels that the bot should always join. (optional, default `[]`)
|
||||||
- plugins: a list of plugins to load and their configuration. **(optional, default [])**
|
- plugins: a list of plugins to load and their configuration. (optional, default `[]`)
|
||||||
- plugin_paths: a list of locations to look for additional plugins. **(optional, default [])**
|
- plugin_paths: a list of locations to look for additional plugins. (optional, default `[]`)
|
||||||
|
|
||||||
## Plugins configuration
|
## Plugins configuration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user