integrations doc: Move trello-plugin doc to separate file.

This commit is contained in:
Tomasz Kolek 2017-04-05 08:09:53 +02:00 committed by Tim Abbott
parent 85940aef7f
commit 1b6cdb92b7
3 changed files with 32 additions and 33 deletions

View File

@ -117,38 +117,6 @@
{% endif %}
<div id="trello-plugin" class="integration-instructions">
<p>
This legacy integration for Trello works by running a script
that communicates with the Trello API in a cron job. We
recommend <a href="#trello">the new Trello webhook
integration</a> (which will eventually replace this entirely).
Please <a href="https://github.com/zulip/zulip/issues/new">report
any issues</a> which cause you to prefer this integration over
the webhook integration.
</p>
<p>First, create the stream you'd like to use for Trello notifications,
and subscribe all interested parties to this stream. We recommend the
name <code>trello</code>.</p>
<p>Next, download a copy
of <a href="https://github.com/zulip/trello-to-zulip">trello-to-zulip</a>
and follow the instructions in <code>README.md</code>. When you
make changes in Trello, they will be reflected in Zulip:
</p>
<img class="screenshot" src="/static/images/integrations/trello/002.png" />
<p><small>Thanks to Nathan from FoundationDB for submitting this integration!</small></p>
<p style="font-size:11px; font-style:italic;">
Logos are trademarks of their respective owners.
None of the integrations on this page are created by,
affiliated with, or supported by the companies
represented by the logos.
</p>
</div>
<div id="twitter" class="integration-instructions">

View File

@ -0,0 +1,30 @@
<p>
This legacy integration for Trello works by running a script
that communicates with the Trello API in a cron job. We
recommend <a href="#trello">the new Trello webhook
integration</a> (which will eventually replace this entirely).
Please
<a href="https://github.com/zulip/zulip/issues/new">
report any issues
</a>
which cause you to prefer this integration over
the webhook integration.
</p>
<p>
First, create the stream you'd like to use for Trello notifications,
and subscribe all interested parties to this stream. We recommend the
name <code>trello</code>.
</p>
<p>
Next, download a copy
of <a href="https://github.com/zulip/trello-to-zulip">trello-to-zulip</a>
and follow the instructions in <code>README.md</code>. When you
make changes in Trello, they will be reflected in Zulip:
</p>
<img class="screenshot" src="/static/images/integrations/trello/002.png"/>
<p>
<small>Thanks to Nathan from FoundationDB for submitting this integration!</small>
</p>

View File

@ -234,7 +234,8 @@ INTEGRATIONS = {
'trello-plugin',
logo='static/images/integrations/logos/trello.svg',
secondary_line_text='(legacy)',
display_name='Trello'
display_name='Trello',
doc='zerver/integrations/trello-plugin.html'
),
'twitter': Integration('twitter', 'twitter'),