Skip to content

Conversation

@laurenzlong
Copy link
Contributor

Description

Code sample

Copy link
Contributor

@egilmorez egilmorez left a comment

Choose a reason for hiding this comment

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

Some questions/clarifications, thanks!

@laurenzlong
Copy link
Contributor Author

Thanks for the review Eric! Is there any chance you can try to stage this, so we can see what it looks like?

@laurenzlong laurenzlong marked this pull request as ready for review April 2, 2020 17:24
@egilmorez
Copy link
Contributor

Here as requested is a stage of these changes:

https://firebase.devsite.corp.google.com/docs/reference/functions/handler_builder_.handlerbuilder#https

One global suggestion: let's take each sample string and enclose it in this markup:

 * @example
 * ```javascript
 * exports.myFunction = functions.handler.https.onRequest((req, res) => { ... })
 * ```

That will create some whitespace and make everything pretty for the output.

Thanks!

@egilmorez
Copy link
Contributor

Or actually, why not merge this as/is and I can apply the formatting like tech writers are supposed to do.

Thanks!

@egilmorez egilmorez merged commit f1ced37 into launch.handler-docs Apr 7, 2020
laurenzlong added a commit that referenced this pull request May 1, 2020
* Adding top-level comment and TOC for functions.handler. (#633)

* Adding top-level comment and TOC for functions.handler.

* Adding edits from feedback.

* Refer specifically to Firebase CLI.

* Adding top-level comment and TOC for functions.handler. (#633)

* Adding top-level comment and TOC for functions.handler.

* Adding edits from feedback.

* Refer specifically to Firebase CLI.

* Pin "typedoc" version to 0.14.2 (#655)

* Add docstrings for handler.firestore, handler.database, and handler.https (#652)

* Document a few providers

* Remove extra sentence in http function docstring

* Crashlytics handler details and example formatting (#656)

* Adding comments for Crashlytics handler.

* Removing parens for parameters per feedback.

* Eg moar handlers (#657)

* Adding RC and Analytics handlers.

* Adding Storage object handler.

* Adding Pub/Sub and Test Lab handlers.

* Adding auth handler.

* Fixing typo.

* Removing async to be consistent among examples. (#658)

* handler functions: copy-edits in comments only (#675)

* Removing async syntax from Storage handlers. (#678)

Co-authored-by: egilmorez <egilmore@google.com>
Co-authored-by: rachelsaunders <52258509+rachelsaunders@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants