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
061832df
Commit
061832df
authored
Sep 04, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show documentation TOC in a left sidebar
parent
462a4890
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
37 additions
and
58 deletions
+37
-58
docs/source/_static/style.css
docs/source/_static/style.css
+22
-0
docs/source/_templates/localtoc.html
docs/source/_templates/localtoc.html
+13
-0
docs/source/conf.py
docs/source/conf.py
+2
-2
docs/source/configuration.rst
docs/source/configuration.rst
+0
-4
docs/source/developer_api.rst
docs/source/developer_api.rst
+0
-4
docs/source/developer_guidelines.rst
docs/source/developer_guidelines.rst
+0
-4
docs/source/documentation.rst
docs/source/documentation.rst
+0
-4
docs/source/events.rst
docs/source/events.rst
+0
-4
docs/source/features.rst
docs/source/features.rst
+0
-4
docs/source/manual.rst
docs/source/manual.rst
+0
-4
docs/source/other_frameworks.rst
docs/source/other_frameworks.rst
+0
-4
docs/source/plugin_development.rst
docs/source/plugin_development.rst
+0
-4
docs/source/setup.rst
docs/source/setup.rst
+0
-4
docs/source/style_guide.rst
docs/source/style_guide.rst
+0
-4
docs/source/theming.rst
docs/source/theming.rst
+0
-4
docs/source/translations.rst
docs/source/translations.rst
+0
-4
docs/source/troubleshooting.rst
docs/source/troubleshooting.rst
+0
-4
No files found.
docs/source/_static/style.css
View file @
061832df
...
@@ -28,6 +28,28 @@ h5 {
...
@@ -28,6 +28,28 @@ h5 {
margin-right
:
0.5em
;
margin-right
:
0.5em
;
}
}
.nav-header
{
font-weight
:
bold
;
font-size
:
110%
;
}
.sidebar-title
{
padding-left
:
15px
;
}
#sidebar
>
.nav-list
{
height
:
100vh
;
overflow-y
:
scroll
;
}
.bs-sidenav
.nav
.nav
>
li
>
a
{
font-size
:
100%
;
}
.bs-sidenav
.nav
.nav
.nav
>
li
>
a
{
font-size
:
90%
;
color
:
gray
;
}
/*
/*
Copyright (c) 2012 Terrence Ryan
Copyright (c) 2012 Terrence Ryan
...
...
docs/source/_templates/localtoc.html
0 → 100644
View file @
061832df
{#
basic/localtoc.html
~~~~~~~~~~~~~~~~~~~
Sphinx sidebar template: local table of contents.
:copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
{%- if display_toc %}
<h3
class=
"sidebar-title"
><a
href=
"{{ pathto(master_doc) }}"
>
{{ _('Table Of Contents') }}
</a></h3>
{{ toc }}
{%- endif %}
docs/source/conf.py
View file @
061832df
...
@@ -41,7 +41,7 @@ master_doc = 'index'
...
@@ -41,7 +41,7 @@ master_doc = 'index'
# General information about the project.
# General information about the project.
project
=
u'Converse.js'
project
=
u'Converse.js'
copyright
=
u'201
4
, JC Brand'
copyright
=
u'201
7
, JC Brand'
# The version info for the project you're documenting, acts as replacement for
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# |version| and |release|, also used in various other places throughout the
...
@@ -177,7 +177,7 @@ html_favicon = "_static/favicon.ico"
...
@@ -177,7 +177,7 @@ html_favicon = "_static/favicon.ico"
#html_use_smartypants = True
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {
}
html_sidebars
=
{
'**'
:
[
'localtoc.html'
,
'sourcelink.html'
,
'searchbox.html'
]
}
# Additional templates that should be rendered to pages, maps page names to
# Additional templates that should be rendered to pages, maps page names to
# template names.
# template names.
...
...
docs/source/configuration.rst
View file @
061832df
...
@@ -6,10 +6,6 @@
...
@@ -6,10 +6,6 @@
Configuration
Configuration
=============
=============
.. contents:: Table of Contents
:depth: 2
:local:
The included minified JS and CSS files can be used for demoing or testing, but
The included minified JS and CSS files can be used for demoing or testing, but
you'll want to configure *Converse.js* to suit your needs before you deploy it
you'll want to configure *Converse.js* to suit your needs before you deploy it
on your website.
on your website.
...
...
docs/source/developer_api.rst
View file @
061832df
...
@@ -6,10 +6,6 @@
...
@@ -6,10 +6,6 @@
The converse.js developer API
The converse.js developer API
=============================
=============================
.. contents:: Table of Contents
:depth: 2
:local:
.. note:: The API documented here is available in Converse.js 0.8.4 and higher.
.. note:: The API documented here is available in Converse.js 0.8.4 and higher.
Earlier versions of Converse.js might have different API methods or none at all.
Earlier versions of Converse.js might have different API methods or none at all.
...
...
docs/source/developer_guidelines.rst
View file @
061832df
...
@@ -5,10 +5,6 @@
...
@@ -5,10 +5,6 @@
Developer guidelines
Developer guidelines
====================
====================
.. contents:: Table of Contents
:depth: 2
:local:
If you want to work with the non-minified JavaScript and CSS files you'll soon
If you want to work with the non-minified JavaScript and CSS files you'll soon
notice that there are references to a missing *node_modules* directory.
notice that there are references to a missing *node_modules* directory.
Please follow the instructions below to create these directories and fetch Converse's
Please follow the instructions below to create these directories and fetch Converse's
...
...
docs/source/documentation.rst
View file @
061832df
...
@@ -6,10 +6,6 @@
...
@@ -6,10 +6,6 @@
Writing Documentation
Writing Documentation
=====================
=====================
.. contents:: Table of Contents
:depth: 2
:local:
.. note:: Contributions to the documentation are much appreciated.
.. note:: Contributions to the documentation are much appreciated.
What is used to write the documentation?
What is used to write the documentation?
...
...
docs/source/events.rst
View file @
061832df
...
@@ -7,10 +7,6 @@
...
@@ -7,10 +7,6 @@
Events and promises
Events and promises
===================
===================
.. contents:: Table of Contents
:depth: 2
:local:
Converse.js and its plugins emit various events which you can listen to via the
Converse.js and its plugins emit various events which you can listen to via the
:ref:`listen-grouping`.
:ref:`listen-grouping`.
...
...
docs/source/features.rst
View file @
061832df
...
@@ -6,10 +6,6 @@
...
@@ -6,10 +6,6 @@
Features
Features
========
========
.. contents:: Table of Contents
:depth: 2
:local:
Off-the-record encryption
Off-the-record encryption
=========================
=========================
...
...
docs/source/manual.rst
View file @
061832df
...
@@ -10,10 +10,6 @@ The Converse.js User Manual
...
@@ -10,10 +10,6 @@ The Converse.js User Manual
<br />
<br />
.. contents:: Table of Contents
:depth: 2
:local:
.. figure:: images/homepage.jpg
.. figure:: images/homepage.jpg
:align: right
:align: right
:alt: The converse.js website
:alt: The converse.js website
...
...
docs/source/other_frameworks.rst
View file @
061832df
...
@@ -5,10 +5,6 @@
...
@@ -5,10 +5,6 @@
Integrating converse.js into other frameworks
Integrating converse.js into other frameworks
=============================================
=============================================
.. contents:: Table of Contents
:depth: 2
:local:
Angular.js
Angular.js
----------
----------
...
...
docs/source/plugin_development.rst
View file @
061832df
...
@@ -7,10 +7,6 @@
...
@@ -7,10 +7,6 @@
Writing a plugin
Writing a plugin
================
================
.. contents:: Table of Contents
:depth: 2
:local:
Introduction
Introduction
------------
------------
...
...
docs/source/setup.rst
View file @
061832df
...
@@ -6,10 +6,6 @@
...
@@ -6,10 +6,6 @@
Setup and integration
Setup and integration
=====================
=====================
.. contents:: Table of Contents
:depth: 2
:local:
.. _what-you-will-need:
.. _what-you-will-need:
------------------
------------------
...
...
docs/source/style_guide.rst
View file @
061832df
...
@@ -5,10 +5,6 @@
...
@@ -5,10 +5,6 @@
Software Style Guide
Software Style Guide
====================
====================
.. contents:: Table of Contents
:depth: 2
:local:
.. note:: Converse.js doesn't yet use any of the new `ES2015
.. note:: Converse.js doesn't yet use any of the new `ES2015
<https://babeljs.io/docs/learn-es2015/>`_ features, because we don't
<https://babeljs.io/docs/learn-es2015/>`_ features, because we don't
rely on a transpiler and still support older browsers.
rely on a transpiler and still support older browsers.
...
...
docs/source/theming.rst
View file @
061832df
...
@@ -8,10 +8,6 @@
...
@@ -8,10 +8,6 @@
Theming
Theming
=======
=======
.. contents:: Table of Contents
:depth: 2
:local:
Setting up your environment
Setting up your environment
===========================
===========================
...
...
docs/source/translations.rst
View file @
061832df
...
@@ -6,10 +6,6 @@
...
@@ -6,10 +6,6 @@
Translations
Translations
============
============
.. contents:: Table of Contents
:depth: 2
:local:
.. note::
.. note::
Translations take up a lot of space and will bloat your minified file.
Translations take up a lot of space and will bloat your minified file.
At the time of writing, all the translations add about 50KB of extra data to
At the time of writing, all the translations add about 50KB of extra data to
...
...
docs/source/troubleshooting.rst
View file @
061832df
...
@@ -6,10 +6,6 @@
...
@@ -6,10 +6,6 @@
Troubleshooting and debugging
Troubleshooting and debugging
=============================
=============================
.. contents:: Table of Contents
:depth: 2
:local:
General tips on debugging Converse.js
General tips on debugging Converse.js
=====================================
=====================================
...
...
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