Skip to content

Commit

Permalink
docs: Fix a few typos (errbotio#1589)
Browse files Browse the repository at this point in the history
* docs: Fix a few typos

There are small typos in:
- docs/_static/fancybox/jquery.fancybox.js
- docs/user_guide/configuration/slackv3.rst
- errbot/plugin_manager.py

Fixes:
- Should read `systemctl` rather than `systemclt`.
- Should read `subscribed` rather than `subscrbed`.
- Should read `necessary` rather than `neccessary`.

* docs: add info to CHANGES

Co-authored-by: Sijis Aviles <[email protected]>
  • Loading branch information
timgates42 and sijis authored Jul 10, 2022
1 parent 16a6fa8 commit 3f5abef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ fixes:
- backend/xmpp: fix forward type references (#1578)
- chore: remove campfire references (#1584)
- chore/setup: fix exception when installing on python <3.7 (#1585)
- docs: typos (#1589)


v6.1.9 (2022-06-11)
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/fancybox/jquery.fancybox.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@
coming.scrolling = 'scroll';
}

// Build the neccessary markup
// Build the necessary markup
coming.wrap = $(coming.tpl.wrap).addClass('fancybox-' + (isTouch ? 'mobile' : 'desktop') + ' fancybox-type-' + type + ' fancybox-tmp ' + coming.wrapCSS).appendTo(coming.parent || 'body');

$.extend(coming, {
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/configuration/slackv3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Current token with Events Socket-mode client
Create a current bot token, enable socket mode. Configure errbot to use the bot and app tokens and start using Slack.
Read `socket-mode <https://github.com/slackapi/python-slack-sdk/blob/main/docs-src/socket-mode/index.rst>`_ for instructions on setting up Socket-mode.

Ensure the bot is also subscrbed to the following events:
Ensure the bot is also subscribed to the following events:

- `file_created`
- `file_public`
Expand Down
2 changes: 1 addition & 1 deletion errbot/plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def is_docker():
log.info('Installing packages from "%s".', req_path)
# use sys.executable explicitly instead of just 'pip' because depending on how the bot is deployed
# 'pip' might not be available on PATH: for example when installing errbot on a virtualenv and
# starting it with systemclt pointing directly to the executable:
# starting it with systemctl pointing directly to the executable:
# [Service]
# ExecStart=/home/errbot/.env/bin/errbot
pip_cmdline = [sys.executable, "-m", "pip"]
Expand Down

0 comments on commit 3f5abef

Please sign in to comment.