summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-05-31 10:31:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-15 11:26:46 +0100
commit6068e017e8c8d439d23651a0f985e85a824a5e20 (patch)
tree41b5ec4fc892c3fe04c0e4863995b3e9fa3d9c90 /documentation
parent54e3cdcc2742a6335b2577412c8975ac64c3d37c (diff)
downloadpoky-6068e017e8c8d439d23651a0f985e85a824a5e20.tar.gz
sdk-manual: Edits to "Adding Node.js Modules"
Fixed a few sentences up by providing clearer text. (From yocto-docs rev: e81984d73c05f2d722bc082a100d01c3cc0173ab) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/sdk-manual/sdk-extensible.xml19
1 files changed, 9 insertions, 10 deletions
diff --git a/documentation/sdk-manual/sdk-extensible.xml b/documentation/sdk-manual/sdk-extensible.xml
index ec53cb557a..9546bedc52 100644
--- a/documentation/sdk-manual/sdk-extensible.xml
+++ b/documentation/sdk-manual/sdk-extensible.xml
@@ -1363,11 +1363,9 @@
1363 found" errors. 1363 found" errors.
1364 </para></listitem> 1364 </para></listitem>
1365 <listitem><para> 1365 <listitem><para>
1366 In order to support adding 1366 In order to support adding Node.js modules, a
1367 Node.js modules, a 1367 <filename>nodejs</filename> recipe must be part
1368 <filename>nodejs</filename> recipe must be part of your 1368 of your SDK.
1369 SDK in order to provide Node.js
1370 itself.
1371 </para></listitem> 1369 </para></listitem>
1372 </itemizedlist> 1370 </itemizedlist>
1373 </note> 1371 </note>
@@ -1376,14 +1374,15 @@
1376 <para> 1374 <para>
1377 As mentioned earlier, you can also add Node.js modules 1375 As mentioned earlier, you can also add Node.js modules
1378 directly from a repository or local source tree. 1376 directly from a repository or local source tree.
1379 To add modules this way, use <filename>devtool add</filename> in 1377 To add modules this way, use <filename>devtool add</filename>
1380 the following form: 1378 in the following form:
1381 <literallayout class='monospaced'> 1379 <literallayout class='monospaced'>
1382 $ devtool add https://github.com/diversario/node-ssdp 1380 $ devtool add https://github.com/diversario/node-ssdp
1383 </literallayout> 1381 </literallayout>
1384 In this example, <filename>devtool</filename> fetches the specified 1382 In this example, <filename>devtool</filename> fetches the
1385 Git repository, detects that the code is Node.js code, fetches 1383 specified Git repository, detects the code as Node.js
1386 dependencies using <filename>npm</filename>, and sets 1384 code, fetches dependencies using <filename>npm</filename>, and
1385 sets
1387 <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink> 1386 <ulink url='&YOCTO_DOCS_REF_URL;#var-SRC_URI'><filename>SRC_URI</filename></ulink>
1388 accordingly. 1387 accordingly.
1389 </para> 1388 </para>