Skip to content

Commit dba084a

Browse files
committed
docs: remove sudo on copy
1 parent 1340b06 commit dba084a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/contents.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
scripting
1111
certificates
1212
statusapi
13+
unitctl
1314
howto/index
1415
troubleshooting
1516
community

source/theme/static/script.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ function nxt_copy_console(text) {
149149
line = trimmed.replace(/^\$\s*/, '')
150150
break
151151
case '#':
152-
line = trimmed.replace(/^#\s*/, 'sudo ')
153-
.replace(/\|\s*/g, '| sudo ')
152+
line = trimmed.replace(/^#\s*/, '')
154153
break
155154
default:
156155
continue

0 commit comments

Comments
 (0)