From a4f769536ba7c7496317154b4faa4fdec9854043 Mon Sep 17 00:00:00 2001 From: Nicolas Garnier Date: Wed, 8 Mar 2017 12:31:29 -0800 Subject: [PATCH] Updating some text and links to the Prod docs URL. Change-Id: If132f8018ab27b5ea6d79af0437b9ca17bc307d8 --- README.md | 8 +++++--- instagram-auth/public/popup.html | 2 +- linkedin-auth/public/popup.html | 2 +- quickstarts/time-server/README.md | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f7d26d5..2d0c809 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ # Firebase SDK for Cloud Functions Samples Library -This repository contains a collection of samples showcasing some typical uses of Cloud Functions using the Firebase SDK for Cloud Functions. +This repository contains a collection of samples showcasing some typical uses of Cloud Functions using the [Firebase SDK for Cloud Functions](https://firebase.google.com/docs/functions). +### What's Cloud Functions? -## Prerequisites +Cloud Functions is a hosted, private, and scalable Node.js environment where you can run JavaScript code. Firebase SDK for Cloud Functions integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features. -To learn how to get started with the Firebase SDK for Cloud Functions try the quickstart samples and have a look at [the documentation](https://firebase.google.com/preview/functions/). +## Prerequisites +To learn how to get started with the Firebase SDK for Cloud Functions have a look at our [Getting Started Guide](https://firebase.google.com/docs/functions/get-started), try the [quickstart samples](/quickstarts) and have a look at [the documentation](https://firebase.google.com/docs/functions). ## Use Cases and Samples diff --git a/instagram-auth/public/popup.html b/instagram-auth/public/popup.html index 0f9b8ad..cd0aff5 100644 --- a/instagram-auth/public/popup.html +++ b/instagram-auth/public/popup.html @@ -71,7 +71,7 @@ Please wait... const script = document.createElement('script'); script.type = 'text/javascript'; // This is the URL to the HTTP triggered 'token' Firebase Function. - // See https://firebase.google.com/preview/functions/gcp-events#handle_a_cloud_http_firebase_function_event. + // See https://firebase.google.com/docs/functions. var tokenFunctionURL = 'https://us-central1-' + getFirebaseProjectId() + '.cloudfunctions.net/token'; script.src = tokenFunctionURL + '?code=' + encodeURIComponent(code) + diff --git a/linkedin-auth/public/popup.html b/linkedin-auth/public/popup.html index f85c8cf..9b9e0d4 100644 --- a/linkedin-auth/public/popup.html +++ b/linkedin-auth/public/popup.html @@ -71,7 +71,7 @@ Please wait... const script = document.createElement('script'); script.type = 'text/javascript'; // This is the URL to the HTTP triggered 'token' Firebase Function. - // See https://firebase.google.com/preview/functions/gcp-events#handle_a_cloud_http_firebase_function_event. + // See https://firebase.google.com/docs/functions. var tokenFunctionURL = 'https://us-central1-' + getFirebaseProjectId() + '.cloudfunctions.net/token'; script.src = tokenFunctionURL + '?code=' + encodeURIComponent(code) + diff --git a/quickstarts/time-server/README.md b/quickstarts/time-server/README.md index d2b7c36..f0af054 100644 --- a/quickstarts/time-server/README.md +++ b/quickstarts/time-server/README.md @@ -9,7 +9,7 @@ The function `date` returns the current server date. You can pass it a `format` Further reading: - - [Read more about the Firebase SDK for Cloud Functions](https://firebase.google.com/preview/functions/) + - [Read more about the Firebase SDK for Cloud Functions](https://firebase.google.com/docs/functions) ## Initial setup, build tools and dependencies