From d3d6b47a4b28de0bae4830ef513ff0c97986acb2 Mon Sep 17 00:00:00 2001 From: Naomi Pentrel <5212232+npentrel@users.noreply.github.com> Date: Wed, 26 Mar 2025 10:21:19 +0100 Subject: [PATCH] DOCS-3769: Add clarification to UpdateRobot --- .github/workflows/parse_flutter.py | 3 +++ static/include/app/apis/generated/app.md | 2 ++ static/include/app/apis/overrides/protos/app.UpdateRobot.md | 1 + .../include/app/apis/overrides/protos/app.UpdateRobotPart.md | 1 + 4 files changed, 7 insertions(+) diff --git a/.github/workflows/parse_flutter.py b/.github/workflows/parse_flutter.py index 5c0a215784..a82f40338e 100755 --- a/.github/workflows/parse_flutter.py +++ b/.github/workflows/parse_flutter.py @@ -74,6 +74,9 @@ def parse(self, type, viam_resources, args): if resource not in unsupported_resources: soup = make_soup(url) + if not soup: + print(f"DEBUG: No soup for {url}") + continue if resource in flutter_resource_overrides: flutter_resource = flutter_resource_overrides[resource] diff --git a/static/include/app/apis/generated/app.md b/static/include/app/apis/generated/app.md index f3d579e35b..b9fe82f091 100644 --- a/static/include/app/apis/generated/app.md +++ b/static/include/app/apis/generated/app.md @@ -1447,6 +1447,7 @@ For more information, see the [TypeScript SDK Docs](https://ts.viam.dev/classes/ ### UpdateRobotPart Change the name of and assign an optional new configuration to a machine {{< glossary_tooltip term_id="part" text="part" >}}. +You can only change the name and configuration of the machine part, not the location. {{< tabs >}} {{% tab name="Python" %}} @@ -1855,6 +1856,7 @@ For more information, see the [TypeScript SDK Docs](https://ts.viam.dev/classes/ ### UpdateRobot Change the name of an existing machine. +You can only change the name of the machine, not the location. {{< tabs >}} {{% tab name="Python" %}} diff --git a/static/include/app/apis/overrides/protos/app.UpdateRobot.md b/static/include/app/apis/overrides/protos/app.UpdateRobot.md index cf1bf7940a..e3fa60f9b7 100644 --- a/static/include/app/apis/overrides/protos/app.UpdateRobot.md +++ b/static/include/app/apis/overrides/protos/app.UpdateRobot.md @@ -1 +1,2 @@ Change the name of an existing machine. +You can only change the name of the machine, not the location. diff --git a/static/include/app/apis/overrides/protos/app.UpdateRobotPart.md b/static/include/app/apis/overrides/protos/app.UpdateRobotPart.md index 01b11a08ed..03306abbe2 100644 --- a/static/include/app/apis/overrides/protos/app.UpdateRobotPart.md +++ b/static/include/app/apis/overrides/protos/app.UpdateRobotPart.md @@ -1 +1,2 @@ Change the name of and assign an optional new configuration to a machine {{< glossary_tooltip term_id="part" text="part" >}}. +You can only change the name and configuration of the machine part, not the location.