-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Hyperlint Automation: Broken Link Fixes #19685
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
Changes from 5 commits
d65a8b5
210f3af
8cf32b0
33febe4
4f68902
599f8d4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -59,7 +59,7 @@ interface CloudflareEnv { | |
|
|
||
| ## Other Cloudflare APIs (`cf`, `ctx`) | ||
|
|
||
| Access context about the incoming request from the [`cf` object](/workers/runtime-apis/request/#incomingrequestcfproperties), as well as [lifecycle methods from the `ctx` object](/workers/runtime-apis/handlers/fetch/#lifecycle-methods) from the return value of [`getRequestContext()`](https://github.com/cloudflare/next-on-pages/blob/main/packages/next-on-pages/src/api/getRequestContext.ts): | ||
| Access context about the incoming request from the [`cf` object](/workers/runtime-apis/request/#incomingrequestcfproperties), as well as [lifecycle methods from the `ctx` object](/workers/runtime-apis/handlers/fetch/) from the return value of [`getRequestContext()`](https://github.com/cloudflare/next-on-pages/blob/main/packages/next-on-pages/src/api/getRequestContext.ts): | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This page: http://localhost:1111/pages/framework-guides/nextjs/ssr/bindings/ By looking at the page: http://localhost:1111/workers/runtime-apis/handlers/fetch/
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @kodster28
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Likely not worth the added effort. The idea here is a general best guess based on your knowledge of the docs. cc: @bllchmbrs, just in case there's anything worth noting here. |
||
|
|
||
| ```js | ||
| import { getRequestContext } from "@cloudflare/next-on-pages"; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,7 +60,7 @@ To remove access to an individual GitHub repository, you can navigate to **Repos | |
|
|
||
| #### Remove Cloudflare access to the entire GitHub account | ||
|
|
||
| To remove Cloudflare Workers and Pages access to your entire Git account, you can navigate to **Uninstall "Cloudflare Workers and Pages"**, then select **Uninstall**. Removing access to the Cloudflare Workers and Pages app will revoke Cloudflare's access to _all repositories_ from that GitHub account. If you want to only disable automatic builds and deployments, follow the [Disable Build](/workers/ci-cd/builds/#disabling-builds) instructions. | ||
| To remove Cloudflare Workers and Pages access to your entire Git account, you can navigate to **Uninstall "Cloudflare Workers and Pages"**, then select **Uninstall**. Removing access to the Cloudflare Workers and Pages app will revoke Cloudflare's access to _all repositories_ from that GitHub account. If you want to only disable automatic builds and deployments, follow the [Disable Build](/workers/ci-cd/builds/#disconnecting-builds) instructions. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This page: http://localhost:1111/workers/ci-cd/builds/git-integration/github-integration/ By looking at the page: http://localhost:1111/workers/ci-cd/builds/ |
||
|
|
||
| Note that removing access to GitHub will disable new builds for Workers and Pages project that were connected to those repositories, though your previous deployments will continue to be hosted by Cloudflare Workers. | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,7 @@ The [RPC system in Workers](/workers/runtime-apis/rpc) is designed feel as simil | |
|
|
||
| :::note | ||
|
|
||
| You can also use RPC to communicate between Workers and [Durable Objects](/durable-objects/best-practices/create-durable-object-stubs-and-send-requests/#call-rpc-methods). | ||
| You can also use RPC to communicate between Workers and [Durable Objects](/durable-objects/best-practices/create-durable-object-stubs-and-send-requests/#invoke-rpc-methods). | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This page: http://localhost:1111/workers/runtime-apis/bindings/service-bindings/rpc/ By looking at the page: http://localhost:1111/durable-objects/best-practices/create-durable-object-stubs-and-send-requests/ |
||
| ::: | ||
|
|
||
| ## Example | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ This guide will instruct you through installing and setting up the `@cloudflare/ | |
|
|
||
| - Make sure that your Worker is developed using the ES modules format. To migrate from the service worker format to the ES modules format, refer to the [Migrate to the ES modules format](/workers/reference/migrate-to-module-workers/) guide. | ||
|
|
||
| - In your project's `wrangler.toml / wrangler.json` file, define a [compatibility date](/workers/configuration/compatibility-dates/) of `2022-10-31` or higher, and include `nodejs_compat` in your [compatibility flags](/workers/wrangler/configuration/#use-runtime-apis-directly). | ||
| - In your project's `wrangler.toml / wrangler.json` file, define a [compatibility date](/workers/configuration/compatibility-dates/) of `2022-10-31` or higher, and include `nodejs_compat` in your [compatibility flags](/workers/wrangler/configuration/). | ||
|
||
|
|
||
| ## Install Vitest and `@cloudflare/vitest-pool-workers` | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page: http://localhost:1111/workers/ci-cd/builds/git-integration/github-integration/
has a broken internal link to: http://localhost:1111/workers/ci-cd/builds/.
The fragment
disabling-buildsdoes not exist.By looking at the page: http://localhost:1111/workers/ci-cd/builds/
The best fragment to use seems to be: #disconnecting-builds