| 1 | = PAGE_TITLE = |
| 2 | |
| 3 | [[TOC(REPLACE_WITH_PAGE_URL , depth=2)]] |
| 4 | |
| 5 | A new manual is created by added the manual's directory to the top level directory of the [https://git.rtems.org/rtems-docs RTEMS Documentation Repository]. |
| 6 | |
| 7 | Add the manual's directory to the top level `waf` script file's `build_all` list. |
| 8 | |
| 9 | In this example the new manual is called `new-manual`. |
| 10 | |
| 11 | Create a `conf.py` file in the manual directory containing: |
| 12 | |
| 13 | {{{ |
| 14 | import sys, os |
| 15 | sys.path.append(os.path.abspath('../common/')) |
| 16 | |
| 17 | from conf import * |
| 18 | |
| 19 | version = '4.11.0' |
| 20 | release = '4.11.0' |
| 21 | |
| 22 | project = "RTEMS New Manual" |
| 23 | |
| 24 | latex_documents = [ |
| 25 | ('index', 'new-manual.tex', u'RTEMS New Manual', u'RTEMS Documentation Project', 'manual'), |
| 26 | }}} |
| 27 | |
| 28 | '''NOTE:''' |
| 29 | |
| 30 | 1. The file is a Python piece of code. |
| 31 | 1. The versions are manually set. |
| 32 | 1. The `project` variable is the name that appears in the HTML output. |
| 33 | 1. The `latex_documents` list is a truple of values needed to build a PDF. |
| 34 | |
| 35 | Create an `index.rst` file based on: |
| 36 | |
| 37 | {{{ |
| 38 | .. comment SPDX-License-Identifier: CC-BY-SA-4.0 |
| 39 | |
| 40 | ================ |
| 41 | RTEMS New Manual |
| 42 | ================ |
| 43 | |
| 44 | RTEMS New Manual |
| 45 | ---------------- |
| 46 | |
| 47 | | COPYRIGHT (c) 2016. |
| 48 | | Makers of New Manuals |
| 49 | |
| 50 | The authors have used their best efforts in preparing this material. These |
| 51 | efforts include the development, research, and testing of the theories and |
| 52 | programs to determine their effectiveness. No warranty of any kind, expressed |
| 53 | or implied, with regard to the software or the material contained in this |
| 54 | document is provided. No liability arising out of the application or use of |
| 55 | any product described in this document is assumed. The authors reserve the |
| 56 | right to revise this material and to make changes from time to time in the |
| 57 | content hereof without obligation to notify anyone of such revision or changes. |
| 58 | |
| 59 | The RTEMS Project is hosted at http://www.rtems.org/. Any inquiries concerning |
| 60 | RTEMS, its related support components, or its documentation should be directed |
| 61 | to the Community Project hosted at http://www.rtems.org/. |
| 62 | |
| 63 | .. topic:: RTEMS Online Resources |
| 64 | |
| 65 | ================ ============================= |
| 66 | Home https://www.rtems.org/ |
| 67 | Developers https://devel.rtems.org/ |
| 68 | Documentation https://docs.rtems.org/ |
| 69 | Bug Reporting https://devel.rtems.org/query |
| 70 | Mailing Lists https://lists.rtems.org/ |
| 71 | Git Repositories https://git.rtems.org/ |
| 72 | ================ ============================= |
| 73 | |
| 74 | .. toctree:: |
| 75 | :maxdepth: 5 |
| 76 | :numbered: |
| 77 | |
| 78 | preface |
| 79 | overview |
| 80 | body |
| 81 | |
| 82 | * :ref:`genindex` |
| 83 | * :ref:`search` |
| 84 | }}} |
| 85 | |
| 86 | '''NOTE:''' |
| 87 | |
| 88 | 1.Provide chapters `preface.rst`, `overview.rst` and `body.rst`. |