diff --git a/templates/zerver/integrations/index.html b/templates/zerver/integrations/index.html index dc2028b5e6..96023cd9f4 100644 --- a/templates/zerver/integrations/index.html +++ b/templates/zerver/integrations/index.html @@ -116,61 +116,6 @@ {% include 'zerver/integrations/email.html' %} {% endif %} -
It is easy to send Zulips on SVN commits, by configuring a post-commit - hook. To do this:
- -First, create the stream you'd like to use for SVN commit
-      notifications, and subscribe all interested parties to this stream. The
-      integration will use the default stream commits if no stream
-      is supplied in the hook; you still need to create the stream even if you
-      are using this default.
Then:
- -pysvn. On Linux, you can install
-        the python-svn package. On other platforms, you can install
-        a binary or from source following
-        the instructions
-        on the pysvn website.integrations/svn/zulip_svn_config.py
-        and integrations/svn/post-commit from the API bindings
-        directory to the hooks subdirectory of your SVN
-        repository.Next, open integrations/git/zulip_svn_config.py
-          in your favorite editor, and change the following lines to
-          configure your SVN integration:
ZULIP_USER = "svn-bot@example.com" -ZULIP_API_KEY = "0123456789abcdef0123456789abcdef" -{% if api_site_required %}ZULIP_SITE = "{{ external_api_uri_subdomain }}"{% endif %}
commits; if you'd prefer a different stream, change it
-        now in zulip_svn_config.py. Make sure that everyone
-        interested in getting these post-commit Zulips is subscribed to that
-        stream!Congratulations! You're done!
 When you commit to this SVN
-      repository, the team can see these updates in real time in Zulip:
-
-      - 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. -
-+ It is easy to send Zulips on SVN commits, by configuring a post-commit + hook. To do this: +
+ +
+    First, create the stream you'd like to use for SVN commit
+    notifications, and subscribe all interested parties to this stream. The
+    integration will use the default stream commits if no stream
+    is supplied in the hook; you still need to create the stream even if you
+    are using this default.
+
Then:
+ +pysvn. On Linux, you can install
+        the python-svn package. On other platforms, you can install
+        a binary or from source following the
+        
+            instructions on the pysvn website
+        .
+    integrations/svn/zulip_svn_config.py
+        and integrations/svn/post-commit from the API bindings
+        directory to the hooks subdirectory of your SVN
+        repository.
+    
+            Next, open integrations/git/zulip_svn_config.py
+            in your favorite editor, and change the following lines to
+            configure your SVN integration:
+        
ZULIP_USER = "svn-bot@example.com" +ZULIP_API_KEY = "0123456789abcdef0123456789abcdef" +{% if api_site_required %}ZULIP_SITE = "{{ external_api_uri_subdomain }}"{% endif %}+
commits; if you'd prefer a different stream, change it
+        now in zulip_svn_config.py. Make sure that everyone
+        interested in getting these post-commit Zulips is subscribed to that
+        stream!
+    
+    Congratulations! You're done!
 When you commit to this SVN
+    repository, the team can see these updates in real time in Zulip:
+
diff --git a/tools/check-templates b/tools/check-templates
index c15b37a724..c0786a3eb4 100755
--- a/tools/check-templates
+++ b/tools/check-templates
@@ -133,6 +133,7 @@ def check_html_templates(templates, all_dups):
             'templates/zerver/integrations/mercurial.html',
             'templates/zerver/integrations/nagios.html',
             'templates/zerver/integrations/openshift.html',
+            'templates/zerver/integrations/subversion.html',
         ]
         validate(fn=fn, check_indent=(fn not in bad_files))
 
@@ -194,6 +195,7 @@ def check_html_templates(templates, all_dups):
         'templates/zerver/integrations/mercurial.html',
         'templates/zerver/integrations/nagios.html',
         'templates/zerver/integrations/openshift.html',
+        'templates/zerver/integrations/subversion.html',
     ]
     # TODO: Clean these files
     for fn in templates:
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index 53f8e7ba71..2588655e6a 100644
--- a/zerver/lib/integrations.py
+++ b/zerver/lib/integrations.py
@@ -227,7 +227,7 @@ INTEGRATIONS = {
     'puppet': Integration('puppet', 'puppet', doc='zerver/integrations/puppet.html'),
     'redmine': Integration('redmine', 'redmine', doc='zerver/integrations/redmine.html'),
     'rss': Integration('rss', 'rss', display_name='RSS', doc='zerver/integrations/rss.html'),
-    'subversion': Integration('subversion', 'subversion'),
+    'subversion': Integration('subversion', 'subversion', doc='zerver/integrations/subversion.html'),
     'trac': Integration('trac', 'trac'),
     'trello-plugin': Integration(
         'trello-plugin',