prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Docs page describing Beta meaning
  ## 📚 Documentation
  
  Add a page in our docs describing that beta means that one or all of the following are true:
  - the feature has unstable dependencies
  - the feature may change without notice in future versions
  - the feature is not compatible with other flash / pl features
  - the performance of the feature has not been verified
  
  Anything else?
  
  
  --- 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/extensions/stability.py`
  Content:
  ```
  1 # Copyright The PyTorch Lightning team.
  2 #
  3 # Licensed under the Apache License, Version 2.0 (the "License");
  4 # you may not use this file except in compliance with the License.
  5 # You may obtain a copy of the License at
  6 #
  7 #     http://www.apache.org/licenses/LICENSE-2.0
  8 #
  9 # Unless required by applicable law or agreed to in writing, software
  10 # distributed under the License is distributed on an "AS IS" BASIS,
  11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 # See the License for the specific language governing permissions and
  13 # limitations under the License.
  14 from docutils import nodes
  15 from docutils.parsers.rst import Directive
  16 from docutils.statemachine import StringList
  17 
  18 ADMONITION_TEMPLATE = """
  19 .. raw:: html
  20 
  21     <div class="admonition warning {type}">
  22     <p class="admonition-title">{title}</p>
  23     <p>This {scope} is currently in Beta. The interfaces and functionality may change without warning in future
  24     releases.</p>
  25     </div>
  26 """
  27 
  28 
  29 class Beta(Directive):
  30     has_content = True
  31     required_arguments = 1
  32     optional_arguments = 0
  33 
  34     def run(self):
  35 
  36         scope = self.arguments[0]
  37 
  38         admonition_rst = ADMONITION_TEMPLATE.format(type="beta", title="Beta", scope=scope)
  39         admonition_list = StringList(admonition_rst.split("\n"))
  40         admonition = nodes.paragraph()
  41         self.state.nested_parse(admonition_list, self.content_offset, admonition)
  42         return [admonition]
  43 
  44 
  45 def setup(app):
  46     app.add_directive("beta", Beta)
  47
  ```
  --- 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()
  
  ```
  
golden_diff: diff --git a/docs/extensions/stability.py b/docs/extensions/stability.py
  --- a/docs/extensions/stability.py
  +++ b/docs/extensions/stability.py
  @@ -20,8 +20,14 @@
   
       <div class="admonition warning {type}">
       <p class="admonition-title">{title}</p>
  -    <p>This {scope} is currently in Beta. The interfaces and functionality may change without warning in future
  -    releases.</p>
  +    <p>
  +
  +This {scope} is currently in Beta. The API and functionality may change without warning in future
  +releases. :ref:`More details <stability>`.
  +
  +.. raw:: html
  +
  +    </p>
       </div>
   """
  
verification_info: {"golden_diff": "diff --git a/docs/extensions/stability.py b/docs/extensions/stability.py\n--- a/docs/extensions/stability.py\n+++ b/docs/extensions/stability.py\n@@ -20,8 +20,14 @@\n \n     <div class=\"admonition warning {type}\">\n     <p class=\"admonition-title\">{title}</p>\n-    <p>This {scope} is currently in Beta. The interfaces and functionality may change without warning in future\n-    releases.</p>\n+    <p>\n+\n+This {scope} is currently in Beta. The API and functionality may change without warning in future\n+releases. :ref:`More details <stability>`.\n+\n+.. raw:: html\n+\n+    </p>\n     </div>\n \"\"\"\n", "issue": "Docs page describing Beta meaning\n## \ud83d\udcda Documentation\r\n\r\nAdd a page in our docs describing that beta means that one or all of the following are true:\r\n- the feature has unstable dependencies\r\n- the feature may change without notice in future versions\r\n- the feature is not compatible with other flash / pl features\r\n- the performance of the feature has not been verified\r\n\r\nAnything else?\r\n\n", "before_files": [{"content": "# Copyright The PyTorch Lightning team.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\nfrom docutils import nodes\nfrom docutils.parsers.rst import Directive\nfrom docutils.statemachine import StringList\n\nADMONITION_TEMPLATE = \"\"\"\n.. raw:: html\n\n    <div class=\"admonition warning {type}\">\n    <p class=\"admonition-title\">{title}</p>\n    <p>This {scope} is currently in Beta. The interfaces and functionality may change without warning in future\n    releases.</p>\n    </div>\n\"\"\"\n\n\nclass Beta(Directive):\n    has_content = True\n    required_arguments = 1\n    optional_arguments = 0\n\n    def run(self):\n\n        scope = self.arguments[0]\n\n        admonition_rst = ADMONITION_TEMPLATE.format(type=\"beta\", title=\"Beta\", scope=scope)\n        admonition_list = StringList(admonition_rst.split(\"\\n\"))\n        admonition = nodes.paragraph()\n        self.state.nested_parse(admonition_list, self.content_offset, admonition)\n        return [admonition]\n\n\ndef setup(app):\n    app.add_directive(\"beta\", Beta)\n", "path": "docs/extensions/stability.py"}], "after_files": [{"content": "# Copyright The PyTorch Lightning team.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\nfrom docutils import nodes\nfrom docutils.parsers.rst import Directive\nfrom docutils.statemachine import StringList\n\nADMONITION_TEMPLATE = \"\"\"\n.. raw:: html\n\n    <div class=\"admonition warning {type}\">\n    <p class=\"admonition-title\">{title}</p>\n    <p>\n\nThis {scope} is currently in Beta. The API and functionality may change without warning in future\nreleases. :ref:`More details <stability>`.\n\n.. raw:: html\n\n    </p>\n    </div>\n\"\"\"\n\n\nclass Beta(Directive):\n    has_content = True\n    required_arguments = 1\n    optional_arguments = 0\n\n    def run(self):\n\n        scope = self.arguments[0]\n\n        admonition_rst = ADMONITION_TEMPLATE.format(type=\"beta\", title=\"Beta\", scope=scope)\n        admonition_list = StringList(admonition_rst.split(\"\\n\"))\n        admonition = nodes.paragraph()\n        self.state.nested_parse(admonition_list, self.content_offset, admonition)\n        return [admonition]\n\n\ndef setup(app):\n    app.add_directive(\"beta\", Beta)\n", "path": "docs/extensions/stability.py"}]}