mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
Include list of third-party licenses in the C++ docs
This isn't very pretty, but I think it does the job. cc #6634
This commit is contained in:
parent
f025ecf703
commit
a7f965c941
5 changed files with 86 additions and 28 deletions
|
@ -47,6 +47,13 @@ Slint C++ documentation
|
|||
|
||||
genindex
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 0
|
||||
:hidden:
|
||||
:caption: Third-Party Licenses
|
||||
|
||||
thirdparty.md
|
||||
|
||||
.. image:: https://github.com/slint-ui/slint/workflows/CI/badge.svg
|
||||
:target: https://github.com/slint-ui/slint/actions
|
||||
:alt: GitHub CI Build Status
|
||||
|
|
29
api/cpp/docs/thirdparty.hbs
Normal file
29
api/cpp/docs/thirdparty.hbs
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Third Party Licenses
|
||||
|
||||
This page lists the licenses of the dependencies used by Slint.
|
||||
|
||||
## Overview of licenses
|
||||
|
||||
{{#each overview}}
|
||||
- [{{name}}](#{{id}}) ({{count}})
|
||||
{{/each}}
|
||||
|
||||
## All License Text
|
||||
|
||||
{{#each licenses}}
|
||||
### <a id="{{id}}"></a> {{name}}
|
||||
|
||||
#### Used by:
|
||||
|
||||
{{#each used_by}}
|
||||
- [{{crate.name}} {{crate.version}}]({{#if crate.repository}} {{crate.repository}} {{else}}
|
||||
https://crates.io/crates/{{crate.name}} {{/if}})
|
||||
{{/each}}
|
||||
|
||||
#### License Text
|
||||
|
||||
```
|
||||
{{text}}
|
||||
```
|
||||
|
||||
{{/each}}
|
Loading…
Add table
Add a link
Reference in a new issue