A Python robot that edits Wikipedia and interacts with people over IRC https://en.wikipedia.org/wiki/User:EarwigBot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. # EarwigBot documentation build configuration file, created by
  2. # sphinx-quickstart on Sun Apr 29 01:42:25 2012.
  3. #
  4. # This file is execfile()d with the current directory set to its containing dir.
  5. #
  6. # Note that not all possible configuration values are present in this
  7. # autogenerated file.
  8. #
  9. # All configuration values have a default; values that are commented out
  10. # serve to show the default.
  11. import os
  12. import sys
  13. # If extensions (or modules to document with autodoc) are in another directory,
  14. # add these directories to sys.path here. If the directory is relative to the
  15. # documentation root, use os.path.abspath to make it absolute, like shown here.
  16. sys.path.insert(0, os.path.abspath(".."))
  17. # -- General configuration -----------------------------------------------------
  18. # If your documentation needs a minimal Sphinx version, state it here.
  19. # needs_sphinx = '1.0'
  20. # Add any Sphinx extension module names here, as strings. They can be extensions
  21. # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
  22. extensions = ["sphinx.ext.autodoc", "sphinx.ext.coverage", "sphinx.ext.viewcode"]
  23. # Add any paths that contain templates here, relative to this directory.
  24. templates_path = ["_templates"]
  25. # The suffix of source filenames.
  26. source_suffix = ".rst"
  27. # The encoding of source files.
  28. # source_encoding = 'utf-8-sig'
  29. # The master toctree document.
  30. master_doc = "index"
  31. # General information about the project.
  32. project = "EarwigBot"
  33. copyright = "2009-2016 Ben Kurtovic"
  34. # The version info for the project you're documenting, acts as replacement for
  35. # |version| and |release|, also used in various other places throughout the
  36. # built documents.
  37. #
  38. # The short X.Y version.
  39. version = "0.4"
  40. # The full version, including alpha/beta/rc tags.
  41. release = "0.4.dev0"
  42. # The language for content autogenerated by Sphinx. Refer to documentation
  43. # for a list of supported languages.
  44. # language = None
  45. # There are two options for replacing |today|: either, you set today to some
  46. # non-false value, then it is used:
  47. # today = ''
  48. # Else, today_fmt is used as the format for a strftime call.
  49. # today_fmt = '%B %d, %Y'
  50. # List of patterns, relative to source directory, that match files and
  51. # directories to ignore when looking for source files.
  52. exclude_patterns = ["_build"]
  53. # The reST default role (used for this markup: `text`) to use for all documents.
  54. # default_role = None
  55. # If true, '()' will be appended to :func: etc. cross-reference text.
  56. # add_function_parentheses = True
  57. # If true, the current module name will be prepended to all description
  58. # unit titles (such as .. function::).
  59. # add_module_names = True
  60. # If true, sectionauthor and moduleauthor directives will be shown in the
  61. # output. They are ignored by default.
  62. # show_authors = False
  63. # The name of the Pygments (syntax highlighting) style to use.
  64. pygments_style = "sphinx"
  65. # A list of ignored prefixes for module index sorting.
  66. # modindex_common_prefix = []
  67. # -- Options for HTML output ---------------------------------------------------
  68. # The theme to use for HTML and HTML Help pages. See the documentation for
  69. # a list of builtin themes.
  70. html_theme = "nature"
  71. # Theme options are theme-specific and customize the look and feel of a theme
  72. # further. For a list of options available for each theme, see the
  73. # documentation.
  74. # html_theme_options = {}
  75. # Add any paths that contain custom themes here, relative to this directory.
  76. # html_theme_path = []
  77. # The name for this set of Sphinx documents. If None, it defaults to
  78. # "<project> v<release> documentation".
  79. # html_title = None
  80. # A shorter title for the navigation bar. Default is the same as html_title.
  81. # html_short_title = None
  82. # The name of an image file (relative to this directory) to place at the top
  83. # of the sidebar.
  84. # html_logo = None
  85. # The name of an image file (within the static path) to use as favicon of the
  86. # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
  87. # pixels large.
  88. # html_favicon = None
  89. # Add any paths that contain custom static files (such as style sheets) here,
  90. # relative to this directory. They are copied after the builtin static files,
  91. # so a file named "default.css" will overwrite the builtin "default.css".
  92. html_static_path = ["_static"]
  93. # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
  94. # using the given strftime format.
  95. # html_last_updated_fmt = '%b %d, %Y'
  96. # If true, SmartyPants will be used to convert quotes and dashes to
  97. # typographically correct entities.
  98. # html_use_smartypants = True
  99. # Custom sidebar templates, maps document names to template names.
  100. # html_sidebars = {}
  101. # Additional templates that should be rendered to pages, maps page names to
  102. # template names.
  103. # html_additional_pages = {}
  104. # If false, no module index is generated.
  105. # html_domain_indices = True
  106. # If false, no index is generated.
  107. # html_use_index = True
  108. # If true, the index is split into individual pages for each letter.
  109. # html_split_index = False
  110. # If true, links to the reST sources are added to the pages.
  111. # html_show_sourcelink = True
  112. # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
  113. # html_show_sphinx = True
  114. # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
  115. # html_show_copyright = True
  116. # If true, an OpenSearch description file will be output, and all pages will
  117. # contain a <link> tag referring to it. The value of this option must be the
  118. # base URL from which the finished HTML is served.
  119. # html_use_opensearch = ''
  120. # This is the file name suffix for HTML files (e.g. ".xhtml").
  121. # html_file_suffix = None
  122. # Output file base name for HTML help builder.
  123. htmlhelp_basename = "EarwigBotdoc"
  124. # -- Options for LaTeX output --------------------------------------------------
  125. latex_elements = {
  126. # The paper size ('letterpaper' or 'a4paper').
  127. #'papersize': 'letterpaper',
  128. # The font size ('10pt', '11pt' or '12pt').
  129. #'pointsize': '10pt',
  130. # Additional stuff for the LaTeX preamble.
  131. #'preamble': '',
  132. }
  133. # Grouping the document tree into LaTeX files. List of tuples
  134. # (source start file, target name, title, author, documentclass [howto/manual]).
  135. latex_documents = [
  136. ("index", "EarwigBot.tex", "EarwigBot Documentation", "Ben Kurtovic", "manual"),
  137. ]
  138. # The name of an image file (relative to this directory) to place at the top of
  139. # the title page.
  140. # latex_logo = None
  141. # For "manual" documents, if this is true, then toplevel headings are parts,
  142. # not chapters.
  143. # latex_use_parts = False
  144. # If true, show page references after internal links.
  145. # latex_show_pagerefs = False
  146. # If true, show URL addresses after external links.
  147. # latex_show_urls = False
  148. # Documents to append as an appendix to all manuals.
  149. # latex_appendices = []
  150. # If false, no module index is generated.
  151. # latex_domain_indices = True
  152. # -- Options for manual page output --------------------------------------------
  153. # One entry per manual page. List of tuples
  154. # (source start file, name, description, authors, manual section).
  155. man_pages = [("index", "earwigbot", "EarwigBot Documentation", ["Ben Kurtovic"], 1)]
  156. # If true, show URL addresses after external links.
  157. # man_show_urls = False
  158. # -- Options for Texinfo output ------------------------------------------------
  159. # Grouping the document tree into Texinfo files. List of tuples
  160. # (source start file, target name, title, author,
  161. # dir menu entry, description, category)
  162. texinfo_documents = [
  163. (
  164. "index",
  165. "EarwigBot",
  166. "EarwigBot Documentation",
  167. "Ben Kurtovic",
  168. "EarwigBot",
  169. "EarwigBot is a bot that edits Wikipedia and interacts over IRC",
  170. "Miscellaneous",
  171. ),
  172. ]
  173. # Documents to append as an appendix to all manuals.
  174. # texinfo_appendices = []
  175. # If false, no module index is generated.
  176. # texinfo_domain_indices = True
  177. # How to display URL addresses: 'footnote', 'no', or 'inline'.
  178. # texinfo_show_urls = 'footnote'