Skip to content

Commit

Permalink
Add remark on sponge
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkjanfaber committed Nov 8, 2024
1 parent b76eecc commit ba18ef6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,12 @@ npm publish
## Documentation

### Generating Documentation

Make sure you've got `moreutils` installed (for `sponge`) first.

```bash
# Update node documentation
node scripts/service2doc.js -s src/services/services.json -r src/nodes/victron-nodes.html -t nodered
( sed '/^<!--/q' ../src/nodes/config-client.html && node service2doc.js -s ../src/services/services.json -r ../src/nodes/victron-nodes.html -t nodered ) | sponge ../src/nodes/config-client.html

# Update wiki
node scripts/service2doc.js -s src/services/services.json -r src/nodes/victron-nodes.html -t md
Expand Down

0 comments on commit ba18ef6

Please sign in to comment.