[gi-docgen/ebassi/license] Set the license of the generated documentation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gi-docgen/ebassi/license] Set the license of the generated documentation
- Date: Sun, 22 May 2022 12:48:28 +0000 (UTC)
commit bf61c6a4af3ed4910b24e59cf4ad2b7fa8637f4b
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sun May 22 13:46:19 2022 +0100
Set the license of the generated documentation
The template files for the basic gi-docgen template are released under
the same terms of the gi-docgen project, but the generated documentation
should be released under the terms of the project we are generating the
documentation for, since the contents are included in the source code.
Fixes: #133
.reuse/dep5 | 4 ++++
gidocgen/templates/basic/base.html | 6 +++---
gidocgen/templates/basic/class.html | 6 ------
gidocgen/templates/basic/class_method.html | 6 ------
gidocgen/templates/basic/constant.html | 6 ------
gidocgen/templates/basic/content.html | 6 ------
gidocgen/templates/basic/ctor.html | 6 ------
gidocgen/templates/basic/enum.html | 6 ------
gidocgen/templates/basic/function.html | 6 ------
gidocgen/templates/basic/interface.html | 6 ------
gidocgen/templates/basic/method.html | 6 ------
gidocgen/templates/basic/namespace.html | 6 ------
gidocgen/templates/basic/property.html | 6 ------
gidocgen/templates/basic/signal.html | 6 ------
gidocgen/templates/basic/struct.html | 6 ------
gidocgen/templates/basic/type_func.html | 6 ------
gidocgen/templates/basic/vfunc.html | 6 ------
17 files changed, 7 insertions(+), 93 deletions(-)
---
diff --git a/.reuse/dep5 b/.reuse/dep5
index f91edfd..92730e1 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -11,6 +11,10 @@ Files: docs/gi-docgen.png docs/gi-docgen.svg
Copyright: 2021 Emmanuele Bassi
License: CC-BY-SA-3.0
+Files: gidocgen/templates/basic/*.html
+Copyright: 2021 GNOME Foundation
+License: Apache-2.0 OR GPL-3.0-or-later
+
Files: gidocgen/templates/basic/*.png
Copyright: 2021 GNOME Foundation
License: CC0-1.0
diff --git a/gidocgen/templates/basic/base.html b/gidocgen/templates/basic/base.html
index 36598ba..d08ee1e 100644
--- a/gidocgen/templates/basic/base.html
+++ b/gidocgen/templates/basic/base.html
@@ -1,7 +1,7 @@
<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
+SPDX-FileCopyrightText: {{ CONFIG.authors }}
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
+SPDX-License-Identifier: {{ CONFIG.license }}
-->
<!DOCTYPE html>
@@ -81,7 +81,7 @@ SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
{% block sidebar %}
{% endblock %}
</nav>
-
+
<button id="btn-to-top" class="hidden"><span class="up-arrow"></span></button>
{% block content %}{% endblock %}
diff --git a/gidocgen/templates/basic/class.html b/gidocgen/templates/basic/class.html
index 1f511d8..e60842a 100644
--- a/gidocgen/templates/basic/class.html
+++ b/gidocgen/templates/basic/class.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ class.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/class_method.html b/gidocgen/templates/basic/class_method.html
index 1573d7e..30718f7 100644
--- a/gidocgen/templates/basic/class_method.html
+++ b/gidocgen/templates/basic/class_method.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ class.class_name }}.{{ class_method.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/constant.html b/gidocgen/templates/basic/constant.html
index 20cf94d..858b33a 100644
--- a/gidocgen/templates/basic/constant.html
+++ b/gidocgen/templates/basic/constant.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ constant.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/content.html b/gidocgen/templates/basic/content.html
index 70d4979..045b3d6 100644
--- a/gidocgen/templates/basic/content.html
+++ b/gidocgen/templates/basic/content.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }} – {{ namespace.version }}: {{ content.title }}{% endblock %}
diff --git a/gidocgen/templates/basic/ctor.html b/gidocgen/templates/basic/ctor.html
index d4d380c..e81bf70 100644
--- a/gidocgen/templates/basic/ctor.html
+++ b/gidocgen/templates/basic/ctor.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ class.name }}.{{ type_func.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/enum.html b/gidocgen/templates/basic/enum.html
index 6ba5345..145e525 100644
--- a/gidocgen/templates/basic/enum.html
+++ b/gidocgen/templates/basic/enum.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ enum.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/function.html b/gidocgen/templates/basic/function.html
index 22aef75..91c3f34 100644
--- a/gidocgen/templates/basic/function.html
+++ b/gidocgen/templates/basic/function.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ func.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/interface.html b/gidocgen/templates/basic/interface.html
index 4b26c64..3214509 100644
--- a/gidocgen/templates/basic/interface.html
+++ b/gidocgen/templates/basic/interface.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ interface.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/method.html b/gidocgen/templates/basic/method.html
index 401ffa4..37676f6 100644
--- a/gidocgen/templates/basic/method.html
+++ b/gidocgen/templates/basic/method.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ class.name }}.{{ method.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/namespace.html b/gidocgen/templates/basic/namespace.html
index d039f8b..4a5d16a 100644
--- a/gidocgen/templates/basic/namespace.html
+++ b/gidocgen/templates/basic/namespace.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }} – {{ namespace.version }}{% endblock %}
diff --git a/gidocgen/templates/basic/property.html b/gidocgen/templates/basic/property.html
index 0e6eb8d..4a904de 100644
--- a/gidocgen/templates/basic/property.html
+++ b/gidocgen/templates/basic/property.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ class.name }}:{{ property.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/signal.html b/gidocgen/templates/basic/signal.html
index 8a74dc0..d288e39 100644
--- a/gidocgen/templates/basic/signal.html
+++ b/gidocgen/templates/basic/signal.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ class.name }}::{{ signal.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/struct.html b/gidocgen/templates/basic/struct.html
index fb45616..843ab81 100644
--- a/gidocgen/templates/basic/struct.html
+++ b/gidocgen/templates/basic/struct.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ struct.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/type_func.html b/gidocgen/templates/basic/type_func.html
index aadadfb..a87e8c8 100644
--- a/gidocgen/templates/basic/type_func.html
+++ b/gidocgen/templates/basic/type_func.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ class.name }}.{{ type_func.name }}{% endblock %}
diff --git a/gidocgen/templates/basic/vfunc.html b/gidocgen/templates/basic/vfunc.html
index b62c08a..1fdff6a 100644
--- a/gidocgen/templates/basic/vfunc.html
+++ b/gidocgen/templates/basic/vfunc.html
@@ -1,9 +1,3 @@
-<!--
-SPDX-FileCopyrightText: 2021 GNOME Foundation
-
-SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
--->
-
{% extends "base.html" %}
{% block title %}{{ namespace.name }}.{{ class.name }}.{{ vfunc.name }}{% endblock %}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]