Permalink
Browse files

Move slack information page into its own subpath

This is required for slacks app publishing
  • Loading branch information...
jloh committed Sep 18, 2017
1 parent df13b9f commit 8538b819509f7700f05a99e3cfb7b7f9b1e9ee1c
Showing with 45 additions and 22 deletions.
  1. +1 −22 content/docs/v1/chatops.md
  2. +44 −0 content/docs/v1/chatops/slack.md
@@ -60,25 +60,4 @@ Same as the above, you can use it within Twist by using the GeoJS slash command.
## Slack <i class="fa fa-slack" aria-hidden="true"></i>
---
### Installation
Slack (like Twist) make installation super easy. Either [click here](https://slack.com/oauth/authorize?&client_id=159217363895.234425956290&scope=commands) or the button below.
<a href="https://slack.com/oauth/authorize?&client_id=159217363895.234425956290&scope=commands"><img alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x" /></a>
### Usage
Like everything else, you use the GeoJS slash command. For example `/geojs 8.8.8.8`.
There are plans to optionally have it display the message to the whole chat, at this stage it only replies to you.
<div class="row">
<div class="screenshot-holder col-xs-6 col-md-3">
<a href="/img/chatops/slack_app_example.png" data-title="Slack Example" data-toggle="lightbox">
<img class="img-responsive" src="/img/chatops/slack_app_example_thumb.png" alt="screenshot">
</a>
<a class="mask" href="/img/chatops/slack_app_example.png" data-title="Slack Example" data-toggle="lightbox">
<i class="icon fa fa-search-plus"></i>
</a>
</div>
</div>
Slack specific documentation can be [found here](/docs/chatops/slack/).
@@ -0,0 +1,44 @@
---
description: "Slack app setup and usage"
title: Slack App
weight: 110
draft: false
bref: "Slack setup and usage"
toc: "false"
icon: slack
homepage: false
card_colour: blue
Aliases:
- "/docs/chatops/slack/"
---
The GeoJS Slack app allows you to lookup geographical information about IPs from the comfort of Slack.
## Installation
Slack make installation super easy. Either [click here](https://slack.com/oauth/authorize?&client_id=159217363895.234425956290&scope=commands), use the button below or [search their Marketplace](https://jloh.slack.com/apps/search?q=GeoJS).
<a href="https://slack.com/oauth/authorize?&client_id=159217363895.234425956290&scope=commands"><img alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x" /></a>
## Usage
We currently only have one command, our slash command, which you can use by typing `/geojs [ip in here]`. For example `/geojs 8.8.8.8`.
There are plans to optionally have it display the message to the whole chat, at this stage it only replies to you. Checkout our example image below.
<div class="row">
<div class="screenshot-holder col-xs-6 col-md-3">
<a href="/img/chatops/slack_app_example.png" data-title="Slack Example" data-toggle="lightbox">
<img class="img-responsive" src="/img/chatops/slack_app_example_thumb.png" alt="screenshot">
</a>
<a class="mask" href="/img/chatops/slack_app_example.png" data-title="Slack Example" data-toggle="lightbox">
<i class="icon fa fa-search-plus"></i>
</a>
</div>
</div>
## Support
Should you run into any issues with the Slack app, you can reach out to my via the [contact page](/contact/) or via [Twitter](https://jloh.co/l/twitter).
This information is also displayed using `/geojs help` inside Slack.

0 comments on commit 8538b81

Please sign in to comment.