Skip to content

Commit 8e9d8b6

Browse files
committed
docs: use sphinx style codeblock in docstring
1 parent 7c2c81f commit 8e9d8b6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

pins/constructors.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -366,21 +366,21 @@ def board_rsconnect(
366366
--------
367367
Use a server url or set the CONNECT_SERVER environt variable to connect:
368368
369-
```python
370-
server_url = "https://connect.rstudioservices.com"
371-
board = board_rsconnect(server_url)
372-
```
369+
::
370+
371+
server_url = "https://connect.rstudioservices.com"
372+
board = board_rsconnect(server_url)
373373
374374
In order to read a public pin, use board_manual with the public pin url.
375375
376-
```python
377-
# for a pin at https://connect.rstudioservices.com/content/3004/
378-
board = board_url(
379-
"https://connect.rstudioservices.com/content",
380-
{"my_df": "3004/"}
381-
)
382-
board.pin_read("my_df")
383-
```
376+
::
377+
378+
# for a pin at https://connect.rstudioservices.com/content/3004/
379+
board = board_url(
380+
"https://connect.rstudioservices.com/content",
381+
{"my_df": "3004/"}
382+
)
383+
board.pin_read("my_df")
384384
385385
See Also
386386
--------

0 commit comments

Comments
 (0)