posix-compliance: Reference the generated content via the include file.

- Move the copyright to the top of the generated file.
- Add a glossary and references section.
This commit is contained in:
Chris Johns 2017-10-13 07:37:40 -07:00
parent 55fcfaa4c2
commit b2527535fd
5 changed files with 24 additions and 7 deletions

View File

@ -0,0 +1,7 @@
.. comment SPDX-License-Identifier: CC-BY-SA-4.0
Glossary
********
.. glossary::
:sorted:

View File

@ -39,9 +39,13 @@ to the Community Project hosted at http://www.rtems.org/.
================ =============================
.. toctree::
:maxdepth: 5
:numbered:
:maxdepth: 5
:numbered:
preface
generated-posix-compliance
preface
posix-compliance
glossary
zreferences
* :ref:`genindex`
* :ref:`search`

View File

@ -98,8 +98,7 @@ cat_columns = {
}
rst_defaults = {
'header': ['.. comment SPDX-License-Identifier: CC-BY-SA-4.0',
'',
'header': ['',
'This chapter has a subsection per header file to detail the methods',
'provided by RTEMS that are in that header file.',
'']

View File

@ -17,7 +17,8 @@ def gen_posix_rst(task):
c.load(task.inputs[1].abspath())
s = ['']
for standard in posix_rst.standards:
s += ['',
s += ['.. comment SPDX-License-Identifier: CC-BY-SA-4.0',
'',
posix_rst.standard_names[standard],
'*' * len(posix_rst.standard_names[standard]),
''] + c.output(standard)

View File

@ -0,0 +1,6 @@
.. only:: html
References
**********
.. bibliography:: ../common/refs.bib