README 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. documentation
  2. =============
  3. This is the directory that contains the Yocto Project documentation. The Yocto
  4. Project source repositories at http://git.yoctoproject.org/cgit.cgi have two
  5. instances of the "documentation" directory. You should understand each of
  6. these instances.
  7. poky/documentation - The directory within the poky Git repository containing
  8. the set of Yocto Project manuals. When you clone the
  9. poky Git repository, the documentation directory
  10. contains the manuals. The state of the manuals in this
  11. directory is guaranteed to reflect the latest Yocto
  12. Project release. The manuals at the tip of this
  13. directory will also likely contain most manual
  14. development changes.
  15. yocto-docs/documentation - The Git repository for the Yocto Project manuals.
  16. This repository is where manual development
  17. occurs. If you plan on contributing back to the
  18. Yocto Project documentation, you should set up
  19. a local Git repository based on this upstream
  20. repository as follows:
  21. git clone git://git.yoctoproject.org/yocto-docs
  22. Changes and patches are first pushed to the
  23. yocto-docs Git repository. Later, they make it
  24. into the poky Git repository found at
  25. git://git.yoctoproject.org/poky.
  26. Manual Organization
  27. ===================
  28. Folders exist for individual manuals as follows:
  29. * sdk-manual - The Yocto Project Software Development Kit (SDK) Developer's Guide.
  30. * bsp-guide - The Yocto Project Board Support Package (BSP) Developer's Guide
  31. * dev-manual - The Yocto Project Development Tasks Manual
  32. * kernel-dev - The Yocto Project Linux Kernel Development Tasks Manual
  33. * ref-manual - The Yocto Project Reference Manual
  34. * yocto-project-qs - The Yocto Project Quick Start
  35. * mega-manual - The Yocto Project Mega-Manual, which is an aggregated manual comprised
  36. of all YP manuals and guides
  37. * profile-manual - The Yocto Project Profile and Tracing Manual
  38. * toaster-manual - The Toaster Manual
  39. Each folder is self-contained regarding content and figures. Note that there
  40. is a sed file needed to process the links of the mega-manual. The sed file
  41. is located in the tools directory. Also note that the figures folder in the
  42. mega-manual directory contains duplicates of all the figures in the YP folders
  43. directories for all YP manuals and guides.
  44. If you want to find HTML versions of the Yocto Project manuals on the web,
  45. go to http://www.yoctoproject.org and click on the "Documentation" tab. From
  46. there you have access to archived documentation from previous releases, current
  47. documentation for the latest release, and "Docs in Progress" for the release
  48. currently being developed.
  49. In general, the Yocto Project site (http://www.yoctoproject.org) is a great
  50. reference for both information and downloads.
  51. Makefile
  52. ========
  53. The Makefile processes manual directories to create HTML, PDF,
  54. tarballs, etc. Details on how the Makefile work are documented
  55. inside the Makefile. See that file for more information.
  56. To build a manual, you run the make command and pass it the name
  57. of the folder containing the manual's contents.
  58. For example, the following command run from the documentation directory
  59. creates an HTML version of the SDK manual.
  60. The DOC variable specifies the manual you are making:
  61. $ make DOC=sdk-manual
  62. poky.ent
  63. ========
  64. This file defines variables used for documentation production. The variables
  65. are used to define release pathnames, URLs for the published manuals, etc.
  66. template
  67. ========
  68. Contains various templates, fonts, and some old PNG files.
  69. tools
  70. =====
  71. Contains a tool to convert the DocBook files to PDF format. This folder also
  72. contains the mega-manual.sed file, which is used by Makefile to process
  73. cross-references from within the manual that normally go to an external
  74. manual.