diff --git a/docs/get-started/_index.md b/docs/get-started/_index.md index 4d0fe164db9..926d5e68427 100644 --- a/docs/get-started/_index.md +++ b/docs/get-started/_index.md @@ -11,6 +11,7 @@ Learn about the Viam platform by reading our Viam in 3 minutes guide or try it o {{< cards >}} {{% card link="/get-started/viam/" %}} {{% card link="/get-started/try-viam/" %}} +{{% card link="/get-started/quickstarts/control-motor/" %}} {{< /cards >}} If you're ready to try it on your own machine, start by installing `viam-server`. diff --git a/docs/get-started/quickstarts/control-motor.md b/docs/get-started/quickstarts/control-motor.md index 8e0e0a9f4f6..1f71cc6dad2 100644 --- a/docs/get-started/quickstarts/control-motor.md +++ b/docs/get-started/quickstarts/control-motor.md @@ -107,9 +107,9 @@ async def main(): # Don't forget to close the machine when you're done! await machine.close() + if __name__ == '__main__': asyncio.run(main()) - ``` {{% /tab %}}