integrations-docs: Fix indentation issues in existing documentation.

Fixes some integrations documentation so that code blocks and
images are rendered in the correct HTML list elements.
This commit is contained in:
Lauryn Menard 2023-02-28 16:24:17 +01:00 committed by Tim Abbott
parent 839bc7f3a3
commit 8eaac945b2
4 changed files with 28 additions and 24 deletions

View File

@ -14,18 +14,18 @@
1. To run Hubot locally, first, set the following environment
variables by running:
```
export HUBOT_ZULIP_SITE="{{ api_url }}"
export HUBOT_ZULIP_BOT="hubot-bot@example.com"
export HUBOT_ZULIP_API_KEY="your_key"
```
```
export HUBOT_ZULIP_SITE="{{ api_url }}"
export HUBOT_ZULIP_BOT="hubot-bot@example.com"
export HUBOT_ZULIP_API_KEY="your_key"
```
Then, run:
Then, run:
`bin/hubot --adapter zulip --name "myhubot"`
`bin/hubot --adapter zulip --name "myhubot"`
The `--name` parameter must match the name you gave the bot on
the settings page.
The `--name` parameter must match the name you gave the bot on
the settings page.
Hubot will automatically listen for commands on all public streams.
You can also invite Hubot to private streams.

View File

@ -17,11 +17,13 @@ Mirror an IRC channel in Zulip!
at the end of the output of the previous step.
1. Go to the directory containing the bridge script if you haven't already done so
```
cd zulip/integrations/bridge_with_irc
```
1. Install the bridge dependencies in your virtualenv, by running:
```
pip install -r requirements.txt
```
@ -34,7 +36,8 @@ Mirror an IRC channel in Zulip!
1. [Subscribe the bot](/help/add-or-remove-users-from-a-stream) to the Zulip
stream that will contain the mirror.
1. Inside the virtualenv you created above, run
1. Inside the virtualenv you created above, run:
```
python irc-mirror.py --irc-server=IRC_SERVER --channel=<CHANNEL> --nick-prefix=<NICK> \
--stream=<STREAM> [--topic=<TOPIC>] \
@ -45,6 +48,7 @@ Mirror an IRC channel in Zulip!
`--topic` is a Zulip topic, is optionally specified, defaults to "IRC".
Example command:
```
./irc-mirror.py --irc-server=irc.freenode.net --channel='#python-mypy' --nick-prefix=irc_mirror \
--stream='test here' --topic='#mypy' \

View File

@ -13,7 +13,7 @@ Get Dropbox notifications in Zulip!
1. Go to the **Oauth 2** section, at the bottom of which you'll find a **Generate**
button. Click on it to activate the app for your account.
![](/static/images/integrations/dropbox/oauth2_generate.png)
![](/static/images/integrations/dropbox/oauth2_generate.png)
1. Set **Webhook URIs** to the URL constructed above and click **Add**.
The status of the webhook should say **Enabled**.