From 5de25676445ff6c12c8e34a7d8f560d5d3ae972a 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