File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -488,21 +488,22 @@ Arguments:
488
488
- ` docBase `
489
489
- Required.
490
490
- It should be a full path to your doc's site directory on Github.
491
- - Here is the general form.
491
+ - Here is the general form - use your own repo details and typically ` BRANCH ` is ` master ` and ` DIRECTORY ` is ` docs ` .
492
492
```
493
493
https://github.com/USERNAME/REPONAME/blob/BRANCH/DIRECTORY/'
494
494
```
495
- - Example based on this repo, where the docs site is in the `docs` directory.
495
+ - Example based on this repo:
496
496
```javascript
497
497
var docBase = 'https://github.com/MichaelCurrin/docsify-js-tutorial/blob/master/docs/';
498
+
498
499
EditOnGithubPlugin.create(docBase);
499
500
```
500
501
- `docEditBase`
501
- - Optional.
502
- - It defaults to the first argument if not set.
502
+ - Optional - defaults to the first argument if not set.
503
503
- `title`
504
- - Optional.
505
- - Set if you want to override the text. Example:
504
+ - Optional - defaults to `'Edit on Github`.
505
+ - Set to override the message.
506
+ - Example:
506
507
```javascript
507
508
EditOnGithubPlugin.create(
508
509
repo,
You can’t perform that action at this time.
0 commit comments