-
Notifications
You must be signed in to change notification settings - Fork 10
Add support to pass a custom git repo #8
Comments
Goal: electron-typescript-definitions --in= |
Hi @CapOM. Would you be willing to open a PR that adds this capability? |
I was not planing but I can try. Will it require changes only in electron-docs repo ? |
I'm not sure I understand your questions, but there is already a capability to read docs from the disk, so if you have your branch checked out, you can point the module at your local path: const path = require('path')
const docsPath = path.join(__dirname, 'docs')
electronDocs(docsPath).then(function(docs) {
// ...
}) |
No I do want read docs from a local checkout but from a custom git url (so not the default https://github.com/electron/electron-docs/blob/master/index.js#L26) For example I am developing an app that uses electron and in MyApp/package.json I have I want to add the param: |
Curently support to pass a local path but that would be great to support:
git+https://[email protected]/MyName/electron.git#my_branch
The text was updated successfully, but these errors were encountered: