From e9b3b56105047a7f8d34a15a74ea96ddab913ab6 Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Wed, 24 May 2017 20:03:36 -0230 Subject: [PATCH] webhooks/appfollow: Use parametric Markdown macros. --- tools/lint | 1 - zerver/webhooks/appfollow/doc.md | 10 +++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tools/lint b/tools/lint index 7ce00e8276..e724b7556b 100755 --- a/tools/lint +++ b/tools/lint @@ -584,7 +584,6 @@ def build_custom_checkers(by_lang): "docs/migration-renumbering.md", "docs/readme-symlink.md", "README.md", - "zerver/webhooks/appfollow/doc.md", "zerver/webhooks/trello/doc.md", } for fn in by_lang['md']: diff --git a/zerver/webhooks/appfollow/doc.md b/zerver/webhooks/appfollow/doc.md index 5ad375f515..8847f2a5f4 100644 --- a/zerver/webhooks/appfollow/doc.md +++ b/zerver/webhooks/appfollow/doc.md @@ -1,11 +1,9 @@ Receive user reviews from your tracked apps on AppFolllow in Zulip using the Zulip AppFollow plugin! -First, create the stream you'd like to use for AppFollow notifications, and -subscribe all interested parties to this stream. We recommend the -name `appfollow`. +{!create-stream.md!} -Next, on your {{ settings_html|safe }}, create an AppFollow bot. +{!create-bot-construct-url.md!} Then, log into your account on [appfollow.io](http://appfollow.io), and: @@ -13,9 +11,7 @@ Then, log into your account on [appfollow.io](http://appfollow.io), and: Click on **Integrations** and then go to the **Others** tab. ![](/static/images/integrations/appfollow/001.png) -2. In the Webhook URL field, enter the following URL, replacing the bot API key - and Zulip stream with the appropriate information. - `{{ external_api_uri_subdomain }}/v1/external/appfollow?api_key=test_api_key&stream=appfollow` +2. In the Webhook URL field, enter the URL created above. 3. **Save changes** – all done!