We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Clean up docs/source/conf.py file
I think we can change the names `Numpyro` -> `NumPyro` there, but I am not sure if the changes will affect the build of the website. So I make this issue.

cc @jpchen @neerajprad 

--- 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/source/conf.py`
Content:
```
1 import os
2 import sys
3 
4 import sphinx_rtd_theme
5 
6 
7 # import pkg_resources
8 
9 # -*- coding: utf-8 -*-
10 #
11 # Configuration file for the Sphinx documentation builder.
12 #
13 # This file does only contain a selection of the most common options. For a
14 # full list see the documentation:
15 # http://www.sphinx-doc.org/en/master/config
16 
17 # -- Path setup --------------------------------------------------------------
18 
19 # If extensions (or modules to document with autodoc) are in another directory,
20 # add these directories to sys.path here. If the directory is relative to the
21 # documentation root, use os.path.abspath to make it absolute, like shown here.
22 #
23 sys.path.insert(0, os.path.abspath('../..'))
24 
25 
26 os.environ['SPHINX_BUILD'] = '1'
27 
28 # HACK: This is to ensure that local functions are documented by sphinx.
29 from numpyro.mcmc import hmc  # noqa: E402
30 from numpyro.svi import svi  # noqa: E402
31 hmc(None, None)
32 svi(None, None, None, None)
33 
34 # -- Project information -----------------------------------------------------
35 
36 project = u'Numpyro'
37 copyright = u'2019, Uber Technologies, Inc'
38 author = u'Uber AI Labs'
39 
40 # The short X.Y version
41 version = u'0.0'
42 # The full version, including alpha/beta/rc tags
43 release = u'0.0'
44 
45 
46 # -- General configuration ---------------------------------------------------
47 
48 # If your documentation needs a minimal Sphinx version, state it here.
49 #
50 # needs_sphinx = '1.0'
51 
52 # Add any Sphinx extension module names here, as strings. They can be
53 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
54 # ones.
55 extensions = [
56     'sphinx.ext.autodoc',
57     'sphinx.ext.doctest',
58     'sphinx.ext.intersphinx',
59     'sphinx.ext.mathjax',
60     'sphinx.ext.viewcode',
61 ]
62 
63 # Disable documentation inheritance so as to avoid inheriting
64 # docstrings in a different format, e.g. when the parent class
65 # is a PyTorch class.
66 
67 autodoc_inherit_docstrings = False
68 
69 # autodoc_default_options = {
70 #     'member-order': 'bysource',
71 #     'show-inheritance': True,
72 #     'special-members': True,
73 #     'undoc-members': True,
74 #     'exclude-members': '__dict__,__module__,__weakref__',
75 # }
76 
77 # Add any paths that contain templates here, relative to this directory.
78 templates_path = ['_templates']
79 
80 # The suffix(es) of source filenames.
81 # You can specify multiple suffix as a list of string:
82 #
83 # source_suffix = ['.rst', '.md']
84 source_suffix = '.rst'
85 
86 # The master toctree document.
87 master_doc = 'index'
88 
89 # The language for content autogenerated by Sphinx. Refer to documentation
90 # for a list of supported languages.
91 #
92 # This is also used if you do content translation via gettext catalogs.
93 # Usually you set "language" from the command line for these cases.
94 language = None
95 
96 # List of patterns, relative to source directory, that match files and
97 # directories to ignore when looking for source files.
98 # This pattern also affects html_static_path and html_extra_path .
99 exclude_patterns = []
100 
101 # The name of the Pygments (syntax highlighting) style to use.
102 pygments_style = 'sphinx'
103 
104 
105 # do not prepend module name to functions
106 add_module_names = False
107 
108 # -- Options for HTML output -------------------------------------------------
109 
110 # The theme to use for HTML and HTML Help pages.  See the documentation for
111 # a list of builtin themes.
112 #
113 html_theme = "sphinx_rtd_theme"
114 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
115 
116 # Theme options are theme-specific and customize the look and feel of a theme
117 # further.  For a list of options available for each theme, see the
118 # documentation.
119 #
120 # html_theme_options = {}
121 
122 # Add any paths that contain custom static files (such as style sheets) here,
123 # relative to this directory. They are copied after the builtin static files,
124 # so a file named "default.css" will overwrite the builtin "default.css".
125 html_static_path = []
126 
127 # Custom sidebar templates, must be a dictionary that maps document names
128 # to template names.
129 #
130 # The default sidebars (for documents that don't match any pattern) are
131 # defined by theme itself.  Builtin themes are using these templates by
132 # default: ``['localtoc.html', 'relations.html', 'sourcelink.html',
133 # 'searchbox.html']``.
134 #
135 # html_sidebars = {}
136 
137 
138 # -- Options for HTMLHelp output ---------------------------------------------
139 
140 # Output file base name for HTML help builder.
141 htmlhelp_basename = 'numpyrodoc'
142 
143 
144 # -- Options for LaTeX output ------------------------------------------------
145 
146 latex_elements = {
147     # The paper size ('letterpaper' or 'a4paper').
148     #
149     # 'papersize': 'letterpaper',
150 
151     # The font size ('10pt', '11pt' or '12pt').
152     #
153     # 'pointsize': '10pt',
154 
155     # Additional stuff for the LaTeX preamble.
156     #
157     # 'preamble': '',
158 
159     # Latex figure (float) alignment
160     #
161     # 'figure_align': 'htbp',
162 }
163 
164 # Grouping the document tree into LaTeX files. List of tuples
165 # (source start file, target name, title,
166 #  author, documentclass [howto, manual, or own class]).
167 latex_documents = [
168     (master_doc, 'Numpyro.tex', u'Numpyro Documentation', u'Uber AI Labs', 'manual'),
169 ]
170 
171 # -- Options for manual page output ------------------------------------------
172 
173 # One entry per manual page. List of tuples
174 # (source start file, name, description, authors, manual section).
175 man_pages = [
176     (master_doc, 'Numpyro', u'Numpyro Documentation',
177      [author], 1)
178 ]
179 
180 # -- Options for Texinfo output ----------------------------------------------
181 
182 # Grouping the document tree into Texinfo files. List of tuples
183 # (source start file, target name, title, author,
184 #  dir menu entry, description, category)
185 texinfo_documents = [
186     (master_doc, 'Numpyro', u'Numpyro Documentation',
187      author, 'Numpyro', 'Pyro PPL on Numpy',
188      'Miscellaneous'),
189 ]
190 
191 
192 # -- Extension configuration -------------------------------------------------
193 
194 # -- Options for intersphinx extension ---------------------------------------
195 
196 # Example configuration for intersphinx: refer to the Python standard library.
197 intersphinx_mapping = {
198     'python': ('https://docs.python.org/3/', None),
199     'numpy': ('http://docs.scipy.org/doc/numpy/', None),
200     'jax': ('https://jax.readthedocs.io/en/latest/', None),
201     'pyro': ('http://docs.pyro.ai/en/stable/', None),
202 }
203
```
--- 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/source/conf.py b/docs/source/conf.py
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -33,7 +33,7 @@
 
 # -- Project information -----------------------------------------------------
 
-project = u'Numpyro'
+project = u'NumPyro'
 copyright = u'2019, Uber Technologies, Inc'
 author = u'Uber AI Labs'
 
@@ -165,7 +165,7 @@
 # (source start file, target name, title,
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
-    (master_doc, 'Numpyro.tex', u'Numpyro Documentation', u'Uber AI Labs', 'manual'),
+    (master_doc, 'NumPyro.tex', u'NumPyro Documentation', u'Uber AI Labs', 'manual'),
 ]
 
 # -- Options for manual page output ------------------------------------------
@@ -173,7 +173,7 @@
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 man_pages = [
-    (master_doc, 'Numpyro', u'Numpyro Documentation',
+    (master_doc, 'NumPyro', u'NumPyro Documentation',
      [author], 1)
 ]
 
@@ -183,8 +183,8 @@
 # (source start file, target name, title, author,
 #  dir menu entry, description, category)
 texinfo_documents = [
-    (master_doc, 'Numpyro', u'Numpyro Documentation',
-     author, 'Numpyro', 'Pyro PPL on Numpy',
+    (master_doc, 'NumPyro', u'NumPyro Documentation',
+     author, 'NumPyro', 'Pyro PPL on Numpy',
      'Miscellaneous'),
 ]

{"golden_diff": "diff --git a/docs/source/conf.py b/docs/source/conf.py\n--- a/docs/source/conf.py\n+++ b/docs/source/conf.py\n@@ -33,7 +33,7 @@\n \n # -- Project information -----------------------------------------------------\n \n-project = u'Numpyro'\n+project = u'NumPyro'\n copyright = u'2019, Uber Technologies, Inc'\n author = u'Uber AI Labs'\n \n@@ -165,7 +165,7 @@\n # (source start file, target name, title,\n #  author, documentclass [howto, manual, or own class]).\n latex_documents = [\n-    (master_doc, 'Numpyro.tex', u'Numpyro Documentation', u'Uber AI Labs', 'manual'),\n+    (master_doc, 'NumPyro.tex', u'NumPyro Documentation', u'Uber AI Labs', 'manual'),\n ]\n \n # -- Options for manual page output ------------------------------------------\n@@ -173,7 +173,7 @@\n # One entry per manual page. List of tuples\n # (source start file, name, description, authors, manual section).\n man_pages = [\n-    (master_doc, 'Numpyro', u'Numpyro Documentation',\n+    (master_doc, 'NumPyro', u'NumPyro Documentation',\n      [author], 1)\n ]\n \n@@ -183,8 +183,8 @@\n # (source start file, target name, title, author,\n #  dir menu entry, description, category)\n texinfo_documents = [\n-    (master_doc, 'Numpyro', u'Numpyro Documentation',\n-     author, 'Numpyro', 'Pyro PPL on Numpy',\n+    (master_doc, 'NumPyro', u'NumPyro Documentation',\n+     author, 'NumPyro', 'Pyro PPL on Numpy',\n      'Miscellaneous'),\n ]\n", "issue": "Clean up docs/source/conf.py file\nI think we can change the names `Numpyro` -> `NumPyro` there, but I am not sure if the changes will affect the build of the website. So I make this issue.\r\n\r\ncc @jpchen @neerajprad \n", "before_files": [{"content": "import os\nimport sys\n\nimport sphinx_rtd_theme\n\n\n# import pkg_resources\n\n# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation builder.\n#\n# This file does only contain a selection of the most common options. For a\n# full list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\n# -- Path setup --------------------------------------------------------------\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.\n#\nsys.path.insert(0, os.path.abspath('../..'))\n\n\nos.environ['SPHINX_BUILD'] = '1'\n\n# HACK: This is to ensure that local functions are documented by sphinx.\nfrom numpyro.mcmc import hmc  # noqa: E402\nfrom numpyro.svi import svi  # noqa: E402\nhmc(None, None)\nsvi(None, None, None, None)\n\n# -- Project information -----------------------------------------------------\n\nproject = u'Numpyro'\ncopyright = u'2019, Uber Technologies, Inc'\nauthor = u'Uber AI Labs'\n\n# The short X.Y version\nversion = u'0.0'\n# The full version, including alpha/beta/rc tags\nrelease = u'0.0'\n\n\n# -- General configuration ---------------------------------------------------\n\n# If your documentation needs a minimal Sphinx version, state it here.\n#\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.doctest',\n    'sphinx.ext.intersphinx',\n    'sphinx.ext.mathjax',\n    'sphinx.ext.viewcode',\n]\n\n# Disable documentation inheritance so as to avoid inheriting\n# docstrings in a different format, e.g. when the parent class\n# is a PyTorch class.\n\nautodoc_inherit_docstrings = False\n\n# autodoc_default_options = {\n#     'member-order': 'bysource',\n#     'show-inheritance': True,\n#     'special-members': True,\n#     'undoc-members': True,\n#     'exclude-members': '__dict__,__module__,__weakref__',\n# }\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\n\n# The suffix(es) of source filenames.\n# You can specify multiple suffix as a list of string:\n#\n# source_suffix = ['.rst', '.md']\nsource_suffix = '.rst'\n\n# The master toctree document.\nmaster_doc = 'index'\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# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This pattern also affects html_static_path and html_extra_path .\nexclude_patterns = []\n\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = 'sphinx'\n\n\n# do not prepend module name to functions\nadd_module_names = False\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#\nhtml_theme = \"sphinx_rtd_theme\"\nhtml_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\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#\n# html_theme_options = {}\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 = []\n\n# Custom sidebar templates, must be a dictionary that maps document names\n# to template names.\n#\n# The default sidebars (for documents that don't match any pattern) are\n# defined by theme itself.  Builtin themes are using these templates by\n# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n# 'searchbox.html']``.\n#\n# html_sidebars = {}\n\n\n# -- Options for HTMLHelp output ---------------------------------------------\n\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'numpyrodoc'\n\n\n# -- Options for LaTeX output ------------------------------------------------\n\nlatex_elements = {\n    # The paper size ('letterpaper' or 'a4paper').\n    #\n    # 'papersize': 'letterpaper',\n\n    # The font size ('10pt', '11pt' or '12pt').\n    #\n    # 'pointsize': '10pt',\n\n    # Additional stuff for the LaTeX preamble.\n    #\n    # 'preamble': '',\n\n    # Latex figure (float) alignment\n    #\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    (master_doc, 'Numpyro.tex', u'Numpyro Documentation', u'Uber AI Labs', 'manual'),\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    (master_doc, 'Numpyro', u'Numpyro Documentation',\n     [author], 1)\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    (master_doc, 'Numpyro', u'Numpyro Documentation',\n     author, 'Numpyro', 'Pyro PPL on Numpy',\n     'Miscellaneous'),\n]\n\n\n# -- Extension configuration -------------------------------------------------\n\n# -- Options for intersphinx extension ---------------------------------------\n\n# Example configuration for intersphinx: refer to the Python standard library.\nintersphinx_mapping = {\n    'python': ('https://docs.python.org/3/', None),\n    'numpy': ('http://docs.scipy.org/doc/numpy/', None),\n    'jax': ('https://jax.readthedocs.io/en/latest/', None),\n    'pyro': ('http://docs.pyro.ai/en/stable/', None),\n}\n", "path": "docs/source/conf.py"}], "after_files": [{"content": "import os\nimport sys\n\nimport sphinx_rtd_theme\n\n\n# import pkg_resources\n\n# -*- coding: utf-8 -*-\n#\n# Configuration file for the Sphinx documentation builder.\n#\n# This file does only contain a selection of the most common options. For a\n# full list see the documentation:\n# http://www.sphinx-doc.org/en/master/config\n\n# -- Path setup --------------------------------------------------------------\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.\n#\nsys.path.insert(0, os.path.abspath('../..'))\n\n\nos.environ['SPHINX_BUILD'] = '1'\n\n# HACK: This is to ensure that local functions are documented by sphinx.\nfrom numpyro.mcmc import hmc  # noqa: E402\nfrom numpyro.svi import svi  # noqa: E402\nhmc(None, None)\nsvi(None, None, None, None)\n\n# -- Project information -----------------------------------------------------\n\nproject = u'NumPyro'\ncopyright = u'2019, Uber Technologies, Inc'\nauthor = u'Uber AI Labs'\n\n# The short X.Y version\nversion = u'0.0'\n# The full version, including alpha/beta/rc tags\nrelease = u'0.0'\n\n\n# -- General configuration ---------------------------------------------------\n\n# If your documentation needs a minimal Sphinx version, state it here.\n#\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.doctest',\n    'sphinx.ext.intersphinx',\n    'sphinx.ext.mathjax',\n    'sphinx.ext.viewcode',\n]\n\n# Disable documentation inheritance so as to avoid inheriting\n# docstrings in a different format, e.g. when the parent class\n# is a PyTorch class.\n\nautodoc_inherit_docstrings = False\n\n# autodoc_default_options = {\n#     'member-order': 'bysource',\n#     'show-inheritance': True,\n#     'special-members': True,\n#     'undoc-members': True,\n#     'exclude-members': '__dict__,__module__,__weakref__',\n# }\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\n\n# The suffix(es) of source filenames.\n# You can specify multiple suffix as a list of string:\n#\n# source_suffix = ['.rst', '.md']\nsource_suffix = '.rst'\n\n# The master toctree document.\nmaster_doc = 'index'\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# List of patterns, relative to source directory, that match files and\n# directories to ignore when looking for source files.\n# This pattern also affects html_static_path and html_extra_path .\nexclude_patterns = []\n\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = 'sphinx'\n\n\n# do not prepend module name to functions\nadd_module_names = False\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#\nhtml_theme = \"sphinx_rtd_theme\"\nhtml_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\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#\n# html_theme_options = {}\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 = []\n\n# Custom sidebar templates, must be a dictionary that maps document names\n# to template names.\n#\n# The default sidebars (for documents that don't match any pattern) are\n# defined by theme itself.  Builtin themes are using these templates by\n# default: ``['localtoc.html', 'relations.html', 'sourcelink.html',\n# 'searchbox.html']``.\n#\n# html_sidebars = {}\n\n\n# -- Options for HTMLHelp output ---------------------------------------------\n\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'numpyrodoc'\n\n\n# -- Options for LaTeX output ------------------------------------------------\n\nlatex_elements = {\n    # The paper size ('letterpaper' or 'a4paper').\n    #\n    # 'papersize': 'letterpaper',\n\n    # The font size ('10pt', '11pt' or '12pt').\n    #\n    # 'pointsize': '10pt',\n\n    # Additional stuff for the LaTeX preamble.\n    #\n    # 'preamble': '',\n\n    # Latex figure (float) alignment\n    #\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    (master_doc, 'NumPyro.tex', u'NumPyro Documentation', u'Uber AI Labs', 'manual'),\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    (master_doc, 'NumPyro', u'NumPyro Documentation',\n     [author], 1)\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    (master_doc, 'NumPyro', u'NumPyro Documentation',\n     author, 'NumPyro', 'Pyro PPL on Numpy',\n     'Miscellaneous'),\n]\n\n\n# -- Extension configuration -------------------------------------------------\n\n# -- Options for intersphinx extension ---------------------------------------\n\n# Example configuration for intersphinx: refer to the Python standard library.\nintersphinx_mapping = {\n    'python': ('https://docs.python.org/3/', None),\n    'numpy': ('http://docs.scipy.org/doc/numpy/', None),\n    'jax': ('https://jax.readthedocs.io/en/latest/', None),\n    'pyro': ('http://docs.pyro.ai/en/stable/', None),\n}\n", "path": "docs/source/conf.py"}]}