Skip to content

Commit 265c97e

Browse files
authored
Update REFERENCE.rst
Add example for multiple license_file format
1 parent d04bb2a commit 265c97e

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

REFERENCE.rst

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,31 @@ The multiple licenses support format for ABOUT files are by "grouping" with the
291291
name: test
292292
licenses:
293293
- key: apache 2.0
294-
name: apache-2.0.LICENSE
294+
file: apache-2.0.LICENSE
295295
- key: mit
296-
name: mit.LICENSE
296+
file: mit.LICENSE
297+
298+
299+
License with multiple license files
300+
-----------------------------------
301+
If a license has multiple license_file values, the correct format is to separate it by comma
302+
303+
+----------------+------+-----------------+----------------------+
304+
| about_resource | name | license_key | license_file |
305+
+----------------+------+-----------------+----------------------+
306+
| test.tar.xz | test | | gpl-2.0 | COPYING, COPYING.v2 |
307+
| | | | mit | mit.LICENSE |
308+
+----------------+------+-----------------+----------------------+
309+
310+
::
311+
312+
about_resource: test.tar.xz
313+
name: test
314+
licenses:
315+
- key: gpl-2.0
316+
file: COPYING, COPYING.v2
317+
- key: mit
318+
file: mit.LICENSE
297319

298320

299321
transform

0 commit comments

Comments
 (0)