Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
1be0917a
Commit
1be0917a
authored
Dec 07, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable chat for the documentation as well.
parent
c8e4f02b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
docs/source/_static/style.css
docs/source/_static/style.css
+4
-0
docs/source/_templates/layout.html
docs/source/_templates/layout.html
+27
-1
No files found.
docs/source/_static/style.css
View file @
1be0917a
h1
{
font-size
:
50px
;
}
.navbar-brand
{
padding-top
:
7px
;
}
docs/source/_templates/layout.html
View file @
1be0917a
...
...
@@ -2,4 +2,30 @@
{% extends "!layout.html" %}
{# Custom CSS overrides #}
{% set bootswatch_css_custom = ['_static/style.css'] %}
{% set bootswatch_css_custom = ['_static/style.css', "../../css/converse.min.css"] %}
{% set script_files = script_files + ["../../builds/converse.min.js"] %}
{# Add some extra stuff before and use existing with 'super()' call. #}
{% block footer %}
{{ super() }}
<script
type=
"text/javascript"
>
var
gaJsHost
=
((
"
https:
"
==
document
.
location
.
protocol
)
?
"
https://ssl.
"
:
"
http://www.
"
);
document
.
write
(
unescape
(
"
%3Cscript src='
"
+
gaJsHost
+
"
google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E
"
));
</script>
<script
type=
"text/javascript"
>
try
{
var
pageTracker
=
_gat
.
_getTracker
(
"
UA-2128260-8
"
);
pageTracker
.
_trackPageview
();
}
catch
(
err
)
{}
</script>
<script>
require
([
'
converse
'
],
function
(
converse
)
{
converse
.
initialize
({
bosh_service_url
:
'
https://conversejs.org/http-bind/
'
,
// Please use this connection manager only for testing purposes
i18n
:
locales
[
'
en
'
],
// Refer to ./locale/locales.js to see which locales are supported
keepalive
:
true
,
play_sounds
:
true
,
roster_groups
:
true
,
debug
:
false
,
xhr_user_search
:
false
});
});
</script>
{% endblock %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment