From a267c61cddfb3324373d13980ef4beb23af7a2d5 Mon Sep 17 00:00:00 2001 From: Cynthia Lin Date: Fri, 21 Apr 2017 22:26:34 -0700 Subject: [PATCH] integrations: Update docs for adding integration images. --- docs/integration-guide.md | 15 +++++++++++---- package.json | 1 + 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/integration-guide.md b/docs/integration-guide.md index 5eb4c5dbb9e02..e093e23ad4f8b 100644 --- a/docs/integration-guide.md +++ b/docs/integration-guide.md @@ -221,10 +221,17 @@ Usually, this involves a few steps: * Make sure you've added your integration to `zerver/lib/integrations.py`; this results in your integration - appearing on the `/integrations` page. You'll need to add a logo - image for your integration under the - `static/images/integrations/logos/.png`, where `` is the - name of the integration, all in lower case. + appearing on the `/integrations` page. + +* You'll need to add a SVG graphic + of your integration's logo under the + `static/images/integrations/logos/.svg`, where `` is the + name of the integration, all in lower case; you can usually find them in the + product branding or press page. Make sure to optimize the SVG graphic by + running `svgo -f path-to-file`. + + If you cannot find a SVG graphic of the logo, please find and include a PNG + image of the logo instead. * Finally, generate a message sent by the integration and take a screenshot of the message to provide an example message in the diff --git a/package.json b/package.json index dd814278b844a..e10133ae6b913 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "jsdom": "9.4.1", "nwmatcher": "1.3.6", "phantomjs-prebuilt": "2.1.14", + "svgo": "0.7.2", "webpack-dev-server": "1.12.1", "xmlhttprequest": "1.5.0" },