README 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. * adt-manual - The Yocto Project Application Developer's Guide.
  30. * bsp-guide - The Yocto Project Board Support Package (BSP) Developer's Guide
  31. * dev-manual - The Yocto Project Development Manual
  32. * kernel-dev - The Yocto Project Linux Kernel Development Manual
  33. * ref-manual - The Yocto Project Reference Manual
  34. * yocto-project-qs - The Yocto Project Quick Start
  35. * mega-manual - An aggregated manual comprised of all YP manuals and guides
  36. * profile-manual - The Yocto Project Profile and Tracing Manual
  37. Each folder is self-contained regarding content and figures. Note that there
  38. is a sed file needed to process the links of the mega-manual. The sed file
  39. is located in the tools directory. Also note that the figures folder in the
  40. mega-manual directory contains duplicates of all the figures in the YP folders
  41. directories for all YP manuals and guides.
  42. If you want to find HTML versions of the Yocto Project manuals on the web,
  43. go to http://www.yoctoproject.org and click on the "Documentation" tab. From
  44. there you have access to archived documentation from previous releases, current
  45. documentation for the latest release, and "Docs in Progress" for the release
  46. currently being developed.
  47. In general, the Yocto Project site (http://www.yoctoproject.org) is a great
  48. reference for both information and downloads.
  49. Makefile
  50. ========
  51. The Makefile processes manual directories to create HTML, PDF,
  52. tarballs, etc. Details on how the Makefile work are documented
  53. inside the Makefile. See that file for more information.
  54. To build a manual, you run the make command and pass it the name
  55. of the folder containing the manual's contents.
  56. For example, the following command run from the documentation directory
  57. creates an HTML and a PDF version of the ADT manual.
  58. The DOC variable specifies the manual you are making:
  59. $ make DOC=adt-manual
  60. poky.ent
  61. ========
  62. This file defines variables used for documentation production. The variables
  63. are used to define release pathnames, URLs for the published manuals, etc.
  64. template
  65. ========
  66. Contains various templates, fonts, and some old PNG files.
  67. tools
  68. =====
  69. Contains a tool to convert the DocBook files to PDF format. This folder also
  70. contains the mega-manual.sed file, which is used by Makefile to process
  71. cross-references from within the manual that normally go to an external
  72. manual.