Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Various doc improvements #374

Merged
merged 3 commits into from
Nov 1, 2018
Merged

Various doc improvements #374

merged 3 commits into from
Nov 1, 2018

Conversation

xavdid
Copy link
Contributor

@xavdid xavdid commented Oct 31, 2018

Various minor doc improvements.

fixes #356, fixes #141, fixes #353, fixes #91

Note I purposefully didn't build docs for the PR because it adds a lot of noise. I'll do that before I merge.

Copy link
Member

@eliangcs eliangcs left a comment

Choose a reason for hiding this comment

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

Awesome PR! Thanks for addressing these old doc mistakes! I have some suggestions but feel free to accept or ignore.

@@ -37,7 +37,9 @@ A shortcut for \`zapier build && zapier upload\` - this is our recommended way t

> Note: this is always a safe operation as live/production apps are protected from pushes. You must use \`zapier promote\` or \`zapier migrate\` to impact live users.

If you have not yet registered your app, this command will prompt you for your app title and register the app.
> Note: this will overwrite the version specified in your \`package.json\`. If you want to push to a new version, increment the "version" key.
Copy link
Member

Choose a reason for hiding this comment

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

I'd be more specific by saying

..., increment the "version" key in package.json.

README-source.md Outdated
@@ -687,7 +686,7 @@ module.exports = {


### `bundle.cleanedRequest`
> `bundle.cleanedRequest` is only available in the `perform` for web hooks and `getAccessToken` for oauth authentication methods
> `bundle.cleanedRequest` is only available in the `perform` for webhooks and `getAccessToken` for oauth authentication methods
Copy link
Member

Choose a reason for hiding this comment

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

Should we add a period at the end of the sentence? The same goes other similar places in this doc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

checked them all! They all end in punctuation now.

README-source.md Outdated

> `bundle.targetUrl` is only available in the `performSubscribe` and `performUnsubscribe` methods for webhooks

This the url to which you should send hook data. It'll look something like `https://hooks.zapier.com/1234/abcd`. We provide it so you can make some sort of POST request to your server and store this as a destination for new info.
Copy link
Member

Choose a reason for hiding this comment

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

I'm fine with both url and URL, but we should be consistent across the entire document. So I think we should be using URL here.

Also, I'd suggest editing this:

We provide it so you can make some sort of POST request to your server and store this as a destination for new info.

to:

We provide it so we can make a POST request to your server, and your server should store this URL to hit when there's new data.

@xavdid xavdid merged commit 3578672 into master Nov 1, 2018
@xavdid xavdid deleted the docs branch November 1, 2018 16:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.