diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-05-09 13:26:59 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-10 10:02:16 +0100 |
commit | 4ff1f64f1be6d6289d13d3f5e0385142e4451b9c (patch) | |
tree | 089f8f8c00b01fd0e399fd6a75500de77ada1532 | |
parent | 4100ebabfc89a56bef172e3da0b377a56f7773ac (diff) | |
download | poky-4ff1f64f1be6d6289d13d3f5e0385142e4451b9c.tar.gz |
documentation/poky-ref-manual: Added new title graphic
I have removed the multi-colored POKY image that was used for
the title of the Poky Handbook. The image I put in here is in
line with the other graphics used as titles for our Yocto Project
documentation. To accomplish this I had to create and add a new
PNG file named poky-title.png. I placed this image in the figures
folder. I removed the poky-ref-manual.png file (old figure).
I also had to alter the Makefile to use the new figure as part of the
tarball. Finally, I had to alter the HTML style sheet (style.css)
to include the new file.
(From yocto-docs rev: 6c44fca054c1c105daea6fa42f89a7f78a6d12cd)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/poky-ref-manual/Makefile | 2 | ||||
-rw-r--r-- | documentation/poky-ref-manual/figures/poky-ref-manual.png | bin | 17829 -> 0 bytes | |||
-rw-r--r-- | documentation/poky-ref-manual/figures/poky-title.png | bin | 0 -> 9727 bytes | |||
-rw-r--r-- | documentation/poky-ref-manual/poky-ref-manual.xml | 8 | ||||
-rw-r--r-- | documentation/poky-ref-manual/style.css | 26 |
5 files changed, 23 insertions, 13 deletions
diff --git a/documentation/poky-ref-manual/Makefile b/documentation/poky-ref-manual/Makefile index 50bc773c30..72dfe51993 100644 --- a/documentation/poky-ref-manual/Makefile +++ b/documentation/poky-ref-manual/Makefile | |||
@@ -21,7 +21,7 @@ html: | |||
21 | xsltproc $(XSLTOPTS) -o poky-ref-manual.html poky-ref-manual-customization.xsl poky-ref-manual.xml | 21 | xsltproc $(XSLTOPTS) -o poky-ref-manual.html poky-ref-manual-customization.xsl poky-ref-manual.xml |
22 | 22 | ||
23 | tarball: html | 23 | tarball: html |
24 | tar -cvzf poky-ref-manual.tgz poky-ref-manual.html style.css figures/poky-ref-manual.png figures/ss-sato.png | 24 | tar -cvzf poky-ref-manual.tgz poky-ref-manual.html style.css figures/poky-title.png figures/ss-sato.png |
25 | 25 | ||
26 | validate: | 26 | validate: |
27 | xmllint --postvalid --xinclude --noout poky-ref-manual.xml | 27 | xmllint --postvalid --xinclude --noout poky-ref-manual.xml |
diff --git a/documentation/poky-ref-manual/figures/poky-ref-manual.png b/documentation/poky-ref-manual/figures/poky-ref-manual.png deleted file mode 100644 index 333442e0d6..0000000000 --- a/documentation/poky-ref-manual/figures/poky-ref-manual.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/documentation/poky-ref-manual/figures/poky-title.png b/documentation/poky-ref-manual/figures/poky-title.png new file mode 100644 index 0000000000..6a1ef4d2b0 --- /dev/null +++ b/documentation/poky-ref-manual/figures/poky-title.png | |||
Binary files differ | |||
diff --git a/documentation/poky-ref-manual/poky-ref-manual.xml b/documentation/poky-ref-manual/poky-ref-manual.xml index 874d9a1c72..62eb8a28d1 100644 --- a/documentation/poky-ref-manual/poky-ref-manual.xml +++ b/documentation/poky-ref-manual/poky-ref-manual.xml | |||
@@ -9,14 +9,14 @@ | |||
9 | 9 | ||
10 | <mediaobject> | 10 | <mediaobject> |
11 | <imageobject> | 11 | <imageobject> |
12 | <imagedata fileref='figures/poky-ref-manual.png' | 12 | <imagedata fileref='figures/poky-title.png' |
13 | format='SVG' | 13 | format='SVG' |
14 | align='center' scalefit='1' width='100%'/> | 14 | align='left' scalefit='1' width='100%'/> |
15 | </imageobject> | 15 | </imageobject> |
16 | </mediaobject> | 16 | </mediaobject> |
17 | 17 | ||
18 | <title>Poky Reference Manual</title> | 18 | <title></title> |
19 | <subtitle>A Guide and Reference to Poky</subtitle> | 19 | |
20 | <authorgroup> | 20 | <authorgroup> |
21 | <author> | 21 | <author> |
22 | <firstname>Richard</firstname> <surname>Purdie</surname> | 22 | <firstname>Richard</firstname> <surname>Purdie</surname> |
diff --git a/documentation/poky-ref-manual/style.css b/documentation/poky-ref-manual/style.css index 138d485f5b..087e45c1fb 100644 --- a/documentation/poky-ref-manual/style.css +++ b/documentation/poky-ref-manual/style.css | |||
@@ -122,13 +122,13 @@ h6 { | |||
122 | background-color: transparent; | 122 | background-color: transparent; |
123 | background-repeat: no-repeat; | 123 | background-repeat: no-repeat; |
124 | padding-top: 256px; | 124 | padding-top: 256px; |
125 | background-image: url("figures/poky-ref-manual.png"); | 125 | background-image: url("figures/poky-title.png"); |
126 | background-position: left top; | 126 | background-position: left top; |
127 | margin-top: -256px; | 127 | margin-top: -256px; |
128 | padding-right: 50px; | 128 | padding-right: 50px; |
129 | margin-left: 50px; | 129 | margin-left: 0px; |
130 | text-align: right; | 130 | text-align: right; |
131 | width: 600px; | 131 | width: 740px; |
132 | } | 132 | } |
133 | 133 | ||
134 | h3.author { | 134 | h3.author { |
@@ -771,12 +771,22 @@ h6, | |||
771 | h7{ | 771 | h7{ |
772 | } | 772 | } |
773 | 773 | ||
774 | /* | ||
775 | Example of how to stick an image as part of the title. | ||
776 | |||
777 | div.article .titlepage .title | ||
778 | { | ||
779 | background-image: url("figures/white-on-black.png"); | ||
780 | background-position: center; | ||
781 | background-repeat: repeat-x; | ||
782 | } | ||
783 | */ | ||
784 | |||
774 | div.preface .titlepage .title, | 785 | div.preface .titlepage .title, |
775 | div.colophon .title, | 786 | div.colophon .title, |
776 | div.chapter .titlepage .title { | 787 | div.chapter .titlepage .title, |
777 | background-image: url("images/title-bg.png"); | 788 | div.article .titlepage .title |
778 | background-position: bottom; | 789 | { |
779 | background-repeat: repeat-x; | ||
780 | } | 790 | } |
781 | 791 | ||
782 | div.section div.section .titlepage .title, | 792 | div.section div.section .titlepage .title, |
@@ -787,7 +797,7 @@ div.sect2 .titlepage .title { | |||
787 | 797 | ||
788 | h1.title { | 798 | h1.title { |
789 | background-color: transparent; | 799 | background-color: transparent; |
790 | background-image: url("poky-ref-manual.png"); | 800 | background-image: url("figures/poky-title.png"); |
791 | background-repeat: no-repeat; | 801 | background-repeat: no-repeat; |
792 | height: 256px; | 802 | height: 256px; |
793 | text-indent: -9000px; | 803 | text-indent: -9000px; |