From b88f729823469ffdacad3ffa0ce20a265542e0f1 Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Sat, 6 May 2023 08:54:50 +0800 Subject: [PATCH] Fix wrong indentation in doc about multi license config (#161) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 48909bd..9292c54 100644 --- a/README.md +++ b/README.md @@ -678,12 +678,12 @@ dependency: # <16> 1. The `header` section is configurations for source codes license header. If you have multiple modules or packages in your project that have differing licenses, this section may contain a list of licenses: ```yaml header: - - license: + - path: "/path/to/module/a" + license: spdx-id: Apache-2.0 - path: "/path/to/module/a" - - license: + - path: "/path/to/module/b" + license: spdx-id: MPL-2.0 - path: "/path/to/module/b" ``` 2. The [SPDX ID](https://spdx.org/licenses/) of the license, it’s convenient when your license is standard SPDX license, so that you can simply specify this identifier without copying the whole license `content` or `pattern`. This will be used as the content when `fix` command needs to insert a license header. 3. The copyright owner to replace the `[owner]` in the `SPDX-ID` license template.