-
Notifications
You must be signed in to change notification settings - Fork 7
TianoCore Documents MarkDown File Headers
Michael Kinney edited this page Jul 7, 2017
·
1 revision
File headers in GitBook MarkDown(.md) files must provide a comment block that contains a brief summary, copyright statements, and the TianoCore documentation license that based on the FreeBSD Documentation License.
A comment block in a GitBook MarkDown(.md) file is enclosed by <!---
and -->
. Content
in a comment block is ignored by GitBook and is not included in any published document.
The following is a link to a sample MarkDown(.md) file in the EDK II Template Specification
with a file header comment block.
https://raw.githubusercontent.com/tianocore-docs/edk2-TemplateSpecification/master/README.md
The following is a template for a GitBook MarkDown(.md) file header comment block:
<!--- @file
<Brief Description>
<Copyright Statements>
Redistribution and use in source (original document form) and 'compiled'
forms (converted to PDF, epub, HTML and other formats) with or without
modification, are permitted provided that the following conditions are met:
1) Redistributions of source code (original document form) must retain the
above copyright notice, this list of conditions and the following
disclaimer as the first lines of this file unmodified.
2) Redistributions in compiled form (transformed to other DTDs, converted to
PDF, epub, HTML and other formats) must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS DOCUMENTATION IS PROVIDED BY TIANOCORE PROJECT "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL TIANOCORE PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->