Skip to content

Commit

Permalink
Fix wrong indentation in doc (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 committed Apr 29, 2023
1 parent 43f8bb8 commit 2d06985
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -675,15 +675,15 @@ dependency: # <16>
recursive: true # whether to exclude all transitive dependencies brought by <dependency-name>, now only maven project supports this <24>
```

1. The `header` section is configurations for source codes license header. If you have mutliple modules or packages in your project that have differing licenses, this section may contain a list of licenses:
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:
spdx-id: Apache-2.0
path: "/path/to/module/a"
spdx-id: Apache-2.0
path: "/path/to/module/a"
- license:
spdx-id: MPL-2.0
path: "/path/to/module/b"
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 2d06985

Please sign in to comment.