We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
3.0.0 release
I'd like to release 3.0.0 soon to get cleanups and fixes to users.

Any objections to doing that once remaining issues in the milestone https://github.com/translate/translate/milestone/25 are addressed?

--- 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 # Translate Toolkit documentation build configuration file, created by
3 # sphinx-quickstart on Mon Mar 26 23:48:04 2012.
4 #
5 # This file is execfile()d with the current directory set to its containing
6 # 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 
14 import os
15 import sys
16 
17 
18 # If extensions (or modules to document with autodoc) are in another directory,
19 # add these directories to sys.path here. If the directory is relative to the
20 # documentation root, use os.path.abspath to make it absolute, like shown here.
21 #sys.path.insert(0, os.path.abspath('.'))
22 
23 sys.path.insert(0, os.path.abspath('_ext'))
24 sys.path.insert(0, os.path.abspath('.'))
25 sys.path.insert(0, os.path.abspath('..'))
26 
27 # -- General configuration ----------------------------------------------------
28 
29 # If your documentation needs a minimal Sphinx version, state it here.
30 #needs_sphinx = '1.0'
31 
32 # Add any Sphinx extension module names here, as strings. They can be
33 # extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom
34 # ones.
35 extensions = [
36     'translate_docs',
37     'sphinx.ext.autodoc',
38     'sphinx.ext.coverage',
39     'sphinx.ext.extlinks',
40     'sphinx.ext.intersphinx',
41     'sphinx.ext.todo',
42 ]
43 
44 # Display todo notes. See http://sphinx-doc.org/ext/todo.html#directive-todo
45 todo_include_todos=True
46 
47 # Add any paths that contain templates here, relative to this directory.
48 templates_path = ['_templates']
49 
50 # The suffix of source filenames.
51 source_suffix = '.rst'
52 
53 # The encoding of source files.
54 #source_encoding = 'utf-8-sig'
55 
56 # The master toctree document.
57 master_doc = 'index'
58 
59 # General information about the project.
60 project = 'Translate Toolkit'
61 copyright = '2002-2020, Translate'
62 
63 # The version info for the project you're documenting, acts as replacement for
64 # |version| and |release|, also used in various other places throughout the
65 # built documents.
66 #
67 # The short X.Y version.
68 version = '2.5.1'
69 # The full version, including alpha/beta/rc tags.
70 release = '2.5.1'
71 
72 # The language for content autogenerated by Sphinx. Refer to documentation
73 # for a list of supported languages.
74 #language = None
75 
76 # There are two options for replacing |today|: either, you set today to some
77 # non-false value, then it is used:
78 #today = ''
79 # Else, today_fmt is used as the format for a strftime call.
80 #today_fmt = '%B %d, %Y'
81 
82 # List of patterns, relative to source directory, that match files and
83 # directories to ignore when looking for source files.
84 exclude_patterns = ['_build', '_themes/README.rst', 'releases/README.rst']
85 
86 # The reST default role (used for this markup: `text`) to use for all
87 # documents.
88 #default_role = None
89 
90 # If true, '()' will be appended to :func: etc. cross-reference text.
91 #add_function_parentheses = True
92 
93 # If true, the current module name will be prepended to all description
94 # unit titles (such as .. function::).
95 #add_module_names = True
96 
97 # If true, sectionauthor and moduleauthor directives will be shown in the
98 # output. They are ignored by default.
99 #show_authors = False
100 
101 # The name of the Pygments (syntax highlighting) style to use.
102 pygments_style = 'sphinx'
103 
104 # A list of ignored prefixes for module index sorting.
105 #modindex_common_prefix = []
106 
107 # -- Missing modules --------------------------------------------------
108 
109 autodoc_mock_imports = [
110     'aeidon',
111     'BeautifulSoup',
112     'glib',
113     'gobject',
114     'gtk',
115     'iniparse',
116     'vobject',
117 ]
118 
119 # -- Options for HTML output --------------------------------------------------
120 
121 # The theme to use for HTML and HTML Help pages.  See the documentation for
122 # a list of builtin themes.
123 html_theme = 'sphinx-bootstrap'
124 
125 # Theme options are theme-specific and customize the look and feel of a theme
126 # further.  For a list of options available for each theme, see the
127 # documentation.
128 html_theme_options = {
129     'nosidebar': True,
130 }
131 
132 # Add any paths that contain custom themes here, relative to this directory.
133 html_theme_path = ['_themes']
134 
135 # The name for this set of Sphinx documents.  If None, it defaults to
136 # "<project> v<release> documentation".
137 #html_title = None
138 
139 # A shorter title for the navigation bar.  Default is the same as html_title.
140 #html_short_title = None
141 
142 # The name of an image file (relative to this directory) to place at the top
143 # of the sidebar.
144 #html_logo = None
145 
146 # The name of an image file (within the static path) to use as favicon of the
147 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
148 # pixels large.
149 #html_favicon = None
150 
151 # Add any paths that contain custom static files (such as style sheets) here,
152 # relative to this directory. They are copied after the builtin static files,
153 # so a file named "default.css" will overwrite the builtin "default.css".
154 html_static_path = ['_static']
155 
156 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
157 # using the given strftime format.
158 #html_last_updated_fmt = '%b %d, %Y'
159 
160 # If true, SmartyPants will be used to convert quotes and dashes to
161 # typographically correct entities.
162 #html_use_smartypants = True
163 
164 # Custom sidebar templates, maps document names to template names.
165 #html_sidebars = {}
166 
167 # Additional templates that should be rendered to pages, maps page names to
168 # template names.
169 #html_additional_pages = {}
170 
171 # If false, no module index is generated.
172 #html_domain_indices = True
173 
174 # If false, no index is generated.
175 #html_use_index = True
176 
177 # If true, the index is split into individual pages for each letter.
178 #html_split_index = False
179 
180 # If true, links to the reST sources are added to the pages.
181 html_show_sourcelink = False
182 
183 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
184 #html_show_sphinx = True
185 
186 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
187 #html_show_copyright = True
188 
189 # If true, an OpenSearch description file will be output, and all pages will
190 # contain a <link> tag referring to it.  The value of this option must be the
191 # base URL from which the finished HTML is served.
192 #html_use_opensearch = ''
193 
194 # This is the file name suffix for HTML files (e.g. ".xhtml").
195 #html_file_suffix = None
196 
197 # Output file base name for HTML help builder.
198 htmlhelp_basename = 'TranslateToolkitdoc'
199 
200 
201 # -- Options for LaTeX output -------------------------------------------------
202 
203 latex_elements = {
204     # The paper size ('letterpaper' or 'a4paper').
205     #'papersize': 'letterpaper',
206 
207     # The font size ('10pt', '11pt' or '12pt').
208     #'pointsize': '10pt',
209 
210     # Additional stuff for the LaTeX preamble.
211     #'preamble': '',
212 }
213 
214 # Grouping the document tree into LaTeX files. List of tuples
215 # (source start file, target name, title, author, documentclass [howto/manual])
216 latex_documents = [
217   ('index', 'TranslateToolkit.tex', 'Translate Toolkit Documentation',
218    'Translate.org.za', 'manual'),
219 ]
220 
221 # The name of an image file (relative to this directory) to place at the top of
222 # the title page.
223 #latex_logo = None
224 
225 # For "manual" documents, if this is true, then toplevel headings are parts,
226 # not chapters.
227 #latex_use_parts = False
228 
229 # If true, show page references after internal links.
230 #latex_show_pagerefs = False
231 
232 # If true, show URL addresses after external links.
233 #latex_show_urls = False
234 
235 # Documents to append as an appendix to all manuals.
236 #latex_appendices = []
237 
238 # If false, no module index is generated.
239 #latex_domain_indices = True
240 
241 
242 # -- Options for manual page output -------------------------------------------
243 
244 # One entry per manual page. List of tuples
245 # (source start file, name, description, authors, manual section).
246 man_pages = [
247     ('index', 'translatetoolkit', 'Translate Toolkit Documentation',
248      ['Translate.org.za'], 1)
249 ]
250 
251 # If true, show URL addresses after external links.
252 #man_show_urls = False
253 
254 
255 # -- Options for Texinfo output -----------------------------------------------
256 
257 # Grouping the document tree into Texinfo files. List of tuples
258 # (source start file, target name, title, author,
259 #  dir menu entry, description, category)
260 texinfo_documents = [
261   ('index', 'TranslateToolkit', 'Translate Toolkit Documentation',
262    'Translate.org.za', 'TranslateToolkit', 'One line description of project.',
263    'Miscellaneous'),
264 ]
265 
266 # Documents to append as an appendix to all manuals.
267 #texinfo_appendices = []
268 
269 # If false, no module index is generated.
270 #texinfo_domain_indices = True
271 
272 # How to display URL addresses: 'footnote', 'no', or 'inline'.
273 #texinfo_show_urls = 'footnote'
274 
275 
276 # -- Coverage checker options -------------------------------------------------
277 
278 coverage_ignore_modules = []
279 
280 coverage_ignore_functions = ['main']
281 
282 coverage_ignore_classes = []
283 
284 coverage_write_headline = False
285 
286 # -- Options for Intersphinx -------------------------------------------------
287 
288 intersphinx_mapping = {
289     'python': ('https://docs.python.org/3.8', None),
290     'pytest': ('https://docs.pytest.org/en/latest/', None),
291     'django': ('http://django.readthedocs.org/en/latest/', None),
292     'pootle': ('http://docs.translatehouse.org/projects/pootle/en/latest/', None),
293     'guide': ('http://docs.translatehouse.org/projects/localization-guide/en/latest/', None),
294 }
295 
296 
297 # -- Options for Exernal links -------------------------------------------------
298 
299 extlinks = {
300     # :role: (URL, prefix)
301     'issue': ('https://github.com/translate/translate/issues/%s',
302               'issue '),
303     'man': ('http://linux.die.net/man/1/%s', ''),
304     'wiki': ('http://translate.sourceforge.net/wiki/%s', ''),
305     'wp': ('http://en.wikipedia.org/wiki/%s', ''),
306 }
307 
308 # -- Options for Linkcheck -------------------------------------------------
309 
310 # Add regex's here for links that should be ignored.
311 linkcheck_ignore = [
312     'http://your_server.com/filename.html',  # Example URL
313     '.*localhost.*',
314 ]
315
```

Path: `translate/__version__.py`
Content:
```
1 #
2 # Copyright 2008-2017 Zuza Software Foundation
3 #
4 # This file is part of the Translate Toolkit.
5 #
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
18 
19 """This file contains the version of the Translate Toolkit."""
20 
21 build = 25010
22 """The build number is used by external users of the Translate Toolkit to
23 trigger refreshes.  Thus increase the build number whenever changes are made to
24 code touching stats or quality checks.  An increased build number will force a
25 toolkit user, like Pootle, to regenerate it's stored stats and check
26 results."""
27 
28 sver = "2.5.1"
29 """Human readable version number. Used for version number display."""
30 
31 ver = (2, 5, 1)
32 """Machine readable version number. Used by tools that need to adjust code
33 paths based on a Translate Toolkit release number."""
34
```
--- 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
@@ -65,9 +65,9 @@
 # built documents.
 #
 # The short X.Y version.
-version = '2.5.1'
+version = '3.0.0'
 # The full version, including alpha/beta/rc tags.
-release = '2.5.1'
+release = '3.0.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/translate/__version__.py b/translate/__version__.py
--- a/translate/__version__.py
+++ b/translate/__version__.py
@@ -18,16 +18,16 @@
 
 """This file contains the version of the Translate Toolkit."""
 
-build = 25010
+build = 30000
 """The build number is used by external users of the Translate Toolkit to
 trigger refreshes.  Thus increase the build number whenever changes are made to
 code touching stats or quality checks.  An increased build number will force a
 toolkit user, like Pootle, to regenerate it's stored stats and check
 results."""
 
-sver = "2.5.1"
+sver = "3.0.0"
 """Human readable version number. Used for version number display."""
 
-ver = (2, 5, 1)
+ver = (3, 0, 0)
 """Machine readable version number. Used by tools that need to adjust code
 paths based on a Translate Toolkit release number."""

{"golden_diff": "diff --git a/docs/conf.py b/docs/conf.py\n--- a/docs/conf.py\n+++ b/docs/conf.py\n@@ -65,9 +65,9 @@\n # built documents.\n #\n # The short X.Y version.\n-version = '2.5.1'\n+version = '3.0.0'\n # The full version, including alpha/beta/rc tags.\n-release = '2.5.1'\n+release = '3.0.0'\n \n # The language for content autogenerated by Sphinx. Refer to documentation\n # for a list of supported languages.\ndiff --git a/translate/__version__.py b/translate/__version__.py\n--- a/translate/__version__.py\n+++ b/translate/__version__.py\n@@ -18,16 +18,16 @@\n \n \"\"\"This file contains the version of the Translate Toolkit.\"\"\"\n \n-build = 25010\n+build = 30000\n \"\"\"The build number is used by external users of the Translate Toolkit to\n trigger refreshes.  Thus increase the build number whenever changes are made to\n code touching stats or quality checks.  An increased build number will force a\n toolkit user, like Pootle, to regenerate it's stored stats and check\n results.\"\"\"\n \n-sver = \"2.5.1\"\n+sver = \"3.0.0\"\n \"\"\"Human readable version number. Used for version number display.\"\"\"\n \n-ver = (2, 5, 1)\n+ver = (3, 0, 0)\n \"\"\"Machine readable version number. Used by tools that need to adjust code\n paths based on a Translate Toolkit release number.\"\"\"\n", "issue": "3.0.0 release\nI'd like to release 3.0.0 soon to get cleanups and fixes to users.\r\n\r\nAny objections to doing that once remaining issues in the milestone https://github.com/translate/translate/milestone/25 are addressed?\n", "before_files": [{"content": "#\n# Translate Toolkit documentation build configuration file, created by\n# sphinx-quickstart on Mon Mar 26 23:48:04 2012.\n#\n# This file is execfile()d with the current directory set to its containing\n# 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 os\nimport sys\n\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('_ext'))\nsys.path.insert(0, os.path.abspath('.'))\nsys.path.insert(0, os.path.abspath('..'))\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    'translate_docs',\n    'sphinx.ext.autodoc',\n    'sphinx.ext.coverage',\n    'sphinx.ext.extlinks',\n    'sphinx.ext.intersphinx',\n    'sphinx.ext.todo',\n]\n\n# Display todo notes. See http://sphinx-doc.org/ext/todo.html#directive-todo\ntodo_include_todos=True\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 = 'Translate Toolkit'\ncopyright = '2002-2020, Translate'\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 = '2.5.1'\n# The full version, including alpha/beta/rc tags.\nrelease = '2.5.1'\n\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n#language = 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', '_themes/README.rst', 'releases/README.rst']\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# -- Missing modules --------------------------------------------------\n\nautodoc_mock_imports = [\n    'aeidon',\n    'BeautifulSoup',\n    'glib',\n    'gobject',\n    'gtk',\n    'iniparse',\n    'vobject',\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.\nhtml_theme = 'sphinx-bootstrap'\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 = {\n    'nosidebar': True,\n}\n\n# Add any paths that contain custom themes here, relative to this directory.\nhtml_theme_path = ['_themes']\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# 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.\nhtml_show_sourcelink = False\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# Output file base name for HTML help builder.\nhtmlhelp_basename = 'TranslateToolkitdoc'\n\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\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title, author, documentclass [howto/manual])\nlatex_documents = [\n  ('index', 'TranslateToolkit.tex', 'Translate Toolkit Documentation',\n   'Translate.org.za', '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', 'translatetoolkit', 'Translate Toolkit Documentation',\n     ['Translate.org.za'], 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', 'TranslateToolkit', 'Translate Toolkit Documentation',\n   'Translate.org.za', 'TranslateToolkit', '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\n# -- Coverage checker options -------------------------------------------------\n\ncoverage_ignore_modules = []\n\ncoverage_ignore_functions = ['main']\n\ncoverage_ignore_classes = []\n\ncoverage_write_headline = False\n\n# -- Options for Intersphinx -------------------------------------------------\n\nintersphinx_mapping = {\n    'python': ('https://docs.python.org/3.8', None),\n    'pytest': ('https://docs.pytest.org/en/latest/', None),\n    'django': ('http://django.readthedocs.org/en/latest/', None),\n    'pootle': ('http://docs.translatehouse.org/projects/pootle/en/latest/', None),\n    'guide': ('http://docs.translatehouse.org/projects/localization-guide/en/latest/', None),\n}\n\n\n# -- Options for Exernal links -------------------------------------------------\n\nextlinks = {\n    # :role: (URL, prefix)\n    'issue': ('https://github.com/translate/translate/issues/%s',\n              'issue '),\n    'man': ('http://linux.die.net/man/1/%s', ''),\n    'wiki': ('http://translate.sourceforge.net/wiki/%s', ''),\n    'wp': ('http://en.wikipedia.org/wiki/%s', ''),\n}\n\n# -- Options for Linkcheck -------------------------------------------------\n\n# Add regex's here for links that should be ignored.\nlinkcheck_ignore = [\n    'http://your_server.com/filename.html',  # Example URL\n    '.*localhost.*',\n]\n", "path": "docs/conf.py"}, {"content": "#\n# Copyright 2008-2017 Zuza Software Foundation\n#\n# This file is part of the Translate Toolkit.\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, see <http://www.gnu.org/licenses/>.\n\n\"\"\"This file contains the version of the Translate Toolkit.\"\"\"\n\nbuild = 25010\n\"\"\"The build number is used by external users of the Translate Toolkit to\ntrigger refreshes.  Thus increase the build number whenever changes are made to\ncode touching stats or quality checks.  An increased build number will force a\ntoolkit user, like Pootle, to regenerate it's stored stats and check\nresults.\"\"\"\n\nsver = \"2.5.1\"\n\"\"\"Human readable version number. Used for version number display.\"\"\"\n\nver = (2, 5, 1)\n\"\"\"Machine readable version number. Used by tools that need to adjust code\npaths based on a Translate Toolkit release number.\"\"\"\n", "path": "translate/__version__.py"}], "after_files": [{"content": "#\n# Translate Toolkit documentation build configuration file, created by\n# sphinx-quickstart on Mon Mar 26 23:48:04 2012.\n#\n# This file is execfile()d with the current directory set to its containing\n# 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 os\nimport sys\n\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('_ext'))\nsys.path.insert(0, os.path.abspath('.'))\nsys.path.insert(0, os.path.abspath('..'))\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    'translate_docs',\n    'sphinx.ext.autodoc',\n    'sphinx.ext.coverage',\n    'sphinx.ext.extlinks',\n    'sphinx.ext.intersphinx',\n    'sphinx.ext.todo',\n]\n\n# Display todo notes. See http://sphinx-doc.org/ext/todo.html#directive-todo\ntodo_include_todos=True\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 = 'Translate Toolkit'\ncopyright = '2002-2020, Translate'\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 = '3.0.0'\n# The full version, including alpha/beta/rc tags.\nrelease = '3.0.0'\n\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n#language = 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', '_themes/README.rst', 'releases/README.rst']\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# -- Missing modules --------------------------------------------------\n\nautodoc_mock_imports = [\n    'aeidon',\n    'BeautifulSoup',\n    'glib',\n    'gobject',\n    'gtk',\n    'iniparse',\n    'vobject',\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.\nhtml_theme = 'sphinx-bootstrap'\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 = {\n    'nosidebar': True,\n}\n\n# Add any paths that contain custom themes here, relative to this directory.\nhtml_theme_path = ['_themes']\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# 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.\nhtml_show_sourcelink = False\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# Output file base name for HTML help builder.\nhtmlhelp_basename = 'TranslateToolkitdoc'\n\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\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title, author, documentclass [howto/manual])\nlatex_documents = [\n  ('index', 'TranslateToolkit.tex', 'Translate Toolkit Documentation',\n   'Translate.org.za', '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', 'translatetoolkit', 'Translate Toolkit Documentation',\n     ['Translate.org.za'], 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', 'TranslateToolkit', 'Translate Toolkit Documentation',\n   'Translate.org.za', 'TranslateToolkit', '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\n# -- Coverage checker options -------------------------------------------------\n\ncoverage_ignore_modules = []\n\ncoverage_ignore_functions = ['main']\n\ncoverage_ignore_classes = []\n\ncoverage_write_headline = False\n\n# -- Options for Intersphinx -------------------------------------------------\n\nintersphinx_mapping = {\n    'python': ('https://docs.python.org/3.8', None),\n    'pytest': ('https://docs.pytest.org/en/latest/', None),\n    'django': ('http://django.readthedocs.org/en/latest/', None),\n    'pootle': ('http://docs.translatehouse.org/projects/pootle/en/latest/', None),\n    'guide': ('http://docs.translatehouse.org/projects/localization-guide/en/latest/', None),\n}\n\n\n# -- Options for Exernal links -------------------------------------------------\n\nextlinks = {\n    # :role: (URL, prefix)\n    'issue': ('https://github.com/translate/translate/issues/%s',\n              'issue '),\n    'man': ('http://linux.die.net/man/1/%s', ''),\n    'wiki': ('http://translate.sourceforge.net/wiki/%s', ''),\n    'wp': ('http://en.wikipedia.org/wiki/%s', ''),\n}\n\n# -- Options for Linkcheck -------------------------------------------------\n\n# Add regex's here for links that should be ignored.\nlinkcheck_ignore = [\n    'http://your_server.com/filename.html',  # Example URL\n    '.*localhost.*',\n]\n", "path": "docs/conf.py"}, {"content": "#\n# Copyright 2008-2017 Zuza Software Foundation\n#\n# This file is part of the Translate Toolkit.\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, see <http://www.gnu.org/licenses/>.\n\n\"\"\"This file contains the version of the Translate Toolkit.\"\"\"\n\nbuild = 30000\n\"\"\"The build number is used by external users of the Translate Toolkit to\ntrigger refreshes.  Thus increase the build number whenever changes are made to\ncode touching stats or quality checks.  An increased build number will force a\ntoolkit user, like Pootle, to regenerate it's stored stats and check\nresults.\"\"\"\n\nsver = \"3.0.0\"\n\"\"\"Human readable version number. Used for version number display.\"\"\"\n\nver = (3, 0, 0)\n\"\"\"Machine readable version number. Used by tools that need to adjust code\npaths based on a Translate Toolkit release number.\"\"\"\n", "path": "translate/__version__.py"}]}