From c5c5744132d2185e366793b6333489261b0ab247 Mon Sep 17 00:00:00 2001 From: Gireesh Punathil Date: Fri, 1 Nov 2024 09:13:53 +0530 Subject: [PATCH] doc: improve c++ embedder API doc normalise the headers, fixup bullet points and expand `node::IsolateData` scope for clarity. PR-URL: https://github.com/nodejs/node/pull/55597 Reviewed-By: Akhil Marsonya Reviewed-By: Luigi Pinca --- doc/api/embedding.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/api/embedding.md b/doc/api/embedding.md index d4ae090c255f97..114f1128af0a42 100644 --- a/doc/api/embedding.md +++ b/doc/api/embedding.md @@ -23,7 +23,7 @@ a Node.js-specific environment. The full code can be found [in the Node.js source tree][embedtest.cc]. -### Setting up per-process state +### Setting up a per-process state Node.js requires some per-process state management in order to run: @@ -72,7 +72,7 @@ int main(int argc, char** argv) { } ``` -### Per-instance state +### Setting up a per-instance state