mirror of
https://github.com/Mikaela/Limnoria-doc.git
synced 2025-02-09 19:14:04 +01:00
Enhance doc of irclib and callbacks.
This commit is contained in:
parent
e50cfad04d
commit
f76f54dec8
1
conf.py
1
conf.py
@ -216,3 +216,4 @@ man_pages = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
autodoc_default_flags = ['show-inheritance']
|
autodoc_default_flags = ['show-inheritance']
|
||||||
|
primary_domain = 'py'
|
||||||
|
@ -4,15 +4,36 @@
|
|||||||
supybot.callbacks
|
supybot.callbacks
|
||||||
*****************
|
*****************
|
||||||
|
|
||||||
Most used classes
|
|
||||||
=================
|
|
||||||
|
|
||||||
.. _supybot-callbacks-plugin:
|
.. _supybot-callbacks-plugin:
|
||||||
|
|
||||||
supybot.callbacks-plugin
|
Plugin
|
||||||
------------------------
|
======
|
||||||
|
|
||||||
.. autoclass:: supybot.callbacks.Plugin
|
.. autoclass:: supybot.callbacks.Plugin
|
||||||
:members:
|
:members:
|
||||||
:inherited-members:
|
:inherited-members:
|
||||||
|
|
||||||
|
.. _supybot-callbacks-pluginregexp:
|
||||||
|
|
||||||
|
PluginRegexp
|
||||||
|
============
|
||||||
|
|
||||||
|
.. autoclass:: supybot.callbacks.PluginRegexp
|
||||||
|
:members:
|
||||||
|
:inherited-members:
|
||||||
|
|
||||||
|
.. _supybot-callbacks-tokenize:
|
||||||
|
|
||||||
|
tokenize
|
||||||
|
========
|
||||||
|
|
||||||
|
.. autofunction:: supybot.callbacks.tokenize
|
||||||
|
|
||||||
|
|
||||||
|
Other classes
|
||||||
|
=============
|
||||||
|
|
||||||
|
.. automodule:: supybot.callbacks
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:exclude-members: Plugin, tokenize
|
||||||
|
@ -7,7 +7,7 @@ Developping plugins for Limnoria
|
|||||||
Doc provided with Supybot:
|
Doc provided with Supybot:
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 1
|
||||||
|
|
||||||
../import/PLUGIN_TUTORIAL.rst
|
../import/PLUGIN_TUTORIAL.rst
|
||||||
../import/USING_WRAP.rst
|
../import/USING_WRAP.rst
|
||||||
|
@ -4,13 +4,10 @@
|
|||||||
supybot.irclib
|
supybot.irclib
|
||||||
**************
|
**************
|
||||||
|
|
||||||
Most used classes
|
|
||||||
=================
|
|
||||||
|
|
||||||
.. _supybot-irclib-irc:
|
.. _supybot-irclib-irc:
|
||||||
|
|
||||||
supybot.irclib.Irc
|
Irc
|
||||||
------------------
|
===
|
||||||
|
|
||||||
It is usually the `irc` object given to plugin commands.
|
It is usually the `irc` object given to plugin commands.
|
||||||
|
|
||||||
@ -18,11 +15,27 @@ It is usually the `irc` object given to plugin commands.
|
|||||||
:members:
|
:members:
|
||||||
:inherited-members:
|
:inherited-members:
|
||||||
|
|
||||||
|
.. attribute:: zombie
|
||||||
|
|
||||||
|
Whether or not this object represents a living IRC connection.
|
||||||
|
|
||||||
|
:type: bool
|
||||||
|
|
||||||
|
.. attribute:: network
|
||||||
|
|
||||||
|
The name of the network this object is connected to.
|
||||||
|
|
||||||
|
:type: str
|
||||||
|
|
||||||
|
.. attribute:: startedAt
|
||||||
|
|
||||||
|
:type: float
|
||||||
|
|
||||||
|
|
||||||
.. _supybot-irclib-ircstate:
|
.. _supybot-irclib-ircstate:
|
||||||
|
|
||||||
supybot.irclib.IrcState
|
IrcState
|
||||||
-----------------------
|
========
|
||||||
|
|
||||||
Used mainly as the `state` attribute of :py:class:`supybot.irclib.Irc` objects.
|
Used mainly as the `state` attribute of :py:class:`supybot.irclib.Irc` objects.
|
||||||
|
|
||||||
@ -33,8 +46,8 @@ Used mainly as the `state` attribute of :py:class:`supybot.irclib.Irc` objects.
|
|||||||
|
|
||||||
.. _supybot-irclib-channelstate:
|
.. _supybot-irclib-channelstate:
|
||||||
|
|
||||||
supybot.irclib.ChannelState
|
ChannelState
|
||||||
---------------------------
|
============
|
||||||
|
|
||||||
Used mainly as the `channels['#chan']` attribute of
|
Used mainly as the `channels['#chan']` attribute of
|
||||||
:py:class:`supybot.irclib.Irc` objects.
|
:py:class:`supybot.irclib.Irc` objects.
|
||||||
@ -42,3 +55,10 @@ Used mainly as the `channels['#chan']` attribute of
|
|||||||
.. autoclass:: supybot.irclib.ChannelState
|
.. autoclass:: supybot.irclib.ChannelState
|
||||||
:members:
|
:members:
|
||||||
:inherited-members:
|
:inherited-members:
|
||||||
|
|
||||||
|
Other classes
|
||||||
|
=============
|
||||||
|
|
||||||
|
.. automodule:: supybot.irclib
|
||||||
|
:members:
|
||||||
|
:exclude-members: Irc, IrcState, ChannelState
|
||||||
|
Loading…
Reference in New Issue
Block a user