prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Internal docs are published on the gh pages instead of the official API
  We should remove everything that is not relevant to the end user!
  
  Docs: https://microsoft.github.io/playwright-python/sync_api.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: `playwright/__init__.py`
  Content:
  ```
  1 # Copyright (c) Microsoft Corporation.
  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 
  15 import playwright.helper as helper
  16 from playwright.main import AsyncPlaywrightContextManager, SyncPlaywrightContextManager
  17 
  18 Error = helper.Error
  19 TimeoutError = helper.TimeoutError
  20 
  21 
  22 def async_playwright() -> AsyncPlaywrightContextManager:
  23     return AsyncPlaywrightContextManager()
  24 
  25 
  26 def sync_playwright() -> SyncPlaywrightContextManager:
  27     return SyncPlaywrightContextManager()
  28 
  29 
  30 __all__ = [
  31     "async_playwright",
  32     "sync_playwright",
  33     "Error",
  34     "TimeoutError",
  35 ]
  36
  ```
  --- 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/playwright/__init__.py b/playwright/__init__.py
  --- a/playwright/__init__.py
  +++ b/playwright/__init__.py
  @@ -11,6 +11,13 @@
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
  +"""
  +Python package `playwright` is a Python library to automate Chromium,
  +Firefox and WebKit with a single API. Playwright is built to enable cross-browser
  +web automation that is ever-green, capable, reliable and fast.
  +For more information you'll find the documentation for the sync API [here](sync_api.html)
  +and for the async API [here](async_api.html).
  +"""
   
   import playwright.helper as helper
   from playwright.main import AsyncPlaywrightContextManager, SyncPlaywrightContextManager
  @@ -33,3 +40,37 @@
       "Error",
       "TimeoutError",
   ]
  +
  +__pdoc__ = {
  +    "accessibility": False,
  +    "async_base": False,
  +    "browser": False,
  +    "browser_context": False,
  +    "browser_type": False,
  +    "cdp_session": False,
  +    "chromium_browser_context": False,
  +    "connection": False,
  +    "console_message": False,
  +    "dialog": False,
  +    "download": False,
  +    "element_handle": False,
  +    "event_context_manager": False,
  +    "file_chooser": False,
  +    "frame": False,
  +    "helper": False,
  +    "impl_to_api_mapping": False,
  +    "input": False,
  +    "js_handle": False,
  +    "main": False,
  +    "network": False,
  +    "object_factory": False,
  +    "page": False,
  +    "path_utils": False,
  +    "playwright": False,
  +    "selectors": False,
  +    "sync_base": False,
  +    "transport": False,
  +    "wait_helper": False,
  +    "async_playwright": False,
  +    "sync_playwright": False,
  +}
  
verification_info: {"golden_diff": "diff --git a/playwright/__init__.py b/playwright/__init__.py\n--- a/playwright/__init__.py\n+++ b/playwright/__init__.py\n@@ -11,6 +11,13 @@\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.\n+\"\"\"\n+Python package `playwright` is a Python library to automate Chromium,\n+Firefox and WebKit with a single API. Playwright is built to enable cross-browser\n+web automation that is ever-green, capable, reliable and fast.\n+For more information you'll find the documentation for the sync API [here](sync_api.html)\n+and for the async API [here](async_api.html).\n+\"\"\"\n \n import playwright.helper as helper\n from playwright.main import AsyncPlaywrightContextManager, SyncPlaywrightContextManager\n@@ -33,3 +40,37 @@\n     \"Error\",\n     \"TimeoutError\",\n ]\n+\n+__pdoc__ = {\n+    \"accessibility\": False,\n+    \"async_base\": False,\n+    \"browser\": False,\n+    \"browser_context\": False,\n+    \"browser_type\": False,\n+    \"cdp_session\": False,\n+    \"chromium_browser_context\": False,\n+    \"connection\": False,\n+    \"console_message\": False,\n+    \"dialog\": False,\n+    \"download\": False,\n+    \"element_handle\": False,\n+    \"event_context_manager\": False,\n+    \"file_chooser\": False,\n+    \"frame\": False,\n+    \"helper\": False,\n+    \"impl_to_api_mapping\": False,\n+    \"input\": False,\n+    \"js_handle\": False,\n+    \"main\": False,\n+    \"network\": False,\n+    \"object_factory\": False,\n+    \"page\": False,\n+    \"path_utils\": False,\n+    \"playwright\": False,\n+    \"selectors\": False,\n+    \"sync_base\": False,\n+    \"transport\": False,\n+    \"wait_helper\": False,\n+    \"async_playwright\": False,\n+    \"sync_playwright\": False,\n+}\n", "issue": "Internal docs are published on the gh pages instead of the official API\nWe should remove everything that is not relevant to the end user!\n\nDocs: https://microsoft.github.io/playwright-python/sync_api.html\n", "before_files": [{"content": "# Copyright (c) Microsoft Corporation.\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.\n\nimport playwright.helper as helper\nfrom playwright.main import AsyncPlaywrightContextManager, SyncPlaywrightContextManager\n\nError = helper.Error\nTimeoutError = helper.TimeoutError\n\n\ndef async_playwright() -> AsyncPlaywrightContextManager:\n    return AsyncPlaywrightContextManager()\n\n\ndef sync_playwright() -> SyncPlaywrightContextManager:\n    return SyncPlaywrightContextManager()\n\n\n__all__ = [\n    \"async_playwright\",\n    \"sync_playwright\",\n    \"Error\",\n    \"TimeoutError\",\n]\n", "path": "playwright/__init__.py"}], "after_files": [{"content": "# Copyright (c) Microsoft Corporation.\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.\n\"\"\"\nPython package `playwright` is a Python library to automate Chromium,\nFirefox and WebKit with a single API. Playwright is built to enable cross-browser\nweb automation that is ever-green, capable, reliable and fast.\nFor more information you'll find the documentation for the sync API [here](sync_api.html)\nand for the async API [here](async_api.html).\n\"\"\"\n\nimport playwright.helper as helper\nfrom playwright.main import AsyncPlaywrightContextManager, SyncPlaywrightContextManager\n\nError = helper.Error\nTimeoutError = helper.TimeoutError\n\n\ndef async_playwright() -> AsyncPlaywrightContextManager:\n    return AsyncPlaywrightContextManager()\n\n\ndef sync_playwright() -> SyncPlaywrightContextManager:\n    return SyncPlaywrightContextManager()\n\n\n__all__ = [\n    \"async_playwright\",\n    \"sync_playwright\",\n    \"Error\",\n    \"TimeoutError\",\n]\n\n__pdoc__ = {\n    \"accessibility\": False,\n    \"async_base\": False,\n    \"browser\": False,\n    \"browser_context\": False,\n    \"browser_type\": False,\n    \"cdp_session\": False,\n    \"chromium_browser_context\": False,\n    \"connection\": False,\n    \"console_message\": False,\n    \"dialog\": False,\n    \"download\": False,\n    \"element_handle\": False,\n    \"event_context_manager\": False,\n    \"file_chooser\": False,\n    \"frame\": False,\n    \"helper\": False,\n    \"impl_to_api_mapping\": False,\n    \"input\": False,\n    \"js_handle\": False,\n    \"main\": False,\n    \"network\": False,\n    \"object_factory\": False,\n    \"page\": False,\n    \"path_utils\": False,\n    \"playwright\": False,\n    \"selectors\": False,\n    \"sync_base\": False,\n    \"transport\": False,\n    \"wait_helper\": False,\n    \"async_playwright\": False,\n    \"sync_playwright\": False,\n}\n", "path": "playwright/__init__.py"}]}