Skip to content

Commit

Permalink
Minor docs improvement
Browse files Browse the repository at this point in the history
See #676
  • Loading branch information
sbs20 committed Mar 6, 2023
1 parent 25ea599 commit 6d216f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ three functions at different stages in the processing:
## Example file

```javascript
const Process = require('../src/classes/process');
const Process = require('../server/classes/process');

module.exports = {
/**
Expand Down
4 changes: 4 additions & 0 deletions docs/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ pipeline then something like the following may help:
Now create the following pipeline in your `config/config.local.js`

```javascript
const Process = require('../server/classes/process');

module.exports = {
afterConfig(config) {
config.pipelines.push({
extension: 'pdf',
Expand All @@ -93,6 +96,7 @@ Now create the following pipeline in your `config/config.local.js`
async afterScan(fileInfo) {
return await Process.spawn(`mpack -s "Document from Scanner@Office" "${fileInfo.fullname}" [email protected]`);
}
};
```

## Other recipes?
Expand Down

0 comments on commit 6d216f6

Please sign in to comment.