Skip to content

Conversation

@egilmorez
Copy link
Contributor

@egilmorez egilmorez commented May 14, 2020

Attempting a cleanup of our reference doc generation in these areas:

-- Adding home page content.
-- Hiding things to prevent unnecessary pages from being generated.
-- Hiding specific things to exclude them from generated pages.
-- Adding missing things such as a TOC entry for CallableContext.

Staged internally at: https://firebase.devsite.corp.google.com/docs/reference/functions/providers_https_

Thanks!

@egilmorez egilmorez requested a review from laurenzlong May 26, 2020 19:12
Copy link
Contributor

@laurenzlong laurenzlong left a comment

Choose a reason for hiding this comment

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

This is looking good!
export type CanonicalErrorCodeName can also be hidden.

rawRequest: Request;
}

// The allowed interface for an http request for a callable function.
Copy link
Contributor

Choose a reason for hiding this comment

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

I know we're hiding this, but just to document it better in the source code, can you revise this to:

The allowed interface for an HTTP request to a Callable function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

}

/** @hidden */
// The format for the http body response to a callable function.
Copy link
Contributor

Choose a reason for hiding this comment

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

I know we're hiding this, but just to document it better in the source code, can you revise this to:

The format for an HTTP body response from a Callable function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -1,3 +1,4 @@
/** @hidden */
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be combined with the lines below to make one comment block:

/** @hidden
  * @file Provides common assertion...
....

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -1,3 +1,4 @@
/** @hidden */
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be combined with the lines below to make one comment block

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@laurenzlong laurenzlong merged commit 1bd2736 into master May 27, 2020
@laurenzlong laurenzlong deleted the eg-fix-home branch May 27, 2020 19:29
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