Getting sid
------------
-Currently unreleased, only a development version is available.
+Currently unreleased on PyPi_.
+
+`git tagged` version and `master branch` should be stable though.
+
+* Doc: https://kaliko.gitlab.io/sid/
+* git: https://gitlab.com/kaliko/sid.git
+* Issue: https://gitlab.com/kaliko/sid/-/issues
-* doc: https://kaliko.gitlab.io/sid/
-* git: https://gitlab.com/kaliko/sid.git
-* issue: https://gitlab.com/kaliko/sid/-/issues
Get the source with git::
git clone git://git.kaliko.me/sid.git
+Install/update master from git::
+
+ pip install -U git+https://gitlab.com/kaliko/sid.git@master#egg=sid
Using the bot
-------------
from sid.ping import Ping
JID = 'bot@example.org'
+ ROOM = 'room@conf.example.org'
+ # Pay attention: if you join the room with the same account/nick,
+ # For instance with a regular interactive client, the bot will
+ # not answer you, it ignores its own messages for obvious reasons.
NICK = 'sid'
PASS = getpass.getpass(f'Password for "{JID}": ')
- ROOM = 'room@conf.example.org'
# Instanciate the bot
xmpp = MUCBot(JID, PASS, ROOM, NICK)
The current maintainer can be found on xmpp chat room <kaliko.me⊘conf.azylum.org>
or you can contact him by email/xmpp <kaliko⊘azylum.org>.
+
+.. _PyPI: https://pypi.org
# If your documentation needs a minimal Sphinx version, state it here.
#
-# needs_sphinx = '1.0'
+# need 2.0 at least for "autodecorator"
+needs_sphinx = '2.0'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
exclude_patterns = []
# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = None
+pygments_style = 'sphinx'
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
-html_theme = 'alabaster'
#html_theme = 'sphinx_rtd_theme'
+#html_theme_options = {
+# 'prev_next_buttons_location': 'both',
+# 'style_external_links': True,
+# }
+html_theme = 'alabaster'
+html_theme_options = {
+ 'donate_url': 'https://liberapay.com/kaliko/'
+ }
+html_show_sphinx = False
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the