prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  The config value `html_favicon' has type `PosixPath'; expected `str'.
  BTW when building the docs now I get
  ```
  WARNING: The config value `html_favicon' has type `PosixPath'; expected `str'.
  ```
  
  _Originally posted by @leotrs in https://github.com/ManimCommunity/manim/pull/631#issuecomment-719075737_
  
  </issue>
  <code>
  [start of docs/source/conf.py]
  1 # Configuration file for the Sphinx documentation builder.
  2 #
  3 # This file only contains a selection of the most common options. For a full
  4 # list see the documentation:
  5 # https://www.sphinx-doc.org/en/master/usage/configuration.html
  6 
  7 # -- Path setup --------------------------------------------------------------
  8 
  9 # If extensions (or modules to document with autodoc) are in another directory,
  10 # add these directories to sys.path here. If the directory is relative to the
  11 # documentation root, use os.path.abspath to make it absolute, like shown here.
  12 
  13 import os
  14 import subprocess
  15 import sys
  16 from distutils.sysconfig import get_python_lib
  17 from pathlib import Path
  18 
  19 sys.path.insert(0, os.path.abspath("."))
  20 
  21 
  22 if os.environ.get("READTHEDOCS") == "True":
  23     site_path = get_python_lib()
  24     # bindings for pangocffi, cairocffi, pangocairocffi need to be generated
  25     subprocess.run(["python", "pangocffi/ffi_build.py"], cwd=site_path)
  26     subprocess.run(["python", "cairocffi/ffi_build.py"], cwd=site_path)
  27     subprocess.run(["python", "pangocairocffi/ffi_build.py"], cwd=site_path)
  28     # we need to add ffmpeg to the path
  29     ffmpeg_path = os.path.join(site_path, "imageio_ffmpeg", "binaries")
  30     # the included binary is named ffmpeg-linux..., create a symlink
  31     [ffmpeg_bin] = [
  32         file for file in os.listdir(ffmpeg_path) if file.startswith("ffmpeg-")
  33     ]
  34     os.symlink(
  35         os.path.join(ffmpeg_path, ffmpeg_bin), os.path.join(ffmpeg_path, "ffmpeg")
  36     )
  37     os.environ["PATH"] += os.pathsep + ffmpeg_path
  38 
  39 
  40 # -- Project information -----------------------------------------------------
  41 
  42 project = "Manim"
  43 copyright = "2020, The Manim Community Dev Team"
  44 author = "The Manim Community Dev Team"
  45 
  46 
  47 # -- General configuration ---------------------------------------------------
  48 
  49 # Add any Sphinx extension module names here, as strings. They can be
  50 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  51 # ones.
  52 extensions = [
  53     "sphinx.ext.autodoc",
  54     "recommonmark",
  55     "sphinx_copybutton",
  56     "sphinx.ext.napoleon",
  57     "sphinx.ext.autosummary",
  58     "sphinx.ext.doctest",
  59     "manim_directive",
  60 ]
  61 
  62 # Automatically generate stub pages when using the .. autosummary directive
  63 autosummary_generate = True
  64 
  65 # Add any paths that contain templates here, relative to this directory.
  66 templates_path = ["_templates"]
  67 
  68 # List of patterns, relative to source directory, that match files and
  69 # directories to ignore when looking for source files.
  70 # This pattern also affects html_static_path and html_extra_path.
  71 exclude_patterns = []
  72 
  73 
  74 # -- Options for HTML output -------------------------------------------------
  75 
  76 # The theme to use for HTML and HTML Help pages.  See the documentation for
  77 # a list of builtin themes.
  78 #
  79 import guzzle_sphinx_theme
  80 
  81 html_theme_path = guzzle_sphinx_theme.html_theme_path()
  82 html_theme = "guzzle_sphinx_theme"
  83 html_favicon = Path("_static/favicon.ico")
  84 
  85 # There's a standing issue with Sphinx's new-style sidebars.  This is a
  86 # workaround.  Taken from
  87 # https://github.com/guzzle/guzzle_sphinx_theme/issues/33#issuecomment-637081826
  88 html_sidebars = {"**": ["logo-text.html", "globaltoc.html", "searchbox.html"]}
  89 
  90 # Register the theme as an extension to generate a sitemap.xml
  91 extensions.append("guzzle_sphinx_theme")
  92 
  93 # Add any paths that contain custom static files (such as style sheets) here,
  94 # relative to this directory. They are copied after the builtin static files,
  95 # so a file named "default.css" will overwrite the builtin "default.css".
  96 html_static_path = ["_static"]
  97 
  98 # This specifies any additional css files that will override the theme's
  99 html_css_files = ["custom.css"]
  100
  [end of docs/source/conf.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/docs/source/conf.py b/docs/source/conf.py
  --- a/docs/source/conf.py
  +++ b/docs/source/conf.py
  @@ -80,7 +80,7 @@
   
   html_theme_path = guzzle_sphinx_theme.html_theme_path()
   html_theme = "guzzle_sphinx_theme"
  -html_favicon = Path("_static/favicon.ico")
  +html_favicon = str(Path("_static/favicon.ico"))
   
   # There's a standing issue with Sphinx's new-style sidebars.  This is a
   # workaround.  Taken from
  
verification_info: {"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@@ -80,7 +80,7 @@\n \n html_theme_path = guzzle_sphinx_theme.html_theme_path()\n html_theme = \"guzzle_sphinx_theme\"\n-html_favicon = Path(\"_static/favicon.ico\")\n+html_favicon = str(Path(\"_static/favicon.ico\"))\n \n # There's a standing issue with Sphinx's new-style sidebars.  This is a\n # workaround.  Taken from\n", "issue": "The config value `html_favicon' has type `PosixPath'; expected `str'.\nBTW when building the docs now I get\r\n```\r\nWARNING: The config value `html_favicon' has type `PosixPath'; expected `str'.\r\n```\r\n\r\n_Originally posted by @leotrs in https://github.com/ManimCommunity/manim/pull/631#issuecomment-719075737_\n", "before_files": [{"content": "# Configuration file for the Sphinx documentation builder.\n#\n# This file only contains a selection of the most common options. For a full\n# list see the documentation:\n# https://www.sphinx-doc.org/en/master/usage/configuration.html\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\nimport os\nimport subprocess\nimport sys\nfrom distutils.sysconfig import get_python_lib\nfrom pathlib import Path\n\nsys.path.insert(0, os.path.abspath(\".\"))\n\n\nif os.environ.get(\"READTHEDOCS\") == \"True\":\n    site_path = get_python_lib()\n    # bindings for pangocffi, cairocffi, pangocairocffi need to be generated\n    subprocess.run([\"python\", \"pangocffi/ffi_build.py\"], cwd=site_path)\n    subprocess.run([\"python\", \"cairocffi/ffi_build.py\"], cwd=site_path)\n    subprocess.run([\"python\", \"pangocairocffi/ffi_build.py\"], cwd=site_path)\n    # we need to add ffmpeg to the path\n    ffmpeg_path = os.path.join(site_path, \"imageio_ffmpeg\", \"binaries\")\n    # the included binary is named ffmpeg-linux..., create a symlink\n    [ffmpeg_bin] = [\n        file for file in os.listdir(ffmpeg_path) if file.startswith(\"ffmpeg-\")\n    ]\n    os.symlink(\n        os.path.join(ffmpeg_path, ffmpeg_bin), os.path.join(ffmpeg_path, \"ffmpeg\")\n    )\n    os.environ[\"PATH\"] += os.pathsep + ffmpeg_path\n\n\n# -- Project information -----------------------------------------------------\n\nproject = \"Manim\"\ncopyright = \"2020, The Manim Community Dev Team\"\nauthor = \"The Manim Community Dev Team\"\n\n\n# -- General configuration ---------------------------------------------------\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    \"recommonmark\",\n    \"sphinx_copybutton\",\n    \"sphinx.ext.napoleon\",\n    \"sphinx.ext.autosummary\",\n    \"sphinx.ext.doctest\",\n    \"manim_directive\",\n]\n\n# Automatically generate stub pages when using the .. autosummary directive\nautosummary_generate = True\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = [\"_templates\"]\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\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#\nimport guzzle_sphinx_theme\n\nhtml_theme_path = guzzle_sphinx_theme.html_theme_path()\nhtml_theme = \"guzzle_sphinx_theme\"\nhtml_favicon = Path(\"_static/favicon.ico\")\n\n# There's a standing issue with Sphinx's new-style sidebars.  This is a\n# workaround.  Taken from\n# https://github.com/guzzle/guzzle_sphinx_theme/issues/33#issuecomment-637081826\nhtml_sidebars = {\"**\": [\"logo-text.html\", \"globaltoc.html\", \"searchbox.html\"]}\n\n# Register the theme as an extension to generate a sitemap.xml\nextensions.append(\"guzzle_sphinx_theme\")\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# This specifies any additional css files that will override the theme's\nhtml_css_files = [\"custom.css\"]\n", "path": "docs/source/conf.py"}]}