[PATCH 4/6] Add common header.rst to reduce copy and paste

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Jan 7 11:03:44 UTC 2019


---
 bsp-howto/index.rst        | 24 +-----------------------
 c-user/index.rst           | 24 +-----------------------
 common/header.rst          | 23 +++++++++++++++++++++++
 cpu-supplement/index.rst   | 24 +-----------------------
 develenv/index.rst         | 24 +-----------------------
 eclipse/index.rst          | 24 +-----------------------
 eng/index.rst              | 24 +-----------------------
 filesystem/index.rst       | 24 +-----------------------
 networking/index.rst       | 24 +-----------------------
 porting/index.rst          | 24 +-----------------------
 posix-compliance/index.rst | 24 +-----------------------
 posix-users/index.rst      | 24 +-----------------------
 rsb/index.rst              | 24 +-----------------------
 shell/index.rst            | 24 +-----------------------
 user/index.rst             | 24 +-----------------------
 15 files changed, 37 insertions(+), 322 deletions(-)
 create mode 100644 common/header.rst

diff --git a/bsp-howto/index.rst b/bsp-howto/index.rst
index 147e145..bf47a4d 100644
--- a/bsp-howto/index.rst
+++ b/bsp-howto/index.rst
@@ -13,29 +13,7 @@ RTEMS BSP and Driver Guide (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 5
diff --git a/c-user/index.rst b/c-user/index.rst
index e0527b3..eec7d89 100644
--- a/c-user/index.rst
+++ b/c-user/index.rst
@@ -13,29 +13,7 @@ RTEMS Classic API Guide (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
         :maxdepth: 5
diff --git a/common/header.rst b/common/header.rst
new file mode 100644
index 0000000..1b34cb1
--- /dev/null
+++ b/common/header.rst
@@ -0,0 +1,23 @@
+The authors have used their best efforts in preparing this material.  These
+efforts include the development, research, and testing of the theories and
+programs to determine their effectiveness.  No warranty of any kind, expressed
+or implied, with regard to the software or the material contained in this
+document is provided.  No liability arising out of the application or use of
+any product described in this document is assumed.  The authors reserve the
+right to revise this material and to make changes from time to time in the
+content hereof without obligation to notify anyone of such revision or changes.
+
+The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
+RTEMS, its related support components, or its documentation should be directed
+to the Community Project hosted at http://www.rtems.org/.
+
+.. topic:: RTEMS Online Resources
+
+  ================  =============================
+  Home              https://www.rtems.org/
+  Developers        https://devel.rtems.org/
+  Documentation     https://docs.rtems.org/
+  Bug Reporting     https://devel.rtems.org/query
+  Mailing Lists     https://lists.rtems.org/
+  Git Repositories  https://git.rtems.org/
+  ================  =============================
diff --git a/cpu-supplement/index.rst b/cpu-supplement/index.rst
index b94d1bc..26f71a0 100644
--- a/cpu-supplement/index.rst
+++ b/cpu-supplement/index.rst
@@ -13,29 +13,7 @@ RTEMS CPU Architecture Supplement (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 5
diff --git a/develenv/index.rst b/develenv/index.rst
index 0f903f1..a561073 100644
--- a/develenv/index.rst
+++ b/develenv/index.rst
@@ -13,29 +13,7 @@ RTEMS Development Environment Guide (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 5
diff --git a/eclipse/index.rst b/eclipse/index.rst
index 9089a3a..108941e 100644
--- a/eclipse/index.rst
+++ b/eclipse/index.rst
@@ -16,29 +16,7 @@ RTEMS Eclipse Manual (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 5
diff --git a/eng/index.rst b/eng/index.rst
index 9d48ac4..81324e0 100644
--- a/eng/index.rst
+++ b/eng/index.rst
@@ -18,29 +18,7 @@ RTEMS Software Engineering Handbook (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 4
diff --git a/filesystem/index.rst b/filesystem/index.rst
index d76e586..cc3a84e 100644
--- a/filesystem/index.rst
+++ b/filesystem/index.rst
@@ -13,29 +13,7 @@ RTEMS Filesystem Design Guide (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 5
diff --git a/networking/index.rst b/networking/index.rst
index 8f8df37..c532527 100644
--- a/networking/index.rst
+++ b/networking/index.rst
@@ -15,29 +15,7 @@ RTEMS Network User Manual (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 3
diff --git a/porting/index.rst b/porting/index.rst
index 1823c2a..d9c4bb0 100644
--- a/porting/index.rst
+++ b/porting/index.rst
@@ -13,29 +13,7 @@ RTEMS Porting Guide (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 3
diff --git a/posix-compliance/index.rst b/posix-compliance/index.rst
index ff95621..44516fa 100644
--- a/posix-compliance/index.rst
+++ b/posix-compliance/index.rst
@@ -14,29 +14,7 @@ RTEMS POSIX 1003.1 Compliance Guide (|version|).
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
         :maxdepth: 5
diff --git a/posix-users/index.rst b/posix-users/index.rst
index 641406b..b1b4913 100644
--- a/posix-users/index.rst
+++ b/posix-users/index.rst
@@ -13,29 +13,7 @@ RTEMS POSIX API Guide (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 3
diff --git a/rsb/index.rst b/rsb/index.rst
index e0b1800..a4ee878 100644
--- a/rsb/index.rst
+++ b/rsb/index.rst
@@ -21,29 +21,7 @@ RTEMS Source Builder (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 Table of Contents
 -----------------
diff --git a/shell/index.rst b/shell/index.rst
index 8aeb9de..8fc5156 100644
--- a/shell/index.rst
+++ b/shell/index.rst
@@ -17,29 +17,7 @@ RTEMS Shell Guide (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 4
diff --git a/user/index.rst b/user/index.rst
index 0f60166..662c50e 100644
--- a/user/index.rst
+++ b/user/index.rst
@@ -13,29 +13,7 @@ RTEMS User Manual (|version|).
  |  Creative Commons Attribution-ShareAlike 4.0 International Public License
  |  https://creativecommons.org/licenses/by-sa/4.0/legalcode
 
-The authors have used their best efforts in preparing this material.  These
-efforts include the development, research, and testing of the theories and
-programs to determine their effectiveness.  No warranty of any kind, expressed
-or implied, with regard to the software or the material contained in this
-document is provided.  No liability arising out of the application or use of
-any product described in this document is assumed.  The authors reserve the
-right to revise this material and to make changes from time to time in the
-content hereof without obligation to notify anyone of such revision or changes.
-
-The RTEMS Project is hosted at http://www.rtems.org/.  Any inquiries concerning
-RTEMS, its related support components, or its documentation should be directed
-to the Community Project hosted at http://www.rtems.org/.
-
-.. topic:: RTEMS Online Resources
-
-  ================  =============================
-  Home              https://www.rtems.org/
-  Developers        https://devel.rtems.org/
-  Documentation     https://docs.rtems.org/
-  Bug Reporting     https://devel.rtems.org/query
-  Mailing Lists     https://lists.rtems.org/
-  Git Repositories  https://git.rtems.org/
-  ================  =============================
+.. include:: ../common/header.rst
 
 .. toctree::
 	:maxdepth: 5
-- 
2.16.4




More information about the devel mailing list