ringrtc/acknowledgments/acknowledgments.html.hbs
Jordan Rose 4dfc89d389 iOS: Collect acknowledgments for RingRTC's dependencies
This sets up a CI-enforced cargo-about generation, and then tweaks the
podspec to preserve both the RingRTC and WebRTC plists. We'll be able
to do something similar for Android and Desktop, but they may need
more post-processing, so let's start with iOS for now.

The HTML output isn't used; it's just convenient for checking what's
changed.
2023-08-31 10:18:26 -07:00

72 lines
2.0 KiB
Handlebars

<html>
<head>
<title>RingRTC Acknowledgments</title>
<style>
@media (prefers-color-scheme: dark) {
body {
background: #333;
color: white;
}
a {
color: skyblue;
}
}
.container {
font-family: sans-serif;
max-width: 800px;
margin: 0 auto;
}
.intro {
text-align: center;
}
.licenses-list {
list-style-type: none;
margin: 0;
padding: 0;
}
.license-used-by {
margin-top: -10px;
}
.license-text {
max-height: 200px;
overflow-y: scroll;
white-space: pre-wrap;
}
</style>
</head>
<body>
<main class="container">
<div class="intro">
<h1>Third Party Licenses</h1>
<p>This page lists the licenses of the projects used in RingRTC. Listings marked "synthesized" did not have an appropriate standalone license file in the crate.</p>
</div>
<h2>Overview of licenses:</h2>
<ul class="licenses-overview">
{{#each overview}}
<li><a href="#{{id}}">{{name}}</a> ({{count}})</li>
{{/each}}
</ul>
<h2>All license text:</h2>
<ul class="licenses-list">
{{#each licenses}}
<li class="license">
<h3 id="{{id}}">{{name}}{{#unless source_path}} (synthesized){{/unless}}</h3>
<h4>Used by:</h4>
<ul class="license-used-by">
{{#each used_by}}
<li><a href="{{#if crate.repository~}} {{crate.repository}} {{~else~}} https://crates.io/crates/{{crate.name}} {{~/if}}">{{crate.name}} {{crate.version}}</a></li>
{{/each}}
</ul>
<pre class="license-text">{{text}}</pre>
</li>
{{/each}}
</ul>
</main>
</body>
</html>