Skip to content

Commit 519e9f8

Browse files
committed
license: add extension to LICENSE file
The license file without the extension is shown as "raw" text file. The links do not work as they should. As this file should point to files with non Apache licenses (the most used case) it should be viewed as markdown.
1 parent 42ffc90 commit 519e9f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/contributing/guidelines/license.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The full text of the license can be found on the [Apache website](http://www.apa
3030

3131
In order to clearly reflect the Apache 2.0 license, please create two text files:
3232

33-
- A *LICENSE* file with the following text:
33+
- A *LICENSE.md* file with the following text:
3434

3535
```
3636
Unless specifically indicated otherwise in a file, files are licensed under the Apache 2.0 license,
@@ -69,7 +69,7 @@ The full text can be found on [mbed.com](https://www.mbed.com/licenses/PBL-1.0).
6969

7070
In order to clearly reflect the PBL license, please create three text files:
7171

72-
- A *LICENSE* file with:
72+
- A *LICENSE.md* file with:
7373

7474
<pre>Unless specifically indicated otherwise in a file, files are licensed under the Permissive Binary License,
7575
as can be found in: LICENSE-permissive-binary-license-1.0.txt</pre>
@@ -96,13 +96,13 @@ See the License for the specific language governing permissions and limitations
9696

9797
If you decide to use a different license for your work, follow the same pattern:
9898

99-
- Create a *LICENSE* file with a description of the license situation, following the pattern described in the sections above.
99+
- Create a *LICENSE.md* file with a description of the license situation, following the pattern described in the sections above.
100100

101101
- Put the full original license texts in separate documents named *LICENSE-XYZ.txt*, where XYZ is the corresponding [SPDX identifier](http://spdx.org/licenses/) for your license.
102102

103103
- Begin each source header with your copyright line, the SPDX identifier and the standard header for the license that applies to that single file, if it has one. (See [SPDX Specification, Appendix V](https://spdx.org/spdx-specification-21-web-version#h.twlc0ztnng3b).)
104104

105-
- If more than one license applies to the source file, then use an SPDX license expression (see [SPDX Specification, Appendix IV](https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60)), to reflect the presence of multiple licenses in your *LICENSE* file and in each source file.
105+
- If more than one license applies to the source file, then use an SPDX license expression (see [SPDX Specification, Appendix IV](https://spdx.org/spdx-specification-21-web-version#h.jxpfx0ykyb60)), to reflect the presence of multiple licenses in your *LICENSE.md* file and in each source file.
106106

107107
### Contributing to the Mbed OS codebase
108108

0 commit comments

Comments
 (0)