Skip to content

Commit 0acdfe2

Browse files
author
Derek Lewis
committed
fixup! doc,tools: properly syntax highlight API ref docs
1 parent cb83a96 commit 0acdfe2

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

LICENSE

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,39 @@ The externally maintained libraries used by Node.js are:
14481448
THE POSSIBILITY OF SUCH DAMAGE.
14491449
"""
14501450

1451+
- highlight.js, located at doc/api_assets/highlight.pack.js, is licensed as follows:
1452+
"""
1453+
BSD 3-Clause License
1454+
1455+
Copyright (c) 2006, Ivan Sagalaev.
1456+
All rights reserved.
1457+
1458+
Redistribution and use in source and binary forms, with or without
1459+
modification, are permitted provided that the following conditions are met:
1460+
1461+
* Redistributions of source code must retain the above copyright notice, this
1462+
list of conditions and the following disclaimer.
1463+
1464+
* Redistributions in binary form must reproduce the above copyright notice,
1465+
this list of conditions and the following disclaimer in the documentation
1466+
and/or other materials provided with the distribution.
1467+
1468+
* Neither the name of the copyright holder nor the names of its
1469+
contributors may be used to endorse or promote products derived from
1470+
this software without specific prior written permission.
1471+
1472+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1473+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1474+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1475+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
1476+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1477+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1478+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1479+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1480+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1481+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1482+
"""
1483+
14511484
- node-heapdump, located at src/heap_utils.cc, is licensed as follows:
14521485
"""
14531486
ISC License

tools/license-builder.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ addlicense "brotli" "deps/brotli" "$(cat ${rootdir}/deps/brotli/LICENSE)"
102102

103103
addlicense "HdrHistogram" "deps/histogram" "$(cat ${rootdir}/deps/histogram/LICENSE.txt)"
104104

105+
addlicense "highlight.js" "doc/api_assets/highlight.pack.js" \
106+
"$(curl -sL https://raw.githubusercontent.com/highlightjs/highlight.js/63f367c46f2eeb6f9b7a3545e325eeeb917f9942/LICENSE)"
107+
105108
addlicense "node-heapdump" "src/heap_utils.cc" \
106109
"$(curl -sL https://raw.githubusercontent.com/bnoordhuis/node-heapdump/0ca52441e46241ffbea56a389e2856ec01c48c97/LICENSE)"
107110

0 commit comments

Comments
 (0)