From 44f1442212a0f622a9b697f4680e7938ce27933c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Thu, 3 Sep 2026 13:36:13 +0200 Subject: [PATCH] Drop the links to the generated Python API reference The pdoc-generated reference is not being published for now, so stop pointing the Python guide and SDK reference at lightpanda.io/lightpanda-python. --- src/content/guides/use-python.mdx | 2 +- src/content/reference/python.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/guides/use-python.mdx b/src/content/guides/use-python.mdx index 3c15014..ea022b1 100644 --- a/src/content/guides/use-python.mdx +++ b/src/content/guides/use-python.mdx @@ -164,7 +164,7 @@ asyncio.run(main()) Every browser action is a `Session` method, typed and documented in your IDE, with the action and its arguments in snake_case (`wait_for_selector`, `backend_node_id`). -Find every method's arguments in the [Python SDK reference](/reference/python), or browse the generated API reference at [lightpanda.io/lightpanda-python](https://lightpanda.io/lightpanda-python/). +Find every method's arguments in the [Python SDK reference](/reference/python). ## Replay a saved script diff --git a/src/content/reference/python.mdx b/src/content/reference/python.mdx index e0db810..2f969c6 100644 --- a/src/content/reference/python.mdx +++ b/src/content/reference/python.mdx @@ -61,7 +61,7 @@ Sessions are context managers too: `with browser.new_session() as page:` closes ## Calling an action -Every browser action is a method on `Session`/`AsyncSession`, keyword-only, with the action and its arguments in snake_case: the `waitForSelector` action is `wait_for_selector`, and its `backendNodeId` argument is `backend_node_id`. The methods are generated from the bundled browser's action schemas, so the signatures and docstrings your IDE shows come straight from the binary. The generated reference for the latest release is published at [lightpanda.io/lightpanda-python](https://lightpanda.io/lightpanda-python/). +Every browser action is a method on `Session`/`AsyncSession`, keyword-only, with the action and its arguments in snake_case: the `waitForSelector` action is `wait_for_selector`, and its `backendNodeId` argument is `backend_node_id`. The methods are generated from the bundled browser's action schemas, so the signatures and docstrings your IDE shows come straight from the binary. A failed action raises `ToolError`.