Skip to content

Commit 6c56652

Browse files
committed
Clarify rustdoc output licensing with a copyright file
1 parent 6738006 commit 6c56652

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

src/librustdoc/html/render.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,8 @@ fn write_shared(cx: &Context,
591591
include_bytes!("static/LICENSE-MIT.txt")));
592592
try!(write(cx.dst.join("LICENSE-APACHE.txt"),
593593
include_bytes!("static/LICENSE-APACHE.txt")));
594+
try!(write(cx.dst.join("COPYRIGHT.txt"),
595+
include_bytes!("static/COPYRIGHT.txt")));
594596

595597
fn collect(path: &Path, krate: &str,
596598
key: &str) -> io::Result<Vec<String>> {
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
These documentation pages include resources by third parties. This copyright
2+
file applies only to those resources. The following third party resources are
3+
included, and carry their own copyright notices and license terms:
4+
5+
* Fira Sans (FiraSans-Regular.woff, FiraSans-Medium.woff):
6+
7+
Copyright (c) 2014, Mozilla Foundation https://mozilla.org/
8+
with Reserved Font Name Fira Sans.
9+
10+
Copyright (c) 2014, Telefonica S.A.
11+
12+
Licensed under the SIL Open Font License, Version 1.1.
13+
See FiraSans-LICENSE.txt.
14+
15+
* Heuristica (Heuristica-Italic.woff):
16+
17+
Copyright 1989, 1991 Adobe Systems Incorporated. All rights reserved.
18+
Utopia is either a registered trademark or trademark of Adobe Systems
19+
Incorporated in the United States and/or other countries. Used under
20+
license.
21+
22+
Copyright 2006 Han The Thanh, Vntopia font family, http://vntex.sf.net
23+
24+
Copyright (c) 2008-2012, Andrey V. Panov ([email protected]),
25+
with Reserved Font Name Heuristica.
26+
27+
Licensed under the SIL Open Font License, Version 1.1.
28+
See Heuristica-LICENSE.txt.
29+
30+
* jQuery (jquery-2.1.4.min.js):
31+
32+
Copyright 2005, 2015 jQuery Foundation, Inc.
33+
Licensed under the MIT license (see LICENSE-MIT.txt).
34+
35+
* main.css, main.js, and playpen.js:
36+
37+
Copyright 2015 The Rust Developers.
38+
Licensed under the Apache License, Version 2.0 (see LICENSE-APACHE.txt) or
39+
the MIT license (LICENSE-MIT.txt) at your option.
40+
41+
* normalize.css:
42+
43+
Copyright (c) Nicolas Gallagher and Jonathan Neal.
44+
Licensed under the MIT license (see LICENSE-MIT.txt).
45+
46+
* Source Code Pro (SourceCodePro-Regular.woff, SourceCodePro-Semibold.woff):
47+
48+
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
49+
with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark
50+
of Adobe Systems Incorporated in the United States and/or other countries.
51+
52+
Licensed under the SIL Open Font License, Version 1.1.
53+
See SourceCodePro-LICENSE.txt.
54+
55+
* Source Serif Pro (SourceSerifPro-Regular.woff, SourceSerifPro-Bold.woff):
56+
57+
Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/), with
58+
Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of
59+
Adobe Systems Incorporated in the United States and/or other countries.
60+
61+
Licensed under the SIL Open Font License, Version 1.1.
62+
See SourceSerifPro-LICENSE.txt.
63+
64+
This copyright file is intended to be distributed with rustdoc output.

0 commit comments

Comments
 (0)