Skip to content

Commit e35f051

Browse files
Fix incorrect rendering of stream_to_gsheet.html docs (#1087)
1 parent cf7eb57 commit e35f051

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/tools/stream_to_gsheet.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,17 @@ Google Sheet. Each line of output will be written to a new row in the sheet.
9595
We have already integrated the `stream_to_gsheets` utility in `bin/registrar`.
9696
It can be used with other tools similarly.
9797
98-
* Define the link to the spreadsheet in your site model's site_metadata.json
99-
file under the key `sheet`
100-
```json lines
101-
// site_model/site_metadata.json
98+
* Define the link to the spreadsheet in your site model's `site_metadata.json`
99+
file under the key `sheet`.
100+
101+
```json
102102
{
103103
"sheet": "https://docs.google.com/spreadsheets/d/YOUR_SPREADSHEET_ID"
104104
}
105105
```
106+
106107
* In the tool script, add the required commands:
108+
107109
```shell
108110
source $UDMI_ROOT/etc/shell_common.sh
109111
@@ -128,4 +130,4 @@ if [[ $spreadsheet != "null" && -n "$spreadsheet" ]]; then
128130
else
129131
$cmd 2>&1 | tee $OUT_DIR/$util_name.log
130132
fi
131-
```
133+
```

0 commit comments

Comments
 (0)