poky/documentation
Scott Rifenbark bb86a22ba6 yocto-docs/.gitignore: Final fix to ignore mega-manual.
I think I got it right this time... sheesh.  Had the wrong
file suffix in there for the .tgz file.

(From yocto-docs rev: d5931252ede475846dcb61fc0e0f03eb7fe4015e)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-04 12:55:03 +01:00
..
adt-manual documentation: Title changes 2012-09-04 12:54:59 +01:00
bsp-guide documentation: Title changes 2012-09-04 12:54:59 +01:00
dev-manual documentation/dev-manual/dev-manual-newbie.xml: Edits to email patch section 2012-09-04 12:55:01 +01:00
kernel-manual documentation: Section change for using email to submit patch 2012-09-04 12:55:00 +01:00
mega-manual yocto-docs/.gitignore: Final fix to ignore mega-manual. 2012-09-04 12:55:03 +01:00
poky-ref-manual documentation/poky-ref-manual/ref-variables.xml: TCMODE edits 2012-09-04 12:55:02 +01:00
template documentation/pokt-ref-manual: Update with Yocto branding 2010-10-27 07:50:33 +01:00
tools documentation/tools/mega-manual.sed: Processes external links in mega-manual 2012-09-04 12:55:01 +01:00
yocto-project-qs documentation/yocto-project-qs/yocto-project-qs.xml: removed fakeroot 2012-09-04 12:55:03 +01:00
Makefile documentation/Makefile: Added mega-file, comments, and publish test 2012-09-04 12:54:59 +01:00
poky.ent documentation: Added install and config steps for Juno 4.2 2012-09-04 12:54:54 +01:00
README documentation/README: Updates for mega-manual 2012-09-04 12:54:59 +01:00

documentation

This is the directory that contains the Yocto Project documentation. The Yocto Project source repositories at http://git.yoctoproject.org/cgit.cgi have two instances of the "documentation" directory. You should understand each of these instances.

poky/documentation - The directory within the poky Git repository containing the set of Yocto Project manuals. When you clone the poky Git repository, the documentation directory contains the manuals. The state of the manuals in this directory is guaranteed to reflect the latest Yocto Project release. The manuals at the tip of this directory will also likely contain most manual development changes.

yocto-docs/documentation - The Git repository for the Yocto Project manuals.
This repository is where manual development occurs. If you plan on contributing back to the Yocto Project documentation, you should set up a local Git repository based on this upstream repository as follows:

                           git clone git://git.yoctoproject.org/yocto-docs

                         Changes and patches are first pushed to the 
                         yocto-docs Git repository.  Later, they make it 
                         into the poky Git repository found at 
                         git://git.yoctoproject.org/poky.  

Manual Organization

Folders exist for individual manuals as follows:

  • adt-manual - The Yocto Project Application Development Toolkit (ADT) User's Guide.
  • bsp-guide - The Yocto Project Board Support (BSP) Developer's Guide
  • dev-manual - The Yocto Project Development Manual
  • kernel-manual - The Yocto Project Kernel Architecture and Use Manual
  • poky-ref-manual - The Yocto Project Reference Manual
  • yocto-project-qs - The Yocto Project Quick Start
  • mega-manual - The aggregated manual comprised of all YP manuals and guides

Each folder is self-contained regarding content and figures. Note that there is a sed file needed to process the links of the mega-manual. The sed file is located in the tools directory. Also note that the figures folder in the mega-manual directory contains duplicates of all the figures in the YP folders directories for all YP manuals and guides.

Makefile

The Makefile processes manual directories to create HTML, PDF, tarballs, etc. Details on how the Makefile work are documented inside the Makefile. See that file for more information.

To build a manual, you run the make command and pass it the name of the folder containing the manual's contents. For example, the following command run from the documentation directory creates an HTML and a PDF version of the ADT manual. The DOC variable specifies the manual you are making:

 $ make DOC=adt-manual

poky.ent

This file defines variables used for documentation production. The variables are used to define release pathnames, URLs for the published manuals, etc.

template

Contains various templates, fonts, and some old PNG files.

tools

Contains a tool to convert the DocBook files to PDF format. This folder also contains the mega-manual.sed file, which is used by Makefile to process cross-references from within the manual that normally go to an external manual.