diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2021-04-15 17:58:45 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-23 16:39:03 +0100 |
| commit | 773536c333248214f8f41eff698d8bfd3c687249 (patch) | |
| tree | 526a86685e2d035455505f8ba45450bc70060e4b /documentation/ref-manual/migration-3.1.rst | |
| parent | 21b42cc54f37fcbfdfa3ea69694b4f2003433d02 (diff) | |
| download | poky-773536c333248214f8f41eff698d8bfd3c687249.tar.gz | |
manuals: simplify code insertion
This replaces instances of ": ::" by "::", which
generates identical HTML output
(From yocto-docs rev: 1f410dfc7c16c09af612de659f8574ef6cff4636)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/migration-3.1.rst')
| -rw-r--r-- | documentation/ref-manual/migration-3.1.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/ref-manual/migration-3.1.rst b/documentation/ref-manual/migration-3.1.rst index 84d32502e5..c62aba7d48 100644 --- a/documentation/ref-manual/migration-3.1.rst +++ b/documentation/ref-manual/migration-3.1.rst | |||
| @@ -179,12 +179,12 @@ parameter instead of the earlier ``name`` which overlapped with the | |||
| 179 | generic ``name`` parameter. All recipes using the npm fetcher will need | 179 | generic ``name`` parameter. All recipes using the npm fetcher will need |
| 180 | to be changed as a result. | 180 | to be changed as a result. |
| 181 | 181 | ||
| 182 | An example of the new scheme: :: | 182 | An example of the new scheme:: |
| 183 | 183 | ||
| 184 | SRC_URI = "npm://registry.npmjs.org;package=array-flatten;version=1.1.1 \ | 184 | SRC_URI = "npm://registry.npmjs.org;package=array-flatten;version=1.1.1 \ |
| 185 | npmsw://${THISDIR}/npm-shrinkwrap.json" | 185 | npmsw://${THISDIR}/npm-shrinkwrap.json" |
| 186 | 186 | ||
| 187 | Another example where the sources are fetched from git rather than an npm repository: :: | 187 | Another example where the sources are fetched from git rather than an npm repository:: |
| 188 | 188 | ||
| 189 | SRC_URI = "git://github.com/foo/bar.git;protocol=https \ | 189 | SRC_URI = "git://github.com/foo/bar.git;protocol=https \ |
| 190 | npmsw://${THISDIR}/npm-shrinkwrap.json" | 190 | npmsw://${THISDIR}/npm-shrinkwrap.json" |
