Add a way to support any platform for the "Edit On" feature, fixes #413

This commit is contained in:
Stéphane Goetz
2016-09-30 22:24:33 +02:00
bovenliggende 5af481f1ab
commit 4cdb7f6fd1
6 gewijzigde bestanden met toevoegingen van 152 en 47 verwijderingen

Bestand weergeven

@ -15,3 +15,21 @@ Daux.io will handle the rest
}
}
```
## Edit on other VCS
While GitHub is the most popular, it isn't the only, collaborative VCS out there.
As long as you can refer your files by a URL, you can create an edit link for your VCS with the following configuration:
```json
{
"html": {
"edit_on": {
"name": "Bitbucket",
"basepath": "https://bitbucket.org/onigoetz/daux.io/src/master/docs"
}
}
}
```