File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,10 @@ const i = output.stdout.indexOf(SEARCH);
39
39
if ( i < 0 ) {
40
40
throw new Error ( "Worker heading not found!" ) ;
41
41
}
42
- const optionsMd = output . stdout . slice ( i + SEARCH . length ) . trim ( ) ;
42
+ const optionsMd = output . stdout
43
+ . slice ( i + SEARCH . length )
44
+ . trim ( )
45
+ . replace ( / \( h t t p s : \/ \/ w o r k e r \. g r a p h i l e \. o r g \/ / g, "(/" ) ;
43
46
44
47
// Load the config.md doc file and replace the part between the comment tags
45
48
const configMd = await fs . readFile ( "website/docs/config.md" , "utf8" ) ;
Original file line number Diff line number Diff line change @@ -104,8 +104,7 @@ Number of jobs to run concurrently.
104
104
105
105
Type: ` string | undefined `
106
106
107
- Database
108
- [ connection string] ( https://worker.graphile.org/docs/connection-string ) .
107
+ Database [ connection string] ( /docs/connection-string ) .
109
108
110
109
### worker.crontabFile
111
110
@@ -118,7 +117,7 @@ Override path to crontab file.
118
117
Type: ` WorkerEvents | undefined `
119
118
120
119
A Node.js ` EventEmitter ` that exposes certain events within the runner (see
121
- [ ` WorkerEvents ` ] ( https://worker.graphile.org /docs/worker-events) ).
120
+ [ ` WorkerEvents ` ] ( /docs/worker-events ) ).
122
121
123
122
### worker.fileExtensions
124
123
You can’t perform that action at this time.
0 commit comments