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
5d97445d
Commit
5d97445d
authored
Oct 06, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show the sponsors in the sphinx docs
parent
2b5d6327
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
50 additions
and
9 deletions
+50
-9
buildout.cfg
buildout.cfg
+1
-1
css/website.css
css/website.css
+2
-2
docs/source/_static/style.css
docs/source/_static/style.css
+24
-1
docs/source/_templates/sponsors.html
docs/source/_templates/sponsors.html
+16
-0
docs/source/conf.py
docs/source/conf.py
+1
-1
index.html
index.html
+4
-2
sass/website.scss
sass/website.scss
+2
-2
No files found.
buildout.cfg
View file @
5d97445d
...
...
@@ -11,4 +11,4 @@ eggs =
sphinx-bootstrap-theme
[versions]
Sphinx = 1.
7.5
Sphinx = 1.
8.1
css/website.css
View file @
5d97445d
...
...
@@ -5865,7 +5865,7 @@ ul.features {
.sponsors
{
clear
:
both
;
font-size
:
1.4em
;
padding
:
2em
0
6
em
0
;
}
padding
:
0
0
4
em
0
;
}
.sponsors
ul
{
padding
:
0
;
}
...
...
@@ -5881,6 +5881,6 @@ ul.features {
.sponsors-text
{
text-align
:
left
;
padding
:
0
0
2
em
0
;
}
padding
:
0
0
1
em
0
;
}
/*# sourceMappingURL=website.css.map */
docs/source/_static/style.css
View file @
5d97445d
...
...
@@ -37,8 +37,31 @@ h5 {
padding-left
:
15px
;
}
.bs-sidenav
.sponsors-list
li
a
:hover
{
background-color
:
transparent
;
border
:
none
;
}
.sponsors-list
li
a
{
text-align
:
center
;
}
.centered-text-container
{
display
:
block
;
width
:
100%
;
text-align
:
center
;
}
.patreon-link-container
{
margin
:
0.5em
0
1em
0
;
}
.patreon-link-container
a
{
font-size
:
85%
;
}
#sidebar
>
.nav-list
{
max-height
:
70
vh
;
max-height
:
48
vh
;
overflow-y
:
scroll
;
}
...
...
docs/source/_templates/sponsors.html
0 → 100644
View file @
5d97445d
<span
class=
"centered-text-container"
>
<h3
class=
"sidebar-title"
>
Sponsored by
</h3>
</span>
<ul
class=
"sponsors-list"
>
<li><a
href=
"https://www.keycdn.com/?utm_source=conversejs"
target=
"_blank"
rel=
"noopener"
>
<img
style=
"height: 2em"
src=
"/logo/keycdn.png"
alt=
"KeyCDN"
>
</a>
</li>
<li><a
href=
"https://wikisuite.org/?utm_source=conversejs"
target=
"_blank"
rel=
"noopener"
>
<img
style=
"height: 3em"
src=
"/logo/wikisuite.png"
alt=
"WikiSuite"
>
</a>
</li>
</ul>
<span
class=
"centered-text-container patreon-link-container"
>
<a
href=
"https://conversejs.org#sponsors"
>
Become a sponsor
</a>
</span>
docs/source/conf.py
View file @
5d97445d
...
...
@@ -177,7 +177,7 @@ html_favicon = "_static/favicon.ico"
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
html_sidebars
=
{
'**'
:
[
'localtoc.html'
,
'sourcelink.html'
,
'searchbox.html'
]}
html_sidebars
=
{
'**'
:
[
'
sponsors.html'
,
'
localtoc.html'
,
'sourcelink.html'
,
'searchbox.html'
]}
# Additional templates that should be rendered to pages, maps page names to
# template names.
...
...
index.html
View file @
5d97445d
...
...
@@ -231,6 +231,9 @@
<a
href=
"https://liberapay.com/jcbrand"
target=
"_blank"
rel=
"noopener"
>
Liberapay
</a>
or
<a
href=
"https://opkode.com/contact.html"
target=
"_blank"
rel=
"noopener"
>
contact us
</a>
.
</p>
<p>
Sponsorships of €50 or more will appear on this website and the online
<a
href=
"/docs/html/index.html"
>
Converse documentation
</a>
.
</p>
</div>
</div>
</div>
...
...
@@ -356,8 +359,7 @@
*/
converse
.
initialize
({
// Please use this connection manager only for testing purposes
bosh_service_url
:
'
https://conversejs.org/http-bind/
'
,
show_controlbox_by_default
:
true
bosh_service_url
:
'
https://conversejs.org/http-bind/
'
});
</script>
</html>
sass/website.scss
View file @
5d97445d
...
...
@@ -411,7 +411,7 @@ ul.features {
.sponsors
{
clear
:
both
;
font-size
:
1
.4em
;
padding
:
2em
0
6
em
0
;
padding
:
0
0
4
em
0
;
ul
{
padding
:
0
;
}
...
...
@@ -428,5 +428,5 @@ ul.features {
}
.sponsors-text
{
text-align
:
left
;
padding
:
0
0
2
em
0
;
padding
:
0
0
1
em
0
;
}
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