We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Lost Vagrant docs
ce2a6b7c5a3549ce5a1a04fb33d4254f78bd1b1f removed documentation for Vagrant in `CONTRIBUTING.rst`


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `docs/conf.py`
Content:
```
1 # -*- coding: utf-8 -*-
2 #
3 # Let's Encrypt documentation build configuration file, created by
4 # sphinx-quickstart on Sun Nov 23 20:35:21 2014.
5 #
6 # This file is execfile()d with the current directory set to its
7 # containing dir.
8 #
9 # Note that not all possible configuration values are present in this
10 # autogenerated file.
11 #
12 # All configuration values have a default; values that are commented out
13 # serve to show the default.
14 
15 import codecs
16 import os
17 import re
18 import sys
19 
20 import mock
21 
22 
23 # http://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules
24 # c.f. #262
25 sys.modules.update(
26     (mod_name, mock.MagicMock()) for mod_name in ['augeas', 'M2Crypto'])
27 
28 here = os.path.abspath(os.path.dirname(__file__))
29 
30 # read version number (and other metadata) from package init
31 init_fn = os.path.join(here, '..', 'letsencrypt', '__init__.py')
32 with codecs.open(init_fn, encoding='utf8') as fd:
33     meta = dict(re.findall(r"""__([a-z]+)__ = "([^"]+)""", fd.read()))
34 
35 # If extensions (or modules to document with autodoc) are in another directory,
36 # add these directories to sys.path here. If the directory is relative to the
37 # documentation root, use os.path.abspath to make it absolute, like shown here.
38 sys.path.insert(0, os.path.abspath(os.path.join(here, '..')))
39 
40 # -- General configuration ------------------------------------------------
41 
42 # If your documentation needs a minimal Sphinx version, state it here.
43 #needs_sphinx = '1.0'
44 
45 # Add any Sphinx extension module names here, as strings. They can be
46 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
47 # ones.
48 extensions = [
49     'sphinx.ext.autodoc',
50     'sphinx.ext.intersphinx',
51     'sphinx.ext.todo',
52     'sphinx.ext.coverage',
53     'sphinx.ext.viewcode',
54     'repoze.sphinx.autointerface',
55 ]
56 
57 autodoc_member_order = 'bysource'
58 autodoc_default_flags = ['show-inheritance', 'private-members']
59 
60 # Add any paths that contain templates here, relative to this directory.
61 templates_path = ['_templates']
62 
63 # The suffix of source filenames.
64 source_suffix = '.rst'
65 
66 # The encoding of source files.
67 #source_encoding = 'utf-8-sig'
68 
69 # The master toctree document.
70 master_doc = 'index'
71 
72 # General information about the project.
73 project = u'Let\'s Encrypt'
74 copyright = u'2014, Let\'s Encrypt Project'
75 
76 # The version info for the project you're documenting, acts as replacement for
77 # |version| and |release|, also used in various other places throughout the
78 # built documents.
79 #
80 # The short X.Y version.
81 version = '.'.join(meta['version'].split('.')[:2])
82 # The full version, including alpha/beta/rc tags.
83 release = meta['version']
84 
85 # The language for content autogenerated by Sphinx. Refer to documentation
86 # for a list of supported languages.
87 #
88 # This is also used if you do content translation via gettext catalogs.
89 # Usually you set "language" from the command line for these cases.
90 language = None
91 
92 # There are two options for replacing |today|: either, you set today to some
93 # non-false value, then it is used:
94 #today = ''
95 # Else, today_fmt is used as the format for a strftime call.
96 #today_fmt = '%B %d, %Y'
97 
98 # List of patterns, relative to source directory, that match files and
99 # directories to ignore when looking for source files.
100 exclude_patterns = ['_build']
101 
102 # The reST default role (used for this markup: `text`) to use for all
103 # documents.
104 #default_role = None
105 
106 # If true, '()' will be appended to :func: etc. cross-reference text.
107 #add_function_parentheses = True
108 
109 # If true, the current module name will be prepended to all description
110 # unit titles (such as .. function::).
111 #add_module_names = True
112 
113 # If true, sectionauthor and moduleauthor directives will be shown in the
114 # output. They are ignored by default.
115 #show_authors = False
116 
117 # The name of the Pygments (syntax highlighting) style to use.
118 pygments_style = 'sphinx'
119 
120 # A list of ignored prefixes for module index sorting.
121 #modindex_common_prefix = []
122 
123 # If true, keep warnings as "system message" paragraphs in the built documents.
124 #keep_warnings = False
125 
126 
127 # -- Options for HTML output ----------------------------------------------
128 
129 # The theme to use for HTML and HTML Help pages.  See the documentation for
130 # a list of builtin themes.
131 
132 # http://docs.readthedocs.org/en/latest/theme.html#how-do-i-use-this-locally-and-on-read-the-docs
133 # on_rtd is whether we are on readthedocs.org
134 on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
135 if not on_rtd:  # only import and set the theme if we're building docs locally
136     import sphinx_rtd_theme
137     html_theme = 'sphinx_rtd_theme'
138     html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
139 # otherwise, readthedocs.org uses their theme by default, so no need to specify it
140 
141 # Theme options are theme-specific and customize the look and feel of a theme
142 # further.  For a list of options available for each theme, see the
143 # documentation.
144 #html_theme_options = {}
145 
146 # Add any paths that contain custom themes here, relative to this directory.
147 #html_theme_path = []
148 
149 # The name for this set of Sphinx documents.  If None, it defaults to
150 # "<project> v<release> documentation".
151 #html_title = None
152 
153 # A shorter title for the navigation bar.  Default is the same as html_title.
154 #html_short_title = None
155 
156 # The name of an image file (relative to this directory) to place at the top
157 # of the sidebar.
158 #html_logo = None
159 
160 # The name of an image file (within the static path) to use as favicon of the
161 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
162 # pixels large.
163 #html_favicon = None
164 
165 # Add any paths that contain custom static files (such as style sheets) here,
166 # relative to this directory. They are copied after the builtin static files,
167 # so a file named "default.css" will overwrite the builtin "default.css".
168 html_static_path = ['_static']
169 
170 # Add any extra paths that contain custom files (such as robots.txt or
171 # .htaccess) here, relative to this directory. These files are copied
172 # directly to the root of the documentation.
173 #html_extra_path = []
174 
175 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
176 # using the given strftime format.
177 #html_last_updated_fmt = '%b %d, %Y'
178 
179 # If true, SmartyPants will be used to convert quotes and dashes to
180 # typographically correct entities.
181 #html_use_smartypants = True
182 
183 # Custom sidebar templates, maps document names to template names.
184 #html_sidebars = {}
185 
186 # Additional templates that should be rendered to pages, maps page names to
187 # template names.
188 #html_additional_pages = {}
189 
190 # If false, no module index is generated.
191 #html_domain_indices = True
192 
193 # If false, no index is generated.
194 #html_use_index = True
195 
196 # If true, the index is split into individual pages for each letter.
197 #html_split_index = False
198 
199 # If true, links to the reST sources are added to the pages.
200 #html_show_sourcelink = True
201 
202 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
203 #html_show_sphinx = True
204 
205 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
206 #html_show_copyright = True
207 
208 # If true, an OpenSearch description file will be output, and all pages will
209 # contain a <link> tag referring to it.  The value of this option must be the
210 # base URL from which the finished HTML is served.
211 #html_use_opensearch = ''
212 
213 # This is the file name suffix for HTML files (e.g. ".xhtml").
214 #html_file_suffix = None
215 
216 # Language to be used for generating the HTML full-text search index.
217 # Sphinx supports the following languages:
218 #   'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
219 #   'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'
220 #html_search_language = 'en'
221 
222 # A dictionary with options for the search language support, empty by default.
223 # Now only 'ja' uses this config value
224 #html_search_options = {'type': 'default'}
225 
226 # The name of a javascript file (relative to the configuration directory) that
227 # implements a search results scorer. If empty, the default will be used.
228 #html_search_scorer = 'scorer.js'
229 
230 # Output file base name for HTML help builder.
231 htmlhelp_basename = 'LetsEncryptdoc'
232 
233 # -- Options for LaTeX output ---------------------------------------------
234 
235 latex_elements = {
236 # The paper size ('letterpaper' or 'a4paper').
237 #'papersize': 'letterpaper',
238 
239 # The font size ('10pt', '11pt' or '12pt').
240 #'pointsize': '10pt',
241 
242 # Additional stuff for the LaTeX preamble.
243 #'preamble': '',
244 
245 # Latex figure (float) alignment
246 #'figure_align': 'htbp',
247 }
248 
249 # Grouping the document tree into LaTeX files. List of tuples
250 # (source start file, target name, title,
251 #  author, documentclass [howto, manual, or own class]).
252 latex_documents = [
253   ('index', 'LetsEncrypt.tex', u'Let\'s Encrypt Documentation',
254    u'Let\'s Encrypt Project', 'manual'),
255 ]
256 
257 # The name of an image file (relative to this directory) to place at the top of
258 # the title page.
259 #latex_logo = None
260 
261 # For "manual" documents, if this is true, then toplevel headings are parts,
262 # not chapters.
263 #latex_use_parts = False
264 
265 # If true, show page references after internal links.
266 #latex_show_pagerefs = False
267 
268 # If true, show URL addresses after external links.
269 #latex_show_urls = False
270 
271 # Documents to append as an appendix to all manuals.
272 #latex_appendices = []
273 
274 # If false, no module index is generated.
275 #latex_domain_indices = True
276 
277 
278 # -- Options for manual page output ---------------------------------------
279 
280 # One entry per manual page. List of tuples
281 # (source start file, name, description, authors, manual section).
282 man_pages = [
283     ('index', 'letsencrypt', u'Let\'s Encrypt Documentation',
284      [u'Let\'s Encrypt Project'], 1)
285 ]
286 
287 # If true, show URL addresses after external links.
288 #man_show_urls = False
289 
290 
291 # -- Options for Texinfo output -------------------------------------------
292 
293 # Grouping the document tree into Texinfo files. List of tuples
294 # (source start file, target name, title, author,
295 #  dir menu entry, description, category)
296 texinfo_documents = [
297   ('index', 'LetsEncrypt', u'Let\'s Encrypt Documentation',
298    u'Let\'s Encrypt Project', 'LetsEncrypt', 'One line description of project.',
299    'Miscellaneous'),
300 ]
301 
302 # Documents to append as an appendix to all manuals.
303 #texinfo_appendices = []
304 
305 # If false, no module index is generated.
306 #texinfo_domain_indices = True
307 
308 # How to display URL addresses: 'footnote', 'no', or 'inline'.
309 #texinfo_show_urls = 'footnote'
310 
311 # If true, do not generate a @detailmenu in the "Top" node's menu.
312 #texinfo_no_detailmenu = False
313 
314 
315 # Example configuration for intersphinx: refer to the Python standard library.
316 intersphinx_mapping = {'http://docs.python.org/': None}
317 
318 todo_include_todos = True
319
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/docs/conf.py b/docs/conf.py
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -101,7 +101,7 @@
 
 # The reST default role (used for this markup: `text`) to use for all
 # documents.
-#default_role = None
+default_role = 'py:obj'
 
 # If true, '()' will be appended to :func: etc. cross-reference text.
 #add_function_parentheses = True

{"golden_diff": "diff --git a/docs/conf.py b/docs/conf.py\n--- a/docs/conf.py\n+++ b/docs/conf.py\n@@ -101,7 +101,7 @@\n \n # The reST default role (used for this markup: `text`) to use for all\n # documents.\n-#default_role = None\n+default_role = 'py:obj'\n \n # If true, '()' will be appended to :func: etc. cross-reference text.\n #add_function_parentheses = True\n", "issue": "Lost Vagrant docs\nce2a6b7c5a3549ce5a1a04fb33d4254f78bd1b1f removed documentation for Vagrant in `CONTRIBUTING.rst`\n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n#\n# Let's Encrypt documentation build configuration file, created by\n# sphinx-quickstart on Sun Nov 23 20:35:21 2014.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible configuration values are present in this\n# autogenerated file.\n#\n# All configuration values have a default; values that are commented out\n# serve to show the default.\n\nimport codecs\nimport os\nimport re\nimport sys\n\nimport mock\n\n\n# http://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules\n# c.f. #262\nsys.modules.update(\n    (mod_name, mock.MagicMock()) for mod_name in ['augeas', 'M2Crypto'])\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n# read version number (and other metadata) from package init\ninit_fn = os.path.join(here, '..', 'letsencrypt', '__init__.py')\nwith codecs.open(init_fn, encoding='utf8') as fd:\n    meta = dict(re.findall(r\"\"\"__([a-z]+)__ = \"([^\"]+)\"\"\", fd.read()))\n\n# If extensions (or modules to document with autodoc) are in another directory,\n# add these directories to sys.path here. If the directory is relative to the\n# documentation root, use os.path.abspath to make it absolute, like shown here.\nsys.path.insert(0, os.path.abspath(os.path.join(here, '..')))\n\n# -- General configuration ------------------------------------------------\n\n# If your documentation needs a minimal Sphinx version, state it here.\n#needs_sphinx = '1.0'\n\n# Add any Sphinx extension module names here, as strings. They can be\n# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n# ones.\nextensions = [\n    'sphinx.ext.autodoc',\n    'sphinx.ext.intersphinx',\n    'sphinx.ext.todo',\n    'sphinx.ext.coverage',\n    'sphinx.ext.viewcode',\n    'repoze.sphinx.autointerface',\n]\n\nautodoc_member_order = 'bysource'\nautodoc_default_flags = ['show-inheritance', 'private-members']\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\n\n# The suffix of source filenames.\nsource_suffix = '.rst'\n\n# The encoding of source files.\n#source_encoding = 'utf-8-sig'\n\n# The master toctree document.\nmaster_doc = 'index'\n\n# General information about the project.\nproject = u'Let\\'s Encrypt'\ncopyright = u'2014, Let\\'s Encrypt Project'\n\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\nversion = '.'.join(meta['version'].split('.')[:2])\n# The full version, including alpha/beta/rc tags.\nrelease = meta['version']\n\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n#\n# This is also used if you do content translation via gettext catalogs.\n# Usually you set \"language\" from the command line for these cases.\nlanguage = None\n\n# There are two options for replacing |today|: either, you set today to some\n# non-false value, then it is used:\n#today = ''\n# Else, today_fmt is used as the format for a strftime call.\n#today_fmt = '%B %d, %Y'\n\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\nexclude_patterns = ['_build']\n\n# The reST default role (used for this markup: `text`) to use for all\n# documents.\n#default_role = None\n\n# If true, '()' will be appended to :func: etc. cross-reference text.\n#add_function_parentheses = True\n\n# If true, the current module name will be prepended to all description\n# unit titles (such as .. function::).\n#add_module_names = True\n\n# If true, sectionauthor and moduleauthor directives will be shown in the\n# output. They are ignored by default.\n#show_authors = False\n\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = 'sphinx'\n\n# A list of ignored prefixes for module index sorting.\n#modindex_common_prefix = []\n\n# If true, keep warnings as \"system message\" paragraphs in the built documents.\n#keep_warnings = False\n\n\n# -- Options for HTML output ----------------------------------------------\n\n# The theme to use for HTML and HTML Help pages.  See the documentation for\n# a list of builtin themes.\n\n# http://docs.readthedocs.org/en/latest/theme.html#how-do-i-use-this-locally-and-on-read-the-docs\n# on_rtd is whether we are on readthedocs.org\non_rtd = os.environ.get('READTHEDOCS', None) == 'True'\nif not on_rtd:  # only import and set the theme if we're building docs locally\n    import sphinx_rtd_theme\n    html_theme = 'sphinx_rtd_theme'\n    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\n# otherwise, readthedocs.org uses their theme by default, so no need to specify it\n\n# Theme options are theme-specific and customize the look and feel of a theme\n# further.  For a list of options available for each theme, see the\n# documentation.\n#html_theme_options = {}\n\n# Add any paths that contain custom themes here, relative to this directory.\n#html_theme_path = []\n\n# The name for this set of Sphinx documents.  If None, it defaults to\n# \"<project> v<release> documentation\".\n#html_title = None\n\n# A shorter title for the navigation bar.  Default is the same as html_title.\n#html_short_title = None\n\n# The name of an image file (relative to this directory) to place at the top\n# of the sidebar.\n#html_logo = None\n\n# The name of an image file (within the static path) to use as favicon of the\n# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32\n# pixels large.\n#html_favicon = None\n\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static files,\n# so a file named \"default.css\" will overwrite the builtin \"default.css\".\nhtml_static_path = ['_static']\n\n# Add any extra paths that contain custom files (such as robots.txt or\n# .htaccess) here, relative to this directory. These files are copied\n# directly to the root of the documentation.\n#html_extra_path = []\n\n# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,\n# using the given strftime format.\n#html_last_updated_fmt = '%b %d, %Y'\n\n# If true, SmartyPants will be used to convert quotes and dashes to\n# typographically correct entities.\n#html_use_smartypants = True\n\n# Custom sidebar templates, maps document names to template names.\n#html_sidebars = {}\n\n# Additional templates that should be rendered to pages, maps page names to\n# template names.\n#html_additional_pages = {}\n\n# If false, no module index is generated.\n#html_domain_indices = True\n\n# If false, no index is generated.\n#html_use_index = True\n\n# If true, the index is split into individual pages for each letter.\n#html_split_index = False\n\n# If true, links to the reST sources are added to the pages.\n#html_show_sourcelink = True\n\n# If true, \"Created using Sphinx\" is shown in the HTML footer. Default is True.\n#html_show_sphinx = True\n\n# If true, \"(C) Copyright ...\" is shown in the HTML footer. Default is True.\n#html_show_copyright = True\n\n# If true, an OpenSearch description file will be output, and all pages will\n# contain a <link> tag referring to it.  The value of this option must be the\n# base URL from which the finished HTML is served.\n#html_use_opensearch = ''\n\n# This is the file name suffix for HTML files (e.g. \".xhtml\").\n#html_file_suffix = None\n\n# Language to be used for generating the HTML full-text search index.\n# Sphinx supports the following languages:\n#   'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'\n#   'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'\n#html_search_language = 'en'\n\n# A dictionary with options for the search language support, empty by default.\n# Now only 'ja' uses this config value\n#html_search_options = {'type': 'default'}\n\n# The name of a javascript file (relative to the configuration directory) that\n# implements a search results scorer. If empty, the default will be used.\n#html_search_scorer = 'scorer.js'\n\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'LetsEncryptdoc'\n\n# -- Options for LaTeX output ---------------------------------------------\n\nlatex_elements = {\n# The paper size ('letterpaper' or 'a4paper').\n#'papersize': 'letterpaper',\n\n# The font size ('10pt', '11pt' or '12pt').\n#'pointsize': '10pt',\n\n# Additional stuff for the LaTeX preamble.\n#'preamble': '',\n\n# Latex figure (float) alignment\n#'figure_align': 'htbp',\n}\n\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title,\n#  author, documentclass [howto, manual, or own class]).\nlatex_documents = [\n  ('index', 'LetsEncrypt.tex', u'Let\\'s Encrypt Documentation',\n   u'Let\\'s Encrypt Project', 'manual'),\n]\n\n# The name of an image file (relative to this directory) to place at the top of\n# the title page.\n#latex_logo = None\n\n# For \"manual\" documents, if this is true, then toplevel headings are parts,\n# not chapters.\n#latex_use_parts = False\n\n# If true, show page references after internal links.\n#latex_show_pagerefs = False\n\n# If true, show URL addresses after external links.\n#latex_show_urls = False\n\n# Documents to append as an appendix to all manuals.\n#latex_appendices = []\n\n# If false, no module index is generated.\n#latex_domain_indices = True\n\n\n# -- Options for manual page output ---------------------------------------\n\n# One entry per manual page. List of tuples\n# (source start file, name, description, authors, manual section).\nman_pages = [\n    ('index', 'letsencrypt', u'Let\\'s Encrypt Documentation',\n     [u'Let\\'s Encrypt Project'], 1)\n]\n\n# If true, show URL addresses after external links.\n#man_show_urls = False\n\n\n# -- Options for Texinfo output -------------------------------------------\n\n# Grouping the document tree into Texinfo files. List of tuples\n# (source start file, target name, title, author,\n#  dir menu entry, description, category)\ntexinfo_documents = [\n  ('index', 'LetsEncrypt', u'Let\\'s Encrypt Documentation',\n   u'Let\\'s Encrypt Project', 'LetsEncrypt', 'One line description of project.',\n   'Miscellaneous'),\n]\n\n# Documents to append as an appendix to all manuals.\n#texinfo_appendices = []\n\n# If false, no module index is generated.\n#texinfo_domain_indices = True\n\n# How to display URL addresses: 'footnote', 'no', or 'inline'.\n#texinfo_show_urls = 'footnote'\n\n# If true, do not generate a @detailmenu in the \"Top\" node's menu.\n#texinfo_no_detailmenu = False\n\n\n# Example configuration for intersphinx: refer to the Python standard library.\nintersphinx_mapping = {'http://docs.python.org/': None}\n\ntodo_include_todos = True\n", "path": "docs/conf.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n#\n# Let's Encrypt documentation build configuration file, created by\n# sphinx-quickstart on Sun Nov 23 20:35:21 2014.\n#\n# This file is execfile()d with the current directory set to its\n# containing dir.\n#\n# Note that not all possible configuration values are present in this\n# autogenerated file.\n#\n# All configuration values have a default; values that are commented out\n# serve to show the default.\n\nimport codecs\nimport os\nimport re\nimport sys\n\nimport mock\n\n\n# http://docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules\n# c.f. #262\nsys.modules.update(\n    (mod_name, mock.MagicMock()) for mod_name in ['augeas', 'M2Crypto'])\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\n# read version number (and other metadata) from package init\ninit_fn = os.path.join(here, '..', 'letsencrypt', '__init__.py')\nwith codecs.open(init_fn, encoding='utf8') as fd:\n    meta = dict(re.findall(r\"\"\"__([a-z]+)__ = \"([^\"]+)\"\"\", fd.read()))\n\n# If extensions (or modules to document with autodoc) are in another directory,\n# add these directories to sys.path here. If the directory is relative to the\n# documentation root, use os.path.abspath to make it absolute, like shown here.\nsys.path.insert(0, os.path.abspath(os.path.join(here, '..')))\n\n# -- General configuration ------------------------------------------------\n\n# If your documentation needs a minimal Sphinx version, state it here.\n#needs_sphinx = '1.0'\n\n# Add any Sphinx extension module names here, as strings. They can be\n# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n# ones.\nextensions = [\n    'sphinx.ext.autodoc',\n    'sphinx.ext.intersphinx',\n    'sphinx.ext.todo',\n    'sphinx.ext.coverage',\n    'sphinx.ext.viewcode',\n    'repoze.sphinx.autointerface',\n]\n\nautodoc_member_order = 'bysource'\nautodoc_default_flags = ['show-inheritance', 'private-members']\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\n\n# The suffix of source filenames.\nsource_suffix = '.rst'\n\n# The encoding of source files.\n#source_encoding = 'utf-8-sig'\n\n# The master toctree document.\nmaster_doc = 'index'\n\n# General information about the project.\nproject = u'Let\\'s Encrypt'\ncopyright = u'2014, Let\\'s Encrypt Project'\n\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\nversion = '.'.join(meta['version'].split('.')[:2])\n# The full version, including alpha/beta/rc tags.\nrelease = meta['version']\n\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n#\n# This is also used if you do content translation via gettext catalogs.\n# Usually you set \"language\" from the command line for these cases.\nlanguage = None\n\n# There are two options for replacing |today|: either, you set today to some\n# non-false value, then it is used:\n#today = ''\n# Else, today_fmt is used as the format for a strftime call.\n#today_fmt = '%B %d, %Y'\n\n# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\nexclude_patterns = ['_build']\n\n# The reST default role (used for this markup: `text`) to use for all\n# documents.\ndefault_role = 'py:obj'\n\n# If true, '()' will be appended to :func: etc. cross-reference text.\n#add_function_parentheses = True\n\n# If true, the current module name will be prepended to all description\n# unit titles (such as .. function::).\n#add_module_names = True\n\n# If true, sectionauthor and moduleauthor directives will be shown in the\n# output. They are ignored by default.\n#show_authors = False\n\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = 'sphinx'\n\n# A list of ignored prefixes for module index sorting.\n#modindex_common_prefix = []\n\n# If true, keep warnings as \"system message\" paragraphs in the built documents.\n#keep_warnings = False\n\n\n# -- Options for HTML output ----------------------------------------------\n\n# The theme to use for HTML and HTML Help pages.  See the documentation for\n# a list of builtin themes.\n\n# http://docs.readthedocs.org/en/latest/theme.html#how-do-i-use-this-locally-and-on-read-the-docs\n# on_rtd is whether we are on readthedocs.org\non_rtd = os.environ.get('READTHEDOCS', None) == 'True'\nif not on_rtd:  # only import and set the theme if we're building docs locally\n    import sphinx_rtd_theme\n    html_theme = 'sphinx_rtd_theme'\n    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\n# otherwise, readthedocs.org uses their theme by default, so no need to specify it\n\n# Theme options are theme-specific and customize the look and feel of a theme\n# further.  For a list of options available for each theme, see the\n# documentation.\n#html_theme_options = {}\n\n# Add any paths that contain custom themes here, relative to this directory.\n#html_theme_path = []\n\n# The name for this set of Sphinx documents.  If None, it defaults to\n# \"<project> v<release> documentation\".\n#html_title = None\n\n# A shorter title for the navigation bar.  Default is the same as html_title.\n#html_short_title = None\n\n# The name of an image file (relative to this directory) to place at the top\n# of the sidebar.\n#html_logo = None\n\n# The name of an image file (within the static path) to use as favicon of the\n# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32\n# pixels large.\n#html_favicon = None\n\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static files,\n# so a file named \"default.css\" will overwrite the builtin \"default.css\".\nhtml_static_path = ['_static']\n\n# Add any extra paths that contain custom files (such as robots.txt or\n# .htaccess) here, relative to this directory. These files are copied\n# directly to the root of the documentation.\n#html_extra_path = []\n\n# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,\n# using the given strftime format.\n#html_last_updated_fmt = '%b %d, %Y'\n\n# If true, SmartyPants will be used to convert quotes and dashes to\n# typographically correct entities.\n#html_use_smartypants = True\n\n# Custom sidebar templates, maps document names to template names.\n#html_sidebars = {}\n\n# Additional templates that should be rendered to pages, maps page names to\n# template names.\n#html_additional_pages = {}\n\n# If false, no module index is generated.\n#html_domain_indices = True\n\n# If false, no index is generated.\n#html_use_index = True\n\n# If true, the index is split into individual pages for each letter.\n#html_split_index = False\n\n# If true, links to the reST sources are added to the pages.\n#html_show_sourcelink = True\n\n# If true, \"Created using Sphinx\" is shown in the HTML footer. Default is True.\n#html_show_sphinx = True\n\n# If true, \"(C) Copyright ...\" is shown in the HTML footer. Default is True.\n#html_show_copyright = True\n\n# If true, an OpenSearch description file will be output, and all pages will\n# contain a <link> tag referring to it.  The value of this option must be the\n# base URL from which the finished HTML is served.\n#html_use_opensearch = ''\n\n# This is the file name suffix for HTML files (e.g. \".xhtml\").\n#html_file_suffix = None\n\n# Language to be used for generating the HTML full-text search index.\n# Sphinx supports the following languages:\n#   'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'\n#   'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'\n#html_search_language = 'en'\n\n# A dictionary with options for the search language support, empty by default.\n# Now only 'ja' uses this config value\n#html_search_options = {'type': 'default'}\n\n# The name of a javascript file (relative to the configuration directory) that\n# implements a search results scorer. If empty, the default will be used.\n#html_search_scorer = 'scorer.js'\n\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'LetsEncryptdoc'\n\n# -- Options for LaTeX output ---------------------------------------------\n\nlatex_elements = {\n# The paper size ('letterpaper' or 'a4paper').\n#'papersize': 'letterpaper',\n\n# The font size ('10pt', '11pt' or '12pt').\n#'pointsize': '10pt',\n\n# Additional stuff for the LaTeX preamble.\n#'preamble': '',\n\n# Latex figure (float) alignment\n#'figure_align': 'htbp',\n}\n\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title,\n#  author, documentclass [howto, manual, or own class]).\nlatex_documents = [\n  ('index', 'LetsEncrypt.tex', u'Let\\'s Encrypt Documentation',\n   u'Let\\'s Encrypt Project', 'manual'),\n]\n\n# The name of an image file (relative to this directory) to place at the top of\n# the title page.\n#latex_logo = None\n\n# For \"manual\" documents, if this is true, then toplevel headings are parts,\n# not chapters.\n#latex_use_parts = False\n\n# If true, show page references after internal links.\n#latex_show_pagerefs = False\n\n# If true, show URL addresses after external links.\n#latex_show_urls = False\n\n# Documents to append as an appendix to all manuals.\n#latex_appendices = []\n\n# If false, no module index is generated.\n#latex_domain_indices = True\n\n\n# -- Options for manual page output ---------------------------------------\n\n# One entry per manual page. List of tuples\n# (source start file, name, description, authors, manual section).\nman_pages = [\n    ('index', 'letsencrypt', u'Let\\'s Encrypt Documentation',\n     [u'Let\\'s Encrypt Project'], 1)\n]\n\n# If true, show URL addresses after external links.\n#man_show_urls = False\n\n\n# -- Options for Texinfo output -------------------------------------------\n\n# Grouping the document tree into Texinfo files. List of tuples\n# (source start file, target name, title, author,\n#  dir menu entry, description, category)\ntexinfo_documents = [\n  ('index', 'LetsEncrypt', u'Let\\'s Encrypt Documentation',\n   u'Let\\'s Encrypt Project', 'LetsEncrypt', 'One line description of project.',\n   'Miscellaneous'),\n]\n\n# Documents to append as an appendix to all manuals.\n#texinfo_appendices = []\n\n# If false, no module index is generated.\n#texinfo_domain_indices = True\n\n# How to display URL addresses: 'footnote', 'no', or 'inline'.\n#texinfo_show_urls = 'footnote'\n\n# If true, do not generate a @detailmenu in the \"Top\" node's menu.\n#texinfo_no_detailmenu = False\n\n\n# Example configuration for intersphinx: refer to the Python standard library.\nintersphinx_mapping = {'http://docs.python.org/': None}\n\ntodo_include_todos = True\n", "path": "docs/conf.py"}]}