We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Indicate latest Zulip server version on ReadTheDocs installation and upgrade pages 
At present, the Zulip installation and upgrade docs don't tell you what version of Zulip you'll be installing. While the installation/upgrade script doesn't require the user to know this, it would provide helpful context for someone who wants to understand what they are about to install.

We should add a line to each of the following pages that indicates the version of Zulip server that will be installed. This information should be updated automatically when a new version is released.

Pages to change:
* https://zulip.readthedocs.io/en/stable/production/upgrade-or-modify.html
* https://zulip.readthedocs.io/en/stable/production/install.html

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

{"golden_diff": "diff --git a/docs/conf.py b/docs/conf.py\n--- a/docs/conf.py\n+++ b/docs/conf.py\n@@ -20,7 +20,7 @@\n # sys.path.insert(0, os.path.abspath('.'))\n \n sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\")))\n-from version import ZULIP_VERSION\n+from version import LATEST_RELEASE_VERSION, ZULIP_VERSION\n \n # -- General configuration ------------------------------------------------\n \n@@ -36,6 +36,7 @@\n \n myst_enable_extensions = [\n     \"colon_fence\",\n+    \"substitution\",\n ]\n \n # Add any paths that contain templates here, relative to this directory.\n@@ -105,6 +106,10 @@\n # If true, `todo` and `todoList` produce output, else they produce nothing.\n todo_include_todos = False\n \n+myst_substitutions = {\n+    \"LATEST_RELEASE_VERSION\": LATEST_RELEASE_VERSION,\n+}\n+\n \n # -- Options for HTML output ----------------------------------------------\n", "issue": "Indicate latest Zulip server version on ReadTheDocs installation and upgrade pages \nAt present, the Zulip installation and upgrade docs don't tell you what version of Zulip you'll be installing. While the installation/upgrade script doesn't require the user to know this, it would provide helpful context for someone who wants to understand what they are about to install.\r\n\r\nWe should add a line to each of the following pages that indicates the version of Zulip server that will be installed. This information should be updated automatically when a new version is released.\r\n\r\nPages to change:\r\n* https://zulip.readthedocs.io/en/stable/production/upgrade-or-modify.html\r\n* https://zulip.readthedocs.io/en/stable/production/install.html\n", "before_files": [{"content": "#\n# zulip-contributor-docs documentation build configuration file, created by\n# sphinx-quickstart on Mon Aug 17 16:24:04 2015.\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.\nimport os\nimport sys\nfrom typing import Any, Dict, Optional\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# sys.path.insert(0, os.path.abspath('.'))\n\nsys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\")))\nfrom version import ZULIP_VERSION\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    \"myst_parser\",\n]\n\nmyst_enable_extensions = [\n    \"colon_fence\",\n]\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = [\"_templates\"]\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 = \"Zulip\"\ncopyright = \"2012\u20132015 Dropbox, Inc., 2015\u20132021 Kandra Labs, Inc., and contributors\"\nauthor = \"The Zulip Team\"\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 = ZULIP_VERSION\n# The full version, including alpha/beta/rc tags.\nrelease = ZULIP_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: Optional[str] = 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\", \"README.md\"]\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# If true, `todo` and `todoList` produce output, else they produce nothing.\ntodo_include_todos = 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# Read The Docs can't import sphinx_rtd_theme, so don't import it there.\non_rtd = os.environ.get(\"READTHEDOCS\", None) == \"True\"\n\nif not on_rtd:\n    import sphinx_rtd_theme\n\n    html_theme = \"sphinx_rtd_theme\"\n    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\nelse:\n    html_theme = \"sphinx_rtd_theme\"\n    html_style = None\n    html_theme_options = {\"collapse_navigation\": False}\n    using_rtd_theme = True\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.\nhtml_theme_options = {\"collapse_navigation\": False, \"logo_only\": True}\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.\nhtml_logo = \"images/zulip-logo.svg\"\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 = \"zulip-contributor-docsdoc\"\n\n# -- Options for LaTeX output ---------------------------------------------\n\nlatex_elements: Dict[str, str] = {\n    # The paper size ('letterpaper' or 'a4paper').\n    #'papersize': 'letterpaper',\n    # The font size ('10pt', '11pt' or '12pt').\n    #'pointsize': '10pt',\n    # Additional stuff for the LaTeX preamble.\n    #'preamble': '',\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    (master_doc, \"zulip-contributor-docs.tex\", \"Zulip Documentation\", \"The Zulip Team\", \"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    (master_doc, \"zulip-contributor-docs\", \"Zulip Documentation\", [author], 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    (\n        master_doc,\n        \"zulip-contributor-docs\",\n        \"Zulip Documentation\",\n        author,\n        \"zulip-contributor-docs\",\n        \"Documentation for contributing to Zulip.\",\n        \"Miscellaneous\",\n    ),\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# The suffix(es) of source filenames. You can specify multiple suffix\n# as a dictionary mapping file extensions to file types\n# https://www.sphinx-doc.org/en/master/usage/markdown.html\nsource_suffix = {\n    \".rst\": \"restructuredtext\",\n    \".md\": \"markdown\",\n}\n\nsuppress_warnings = [\n    \"myst.header\",\n]\n\n\ndef setup(app: Any) -> None:\n    # overrides for wide tables in RTD theme\n    app.add_css_file(\"theme_overrides.css\")  # path relative to _static\n", "path": "docs/conf.py"}], "after_files": [{"content": "#\n# zulip-contributor-docs documentation build configuration file, created by\n# sphinx-quickstart on Mon Aug 17 16:24:04 2015.\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.\nimport os\nimport sys\nfrom typing import Any, Dict, Optional\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# sys.path.insert(0, os.path.abspath('.'))\n\nsys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), \"..\")))\nfrom version import LATEST_RELEASE_VERSION, ZULIP_VERSION\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    \"myst_parser\",\n]\n\nmyst_enable_extensions = [\n    \"colon_fence\",\n    \"substitution\",\n]\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = [\"_templates\"]\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 = \"Zulip\"\ncopyright = \"2012\u20132015 Dropbox, Inc., 2015\u20132021 Kandra Labs, Inc., and contributors\"\nauthor = \"The Zulip Team\"\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 = ZULIP_VERSION\n# The full version, including alpha/beta/rc tags.\nrelease = ZULIP_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: Optional[str] = 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\", \"README.md\"]\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# If true, `todo` and `todoList` produce output, else they produce nothing.\ntodo_include_todos = False\n\nmyst_substitutions = {\n    \"LATEST_RELEASE_VERSION\": LATEST_RELEASE_VERSION,\n}\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# Read The Docs can't import sphinx_rtd_theme, so don't import it there.\non_rtd = os.environ.get(\"READTHEDOCS\", None) == \"True\"\n\nif not on_rtd:\n    import sphinx_rtd_theme\n\n    html_theme = \"sphinx_rtd_theme\"\n    html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\nelse:\n    html_theme = \"sphinx_rtd_theme\"\n    html_style = None\n    html_theme_options = {\"collapse_navigation\": False}\n    using_rtd_theme = True\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.\nhtml_theme_options = {\"collapse_navigation\": False, \"logo_only\": True}\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.\nhtml_logo = \"images/zulip-logo.svg\"\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 = \"zulip-contributor-docsdoc\"\n\n# -- Options for LaTeX output ---------------------------------------------\n\nlatex_elements: Dict[str, str] = {\n    # The paper size ('letterpaper' or 'a4paper').\n    #'papersize': 'letterpaper',\n    # The font size ('10pt', '11pt' or '12pt').\n    #'pointsize': '10pt',\n    # Additional stuff for the LaTeX preamble.\n    #'preamble': '',\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    (master_doc, \"zulip-contributor-docs.tex\", \"Zulip Documentation\", \"The Zulip Team\", \"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    (master_doc, \"zulip-contributor-docs\", \"Zulip Documentation\", [author], 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    (\n        master_doc,\n        \"zulip-contributor-docs\",\n        \"Zulip Documentation\",\n        author,\n        \"zulip-contributor-docs\",\n        \"Documentation for contributing to Zulip.\",\n        \"Miscellaneous\",\n    ),\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# The suffix(es) of source filenames. You can specify multiple suffix\n# as a dictionary mapping file extensions to file types\n# https://www.sphinx-doc.org/en/master/usage/markdown.html\nsource_suffix = {\n    \".rst\": \"restructuredtext\",\n    \".md\": \"markdown\",\n}\n\nsuppress_warnings = [\n    \"myst.header\",\n]\n\n\ndef setup(app: Any) -> None:\n    # overrides for wide tables in RTD theme\n    app.add_css_file(\"theme_overrides.css\")  # path relative to _static\n", "path": "docs/conf.py"}]}