prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Remove $ before shell commands in docs
  The developers have a [preference](https://github.com/rtfd/readthedocs.org/pull/4676#discussion_r221400605) to not have a `$` before shell commands in the docs. This makes it easier to copy and paste from our docs. We should remove it everywhere. The following command should show it everywhere.
  
      grep -Ri "    $ " docs/*.rst docs/*/*.rst
  
  </issue>
  <code>
  [start of docs/conf.py]
  1 # -*- coding: utf-8 -*-
  2 
  3 from __future__ import division, print_function, unicode_literals
  4 
  5 import os
  6 import sys
  7 
  8 import sphinx_rtd_theme
  9 from recommonmark.parser import CommonMarkParser
  10 
  11 sys.path.insert(0, os.path.abspath('..'))
  12 sys.path.append(os.path.dirname(__file__))
  13 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "readthedocs.settings.dev")
  14 
  15 from django.conf import settings
  16 from django.utils import timezone
  17 
  18 import django
  19 django.setup()
  20 
  21 
  22 sys.path.append(os.path.abspath('_ext'))
  23 extensions = [
  24     'sphinx.ext.autosectionlabel',
  25     'sphinx.ext.autodoc',
  26     'sphinx.ext.intersphinx',
  27     'sphinxcontrib.httpdomain',
  28     'djangodocs',
  29     'doc_extensions',
  30     'sphinx_tabs.tabs',
  31 ]
  32 templates_path = ['_templates']
  33 
  34 source_suffix = ['.rst', '.md']
  35 source_parsers = {
  36     '.md': CommonMarkParser,
  37 }
  38 
  39 master_doc = 'index'
  40 project = u'Read the Docs'
  41 copyright = '2010-{}, Read the Docs, Inc & contributors'.format(
  42     timezone.now().year
  43 )
  44 version = '2.7'
  45 release = version
  46 exclude_patterns = ['_build']
  47 default_role = 'obj'
  48 intersphinx_mapping = {
  49     'python': ('http://python.readthedocs.io/en/latest/', None),
  50     'django': ('http://django.readthedocs.io/en/1.9.x/', None),
  51     'sphinx': ('http://sphinx.readthedocs.io/en/latest/', None),
  52 }
  53 htmlhelp_basename = 'ReadTheDocsdoc'
  54 latex_documents = [
  55     ('index', 'ReadTheDocs.tex', u'Read the Docs Documentation',
  56      u'Eric Holscher, Charlie Leifer, Bobby Grace', 'manual'),
  57 ]
  58 man_pages = [
  59     ('index', 'read-the-docs', u'Read the Docs Documentation',
  60      [u'Eric Holscher, Charlie Leifer, Bobby Grace'], 1)
  61 ]
  62 
  63 exclude_patterns = [
  64     # 'api' # needed for ``make gettext`` to not die.
  65 ]
  66 
  67 language = 'en'
  68 
  69 locale_dirs = [
  70     'locale/',
  71 ]
  72 gettext_compact = False
  73 
  74 html_theme = 'sphinx_rtd_theme'
  75 html_static_path = ['_static']
  76 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  77 html_logo = 'img/logo.svg'
  78 html_theme_options = {
  79     'logo_only': True,
  80     'display_version': False,
  81 }
  82 
  83 # Activate autosectionlabel plugin
  84 autosectionlabel_prefix_document = True
  85
  [end of docs/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/conf.py b/docs/conf.py
  --- a/docs/conf.py
  +++ b/docs/conf.py
  @@ -28,6 +28,7 @@
       'djangodocs',
       'doc_extensions',
       'sphinx_tabs.tabs',
  +    'sphinx-prompt',
   ]
   templates_path = ['_templates']
   
  @@ -82,3 +83,7 @@
   
   # Activate autosectionlabel plugin
   autosectionlabel_prefix_document = True
  +
  +
  +def setup(app):
  +    app.add_stylesheet('css/sphinx_prompt_css.css')
  
verification_info: {"golden_diff": "diff --git a/docs/conf.py b/docs/conf.py\n--- a/docs/conf.py\n+++ b/docs/conf.py\n@@ -28,6 +28,7 @@\n     'djangodocs',\n     'doc_extensions',\n     'sphinx_tabs.tabs',\n+    'sphinx-prompt',\n ]\n templates_path = ['_templates']\n \n@@ -82,3 +83,7 @@\n \n # Activate autosectionlabel plugin\n autosectionlabel_prefix_document = True\n+\n+\n+def setup(app):\n+    app.add_stylesheet('css/sphinx_prompt_css.css')\n", "issue": "Remove $ before shell commands in docs\nThe developers have a [preference](https://github.com/rtfd/readthedocs.org/pull/4676#discussion_r221400605) to not have a `$` before shell commands in the docs. This makes it easier to copy and paste from our docs. We should remove it everywhere. The following command should show it everywhere.\r\n\r\n    grep -Ri \"    $ \" docs/*.rst docs/*/*.rst\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\nfrom __future__ import division, print_function, unicode_literals\n\nimport os\nimport sys\n\nimport sphinx_rtd_theme\nfrom recommonmark.parser import CommonMarkParser\n\nsys.path.insert(0, os.path.abspath('..'))\nsys.path.append(os.path.dirname(__file__))\nos.environ.setdefault(\"DJANGO_SETTINGS_MODULE\", \"readthedocs.settings.dev\")\n\nfrom django.conf import settings\nfrom django.utils import timezone\n\nimport django\ndjango.setup()\n\n\nsys.path.append(os.path.abspath('_ext'))\nextensions = [\n    'sphinx.ext.autosectionlabel',\n    'sphinx.ext.autodoc',\n    'sphinx.ext.intersphinx',\n    'sphinxcontrib.httpdomain',\n    'djangodocs',\n    'doc_extensions',\n    'sphinx_tabs.tabs',\n]\ntemplates_path = ['_templates']\n\nsource_suffix = ['.rst', '.md']\nsource_parsers = {\n    '.md': CommonMarkParser,\n}\n\nmaster_doc = 'index'\nproject = u'Read the Docs'\ncopyright = '2010-{}, Read the Docs, Inc & contributors'.format(\n    timezone.now().year\n)\nversion = '2.7'\nrelease = version\nexclude_patterns = ['_build']\ndefault_role = 'obj'\nintersphinx_mapping = {\n    'python': ('http://python.readthedocs.io/en/latest/', None),\n    'django': ('http://django.readthedocs.io/en/1.9.x/', None),\n    'sphinx': ('http://sphinx.readthedocs.io/en/latest/', None),\n}\nhtmlhelp_basename = 'ReadTheDocsdoc'\nlatex_documents = [\n    ('index', 'ReadTheDocs.tex', u'Read the Docs Documentation',\n     u'Eric Holscher, Charlie Leifer, Bobby Grace', 'manual'),\n]\nman_pages = [\n    ('index', 'read-the-docs', u'Read the Docs Documentation',\n     [u'Eric Holscher, Charlie Leifer, Bobby Grace'], 1)\n]\n\nexclude_patterns = [\n    # 'api' # needed for ``make gettext`` to not die.\n]\n\nlanguage = 'en'\n\nlocale_dirs = [\n    'locale/',\n]\ngettext_compact = False\n\nhtml_theme = 'sphinx_rtd_theme'\nhtml_static_path = ['_static']\nhtml_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\nhtml_logo = 'img/logo.svg'\nhtml_theme_options = {\n    'logo_only': True,\n    'display_version': False,\n}\n\n# Activate autosectionlabel plugin\nautosectionlabel_prefix_document = True\n", "path": "docs/conf.py"}]}