Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move API docs to its own file #296

Merged
merged 3 commits into from Apr 6, 2016
Merged

Move API docs to its own file #296

merged 3 commits into from Apr 6, 2016

Conversation

malept
Copy link
Member

@malept malept commented Mar 31, 2016

I cleaned up the headers, added some intra-doc links, and changed some formatting. I think it looks better, overall. And, you can now link to a specific option.

Fixes #275.

(Clicking "View" is probably a better way of looking at it, rather than the diff.)

TODO

  • Update callback function signature (in two places)


```javascript
var packager = require('electron-packager')
packager(options, function done_callback (err, appPath) { /* … */ })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The callback receives an array, since 5.0.0. (I guess I missed updating something in the readme back when I did #88?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the callback function signature look like?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still error-object-first, it's just (err, appPaths) now rather than singular appPath.

@malept malept added documentation 📝 docs-needed 📝 Pull request needs documentation labels Apr 4, 2016
@malept malept merged commit ff9d250 into master Apr 6, 2016
@malept malept deleted the separate-api-docs branch April 6, 2016 06:41
@malept malept added this to the 6.0.1 milestone Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-needed 📝 Pull request needs documentation documentation 📝
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants