Don't load Converse in the docs

This commit is contained in:
JC Brand 2022-02-20 18:44:30 +01:00
parent c2ba8ecf97
commit a468a0fb24
3 changed files with 2 additions and 10 deletions

View File

@ -6,11 +6,9 @@
<script src="scripts/prettify/prettify.js"></script>
<script src="scripts/prettify/lang-css.js"></script>
<script src="./analytics.js"></script>
<script src="/dist/converse.min.js"></script>
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
<link type="text/css" rel="stylesheet" href="/docs/source/_static/api.css">
<link type="text/css" rel="stylesheet" href="/dist/converse.min.css">
<link rel="shortcut icon" href="/images/favicon.ico"/>
</head>
@ -61,6 +59,5 @@
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
<script>converse.initialize({'bosh_service_url': 'https://conversejs.org/http-bind/'});</script>
</body>
</html>

View File

@ -2,15 +2,12 @@
{% extends "!layout.html" %}
{# Custom CSS overrides #}
{% set css_files = css_files + ['_static/style.css', "../../dist/converse.min.css"] %}
{% set script_files = script_files + ["../../dist/converse.min.js", "../../analytics.js"] %}
{% set css_files = css_files + ['_static/style.css'] %}
{% set script_files = script_files + ["../../analytics.js"] %}
{# Add some extra stuff before and use existing with 'super()' call. #}
{% block footer %}
{{ super() }}
<script>
converse.initialize({'bosh_service_url': 'https://conversejs.org/http-bind/'});
</script>
{% endblock %}

View File

@ -2,8 +2,6 @@
<div id="banner"><a href="https://github.com/jcbrand/converse.js/blob/master/docs/source/setup.rst">Edit me on GitHub</a></div>
.. _what-you-will-need:
==================
Session Management
==================