From fd2b9cffab52234bc217bc3d44469b2df7521218 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Tue, 13 Dec 2022 19:22:34 +0100 Subject: [PATCH] Added Licensing information and headers --- README | 14 ----- README.md | 60 +++++++++++++++++++++ content/2018.md | 10 ++++ output/author/free-software-foundation.html | 2 +- output/fy2018.html | 2 +- output/index.html | 2 +- plugins/comment.py | 17 ++++++ plugins/matplotlib.py | 21 ++++++++ theme/templates/partials/body-footer.html | 2 +- 9 files changed, 112 insertions(+), 18 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index 89b7e6f..0000000 --- a/README +++ /dev/null @@ -1,14 +0,0 @@ - -#Installation (using python-pip + virtualenv) - -virtualenv ~/virtualenvs/pelican -cd ~/virtualenvs/pelican -source bin/activate - -python -m pip install pelican[markdown] -python -m pip install pelican-liquid-tags -python -m pip install pelican-image-process - -Requires font droid sans for svg generation - -Theme based on pelican-b-side diff --git a/README.md b/README.md new file mode 100644 index 0000000..34feec4 --- /dev/null +++ b/README.md @@ -0,0 +1,60 @@ + +# Installation (using python-pip + virtualenv) + + virtualenv ~/virtualenvs/pelican + cd ~/virtualenvs/pelican + source bin/activate + + python -m pip install pelican[markdown] + python -m pip install pelican-liquid-tags + python -m pip install pelican-image-process + +Requires font droid sans for svg generation + +# License information + +/theme/ + + Theme based on pelican-b-side + + Copyright (c) 2020 jhauh + Copyright (c) 2022 Free Software Foundation, Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + +/content/, /output/ + + Copyright (c) 2022 Free Software Foundation, Inc. + This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 + International license (https://creativecommons.org/licenses/by-sa/4.0/) + +/plugins/, and Pelican generated files + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . diff --git a/content/2018.md b/content/2018.md index 7043caa..6d6ce8d 100644 --- a/content/2018.md +++ b/content/2018.md @@ -3,6 +3,16 @@ Summary: Highlighting activities and detailed financials for Fiscal Year 2018 Date: 2018-12-05 10:20 Slug: fy2018 +{% comment { + + Copyright (c) 2022 Free Software Foundation, Inc. + + This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 + International license (https://creativecommons.org/licenses/by-sa/4.0/) + +}%} + +
diff --git a/output/author/free-software-foundation.html b/output/author/free-software-foundation.html index bed1ccb..16219ea 100644 --- a/output/author/free-software-foundation.html +++ b/output/author/free-software-foundation.html @@ -33,7 +33,7 @@ diff --git a/output/fy2018.html b/output/fy2018.html index c135655..5f9e178 100644 --- a/output/fy2018.html +++ b/output/fy2018.html @@ -119,7 +119,7 @@ diff --git a/output/index.html b/output/index.html index 38c66cc..f04b7cd 100644 --- a/output/index.html +++ b/output/index.html @@ -33,7 +33,7 @@ diff --git a/plugins/comment.py b/plugins/comment.py index 567b11a..3e5d56e 100644 --- a/plugins/comment.py +++ b/plugins/comment.py @@ -1,3 +1,20 @@ +''' + Copyright (c) 2022 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +''' + from json import loads import re diff --git a/plugins/matplotlib.py b/plugins/matplotlib.py index ffa3653..c929164 100644 --- a/plugins/matplotlib.py +++ b/plugins/matplotlib.py @@ -1,3 +1,24 @@ +''' + Based on liquid-tags pygalcharts.py + + Copyright (c) 2016-2022 Pelican Dev Team + Copyright (c) 2022 Free Software Foundation, Inc. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . +''' + + """ matplotlib pie Tag --------- diff --git a/theme/templates/partials/body-footer.html b/theme/templates/partials/body-footer.html index c9c8eac..7bf289b 100644 --- a/theme/templates/partials/body-footer.html +++ b/theme/templates/partials/body-footer.html @@ -3,7 +3,7 @@ {% set years = dates|groupby('date.year')|sort(reverse=False) %} {% set sinceYear = years|first|first|default('2014') %} {% set toYear = years|last|first|default('2014') %} - Copyright © {% if sinceYear == toYear %} {{ sinceYear }} {% else %} {{ sinceYear }}–{{ toYear }} {% endif%} {{ AUTHOR }} + Copyright © {% if sinceYear == toYear %} {{ sinceYear }} {% else %} {{ sinceYear }}–{{ toYear }} {% endif%} Free Software Foundation, Inc. This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license (CC BY-SA 4.0).
-- 2.25.1