e5bbbca33e
This grows a new option inside of rustdoc to add the ability to submit examples to an external website. If the `--markdown-playground-url` command line option or crate doc attribute `html_playground_url` is present, then examples will have a button on hover to submit the code to the playground specified. This commit enables submission of example code to play.rust-lang.org. The code submitted is that which is tested by rustdoc, not necessarily the exact code shown in the example. Closes #14654
10 lines
481 B
HTML
10 lines
481 B
HTML
<footer><p>
|
|
Copyright © 2011-2014 The Rust Project Developers. Licensed under the
|
|
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>
|
|
or the <a href="http://opensource.org/licenses/MIT">MIT license</a>, at your option.
|
|
</p><p>
|
|
This file may not be copied, modified, or distributed except according to those terms.
|
|
</p></footer>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="playpen.js"></script>
|