Debian Codegraph @

kapidox/data/templates/libinfo.html

raw
1 <div class="menu-box">
2 <div class="menu-title">
3 <h2 class="h4 mt-2">About {{ fwinfo.fancyname }}</h2>
4 </div>
5 <div class="menu-content">
6 <p>{{ fwinfo.description }}</p>
7
8 <dl class="pl-0">
9 <dt>Maintainer{% if fwinfo.maintainers|count > 1 %}s{% endif %}</dt>
10 <dd>{% set product = fwinfo %}{% include "maintainers.html" %}</dd>
11
12 <dt>Supported platforms</dt>
13 <dd>
14 {% for platform in fwinfo.platforms | sort %}
15 {% if platform.name == "UNKNOWN" %}
16 All the platforms supported by Qt
17 {% else %}
18 {{ platform }}{% if not loop.last %}, {% endif %}
19 {% endif %}
20 {% endfor %}
21 </dd>
22
23 <dt>Community</dt>
24 {% if fwinfo.irc %}
25 <dd>IRC: <a href="irc://irc.libera.chat/#{{ fwinfo.irc }}">#{{ fwinfo.irc }}</a> on Libera Chat</dd>
26 {% endif %}
27 {% if fwinfo.mailinglist %}
28 <dd>Mailing list: <a href="https://mail.kde.org/mailman/listinfo/{{ fwinfo.mailinglist }}">{{ fwinfo.mailinglist }}</a></dd>
29 {% endif %}
30
31 {% if fwinfo.libraries is iterable and fwinfo.libraries|count != 0 %}
32 <dt>Use with <a href="https://techbase.kde.org/Development/Tutorials/CMake">CMake</a></dt>
33 <dd><pre class="fragment">find_package({{ fwinfo.cmakename }})
34 target_link_libraries(yourapp{% for lib in fwinfo.libraries %} {{ lib.cmake }}{% endfor %})</pre>
35 </dd>
36
37 {% endif %}
38 {% if fwinfo.libraries|selectattr("qmake")|list|count != 0 %}
39 <dt>Use with QMake</dt>
40 <dd><pre class="fragment">QT +={% for lib in fwinfo.libraries|selectattr("qmake") %} {{ lib.qmake }}{% endfor %} {% for line in fwinfo.qmakepro %}<br/>{{ line }} {% endfor %}</pre></dd>
41 {% endif %}
42
43 {% if fwinfo.libraries|selectattr("license")|list|count != 0 %}
44 <dt>Licenses</dt>
45 <dd>{% for lib in fwinfo.libraries|selectattr("license") %}<dd>{{ lib.cmake }}: {{ lib.license }}</dd> {% endfor %}
46 {% endif %}
47
48 {% if fwinfo.repopath %}
49 <dt>Clone with SSH</dt>
50 <dd><pre class="fragment">git clone [email protected]:{{ fwinfo.repopath }}.git</pre></dd>
51 <dt>Clone with HTTPS</dt>
52 <dd><pre class="fragment">git clone https://invent.kde.org/{{ fwinfo.repopath }}.git</pre></dd>
53 <dt>Browse source</dt>
54 <dd>{{ fwinfo.fancyname }} on <a href="https://invent.kde.org/{{ fwinfo.repopath }}.git">invent.kde.org</a></dd>
55 {% endif %}
56 </dl>
57 </div>
58 </div>