From 633bfa566ad35d5da99e150daec5486f013f36d7 Mon Sep 17 00:00:00 2001 From: Giriraj Soni Date: Tue, 14 Mar 2023 17:54:57 +0530 Subject: [PATCH] doc: fix incorrect links Changes in BUILDING.md, net.md, process.md and worker_threads.md file for issue #47070 Fixes: https://github.com/nodejs/node/issues/47070 --- BUILDING.md | 2 +- doc/api/net.md | 2 +- doc/api/process.md | 2 +- doc/api/worker_threads.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 3e519343a3cbf9..af8da2dfc8cc05 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -988,7 +988,7 @@ true FIPS support can then be enable via the OpenSSL configuration file or using `--enable-fips` or `--force-fips` command line options to the Node.js executable. See sections -[Enabling FIPS using Node.js options](#enabling-fips-using-node.js-options) and +[Enabling FIPS using Node.js options](#enabling-fips-using-nodejs-options) and [Enabling FIPS using OpenSSL config](#enabling-fips-using-openssl-config) below. ### Enabling FIPS using Node.js options diff --git a/doc/api/net.md b/doc/api/net.md index 2b67e85a32d9e2..32603ca79674b1 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -1729,7 +1729,7 @@ net.isIPv6('fhqwhgads'); // returns false [`'data'`]: #event-data [`'drain'`]: #event-drain [`'end'`]: #event-end -[`'error'`]: #event-error_1 +[`'error'`]: #event-error-1 [`'listening'`]: #event-listening [`'timeout'`]: #event-timeout [`EventEmitter`]: events.md#class-eventemitter diff --git a/doc/api/process.md b/doc/api/process.md index e9ef0a972de01c..2aa495f7d4f618 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -3975,7 +3975,7 @@ cases: [`process.config`]: #processconfig [`process.execPath`]: #processexecpath [`process.exit()`]: #processexitcode -[`process.exitCode`]: #processexitcode_1 +[`process.exitCode`]: #processexitcode-1 [`process.hrtime()`]: #processhrtimetime [`process.hrtime.bigint()`]: #processhrtimebigint [`process.kill()`]: #processkillpid-signal diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 674424f6f0bf90..4b025a74b15e22 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -1398,10 +1398,10 @@ thread spawned will spawn another until the application crashes. [`v8.getHeapSnapshot()`]: v8.md#v8getheapsnapshotoptions [`vm`]: vm.md [`worker.SHARE_ENV`]: #workershare_env -[`worker.on('message')`]: #event-message_1 +[`worker.on('message')`]: #event-message-1 [`worker.postMessage()`]: #workerpostmessagevalue-transferlist [`worker.terminate()`]: #workerterminate -[`worker.threadId`]: #workerthreadid_1 +[`worker.threadId`]: #workerthreadid-1 [async-resource-worker-pool]: async_context.md#using-asyncresource-for-a-worker-thread-pool [browser `MessagePort`]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort [child processes]: child_process.md