Skip to content

Commit a3b77dd

Browse files
authored
Merge pull request #704 from elv3rs/master
Add GNU License Family
2 parents 5b5f4f3 + b8a69e3 commit a3b77dd

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/user_guide/project_file_options.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ license
209209

210210
The licenses under which the software is released. Options are:
211211

212+
- **agpl**: `GNU Affero General Public License <http://www.gnu.org/licenses/agpl>`_
212213
- **bsd**: `FreeBSD Documentation License <http://www.freebsd.org/copyright/freebsd-doc-license.html>`_
213214
- **by**: `Creative Commons attribution <http://creativecommons.org/licenses/by/4.0/>`_
214215
- **by-nc**: `Creative Commons attribution, non-commercial <http://creativecommons.org/licenses/by-nc/4.0/>`_
@@ -217,7 +218,9 @@ The licenses under which the software is released. Options are:
217218
- **by-nd**: `Creative Commons attribution, no derivatives <http://creativecommons.org/licenses/by-nd/4.0/>`_
218219
- **by-sa**: `Creative Commons attribution, share-alike <http://creativecommons.org/licenses/by-sa/4.0/>`_
219220
- **gfdl**: `GNU Free Documentation License <http://www.gnu.org/licenses/old-licenses/fdl-1.2.en.html>`_
221+
- **gpl**: `GNU General Public License <http://www.gnu.org/licenses/gpl>`_
220222
- **isc**: `ISC (Internet Systems Consortium) License <https://opensource.org/licenses/ISC>`_
223+
- **lgpl**: `GNU Lesser General Public License <http://www.gnu.org/licenses/lgpl>`_
221224
- **mit**: `MIT <https://opensource.org/licenses/MIT>`_
222225
- **opl**: `Open Publication License <http://opencontent.org/openpub/>`_
223226
- **pdl**: `Public Documentation License <http://www.openoffice.org/licenses/PDL.html>`_

ford/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,18 @@ def stdout_redirector(stream):
115115
'<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">'
116116
'<img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /></a>'
117117
),
118+
"gpl": (
119+
'<a rel="license" href="http://www.gnu.org/licenses/gpl">'
120+
'<img alt="GNU General Public License" style="border-width:0" src="https://www.gnu.org/graphics/gplv3-88x31.png" /></a>'
121+
),
122+
"lgpl": (
123+
'<a rel="license" href="http://www.gnu.org/licenses/lgpl">'
124+
'<img alt="GNU Lesser General Public License" style="border-width:0" src="https://www.gnu.org/graphics/lgplv3-88x31.png" /></a>'
125+
),
126+
"agpl": (
127+
'<a rel="license" href="http://www.gnu.org/licenses/agpl">'
128+
'<img alt="GNU Affero General Public License" style="border-width:0" src="https://www.gnu.org/graphics/agplv3-88x31.png" /></a>'
129+
),
118130
"gfdl": '<a rel="license" href="http://www.gnu.org/licenses/old-licenses/fdl-1.2.en.html">GNU Free Documentation License</a>',
119131
"opl": '<a rel="license" href="http://opencontent.org/openpub/">Open Publication License</a>',
120132
"pdl": '<a rel="license" href="http://www.openoffice.org/licenses/PDL.html">Public Documentation License</a>',

0 commit comments

Comments
 (0)