Skip to content

Commit

Permalink
Fix wrong indentation in doc about multi license config (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 committed May 6, 2023
1 parent bf08914 commit b88f729
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b88f729

Please sign in to comment.