Browse Source

Updates and misc fixes, mainly to documentation.

tags/v0.1^2
Ben Kurtovic 12 years ago
parent
commit
37e64e65cd
4 changed files with 4 additions and 199 deletions
  1. +0
    -126
      docs/api/earwigbot.commands.rst
  2. +0
    -70
      docs/api/earwigbot.tasks.rst
  3. +3
    -2
      earwigbot/managers.py
  4. +1
    -1
      earwigbot/wiki/copyright.py

+ 0
- 126
docs/api/earwigbot.commands.rst View File

@@ -7,147 +7,3 @@ commands Package
.. automodule:: earwigbot.commands
:members:
:undoc-members:

:mod:`afc_report` Module

.. automodule:: earwigbot.commands.afc_report
:members:
:undoc-members:
:show-inheritance:

:mod:`afc_status` Module

.. automodule:: earwigbot.commands.afc_status
:members:
:undoc-members:
:show-inheritance:

:mod:`calc` Module

.. automodule:: earwigbot.commands.calc
:members:
:undoc-members:
:show-inheritance:

:mod:`chanops` Module

.. automodule:: earwigbot.commands.chanops
:members:
:undoc-members:
:show-inheritance:

:mod:`crypt` Module

.. automodule:: earwigbot.commands.crypt
:members:
:undoc-members:
:show-inheritance:

:mod:`ctcp` Module

.. automodule:: earwigbot.commands.ctcp
:members:
:undoc-members:
:show-inheritance:

:mod:`editcount` Module

.. automodule:: earwigbot.commands.editcount
:members:
:undoc-members:
:show-inheritance:

:mod:`git` Module

.. automodule:: earwigbot.commands.git
:members:
:undoc-members:
:show-inheritance:

:mod:`help` Module

.. automodule:: earwigbot.commands.help
:members:
:undoc-members:
:show-inheritance:

:mod:`link` Module

.. automodule:: earwigbot.commands.link
:members:
:undoc-members:
:show-inheritance:

:mod:`praise` Module

.. automodule:: earwigbot.commands.praise
:members:
:undoc-members:
:show-inheritance:

:mod:`quit` Module

.. automodule:: earwigbot.commands.quit
:members:
:undoc-members:
:show-inheritance:

:mod:`registration` Module

.. automodule:: earwigbot.commands.registration
:members:
:undoc-members:
:show-inheritance:

:mod:`remind` Module

.. automodule:: earwigbot.commands.remind
:members:
:undoc-members:
:show-inheritance:

:mod:`replag` Module

.. automodule:: earwigbot.commands.replag
:members:
:undoc-members:
:show-inheritance:

:mod:`rights` Module

.. automodule:: earwigbot.commands.rights
:members:
:undoc-members:
:show-inheritance:

:mod:`test` Module

.. automodule:: earwigbot.commands.test
:members:
:undoc-members:
:show-inheritance:

:mod:`threads` Module

.. automodule:: earwigbot.commands.threads
:members:
:undoc-members:
:show-inheritance:


+ 0
- 70
docs/api/earwigbot.tasks.rst View File

@@ -7,83 +7,3 @@ tasks Package
.. automodule:: earwigbot.tasks
:members:
:undoc-members:

:mod:`afc_catdelink` Module

.. automodule:: earwigbot.tasks.afc_catdelink
:members:
:undoc-members:
:show-inheritance:

:mod:`afc_copyvios` Module

.. automodule:: earwigbot.tasks.afc_copyvios
:members:
:undoc-members:
:show-inheritance:

:mod:`afc_dailycats` Module

.. automodule:: earwigbot.tasks.afc_dailycats
:members:
:undoc-members:
:show-inheritance:

:mod:`afc_history` Module

.. automodule:: earwigbot.tasks.afc_history
:members:
:undoc-members:
:show-inheritance:

:mod:`afc_statistics` Module

.. automodule:: earwigbot.tasks.afc_statistics
:members:
:undoc-members:
:show-inheritance:

:mod:`afc_undated` Module

.. automodule:: earwigbot.tasks.afc_undated
:members:
:undoc-members:
:show-inheritance:

:mod:`blptag` Module

.. automodule:: earwigbot.tasks.blptag
:members:
:undoc-members:
:show-inheritance:

:mod:`feed_dailycats` Module

.. automodule:: earwigbot.tasks.feed_dailycats
:members:
:undoc-members:
:show-inheritance:

:mod:`wikiproject_tagger` Module

.. automodule:: earwigbot.tasks.wikiproject_tagger
:members:
:undoc-members:
:show-inheritance:

:mod:`wrongmime` Module

.. automodule:: earwigbot.tasks.wrongmime
:members:
:undoc-members:
:show-inheritance:


+ 3
- 2
earwigbot/managers.py View File

@@ -193,8 +193,9 @@ class TaskManager(_ResourceManager):
def start(self, task_name, **kwargs):
"""Start a given task in a new daemon thread, and return the thread.

kwargs are passed to :py:meth:`task.run() <earwigbot.tasks.Task>`. If
the task is not found, ``None`` will be returned an an error is logged.
kwargs are passed to :py:meth:`task.run() <earwigbot.tasks.Task.run>`.
If the task is not found, ``None`` will be returned an an error is
logged.
"""
msg = "Starting task '{0}' in a new thread"
self.logger.info(msg.format(task_name))


+ 1
- 1
earwigbot/wiki/copyright.py View File

@@ -92,7 +92,7 @@ class _MarkovChainIntersection(_MarkovChain):
self.chain[word][node] = min(count1, count2)


class CopyrightMixin(object):
class CopyrightMixIn(object):
"""
EarwigBot's Wiki Toolset: Copyright Violation Mixin



Loading…
Cancel
Save