You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,12 @@ python3 -m http.server 9000 --directory public
43
43
44
44
## Test the docs locally
45
45
46
+
To ensure all python snippets are properly formatted before creating a commit, install [flake8-markdown](https://github.com/johnfraney/flake8-markdown) and add the following like to `.git/hooks/pre-commit`:
47
+
48
+
```sh
49
+
flake8-markdown $(git diff --diff-filter=d --name-only HEAD | grep '\.md$')
50
+
```
51
+
46
52
To ensure your markdown is properly formatted, run `make markdowntest`.
Copy file name to clipboardExpand all lines: docs/components/board/_index.md
+25-13
Original file line number
Diff line number
Diff line change
@@ -448,10 +448,11 @@ Get an [`DigitalInterrupt`](#digital_interrupts) by `name.`
448
448
For more information, see the [Python SDK Docs](https://python.viam.dev/autoapi/viam/components/board/index.html#viam.components.board.Board.digital_interrupt_by_name).
@@ -306,7 +306,7 @@ Get the camera intrinsic parameters and camera distortion, as well as whether th
306
306
-[(Properties)](https://python.viam.dev/autoapi/viam/components/camera/index.html#viam.components.camera.Camera.Properties): The properties of the camera.
0 commit comments