source: rtems-docs/eng/coding-file-hdr.rst @ e52906b

5
Last change on this file since e52906b was e52906b, checked in by Sebastian Huber <sebastian.huber@…>, on 01/09/19 at 15:14:06

Simplify SPDX-License-Identifier comment

  • Property mode set to 100644
File size: 1.3 KB
Line 
1.. SPDX-License-Identifier: CC-BY-SA-4.0
2
3.. Copyright (C) 2018.
4.. COMMENT: RTEMS Foundation, The RTEMS Documentation Project
5
6.. COMMENT:TBD - Convert the following to Rest and insert into this file
7.. COMMENT:TBD - https://devel.rtems.org/wiki/Developer/Coding/Boilerplate_File_Header
8
9
10Boilerplate File Header
11=======================
12
13Every file should include two comment header blocks, one for the Doxygen
14output and a copyright notice.  This is a typical example:
15
16.. code-block:: c
17
18  /**
19   * @file
20   *
21   * @ingroup TheGroupForThisFile
22   *
23   * @brief Short "Table of Contents" Description of File Contents
24   *
25   * A short description of the purpose of this file.
26   */
27
28  /*
29   * Copyright (c) 20XX Your Name Or Your Company.
30   *
31   * The license and distribution terms for this file may be
32   * found in the file LICENSE in this distribution or at
33   * https://www.rtems.org/license/LICENSE.
34   */
35
36
37* Use exactly one blank line between the Doxygen header and copyright notice.
38  Leave the first line of the copyright notice blank.
39
40* Separate the Doxygen header and copyright notice so the copyright notice is
41  not included in the Doxygen output.
42
43* The copyright owner and specific license terms may vary.
44
45.. COMMENT: TBD - TBD Add link to license requirements section and show variant licenses.
Note: See TracBrowser for help on using the repository browser.