cookbook: Re-style

Use a modified version of the Poky Handbook CSS for the HTML version of
the Cookbook.

Promote Elliot as author.

Re-license from the GPLv2.0 to the CC BY-NC-SA 2.0.
This commit is contained in:
Emmanuele Bassi 2010-06-30 17:18:15 +01:00
parent 698743d454
commit 54aa553d0f
4 changed files with 954 additions and 82 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,9 +2,9 @@ HTML_DIR = $(datadir)/gtk-doc/html
TARGET_DIR = $(HTML_DIR)/clutter-cookbook TARGET_DIR = $(HTML_DIR)/clutter-cookbook
HTML_FILES = html/*.html HTML_FILES = html/*.html
IMAGE_FILES = images/*.png IMAGE_FILES = images/clutter-logo.png
EXTRA_DIST = clutter-cookbook.xml.in EXTRA_DIST = clutter-cookbook.xml.in $(IMAGE_FILES)
CLEANFILES = \ CLEANFILES = \
pdf-build.stamp \ pdf-build.stamp \
@ -71,6 +71,6 @@ install-data-local:
done; \ done; \
fi; \ fi; \
$(INSTALL_DATA) $(top_srcdir)/doc/common/style.css $(DESTDIR)$(TARGET_DIR)/style.css; \ $(INSTALL_DATA) $(top_srcdir)/doc/common/style.css $(DESTDIR)$(TARGET_DIR)/style.css; \
$(INSTALL_DATA) clutter-cookbook.devhelp $(DESTDIR)$(TARGET_DIR)/clutter-cookbook.devhelp $(INSTALL_DATA) html/clutter-cookbook.devhelp $(DESTDIR)$(TARGET_DIR)/clutter-cookbook.devhelp
.PHONY : doc .PHONY : doc

View File

@ -3,30 +3,42 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY appurl "http://www.clutter-project.org"> <!ENTITY appurl "http://www.clutter-project.org">
<!ENTITY docurl "http://docs.clutter-project.org/docs/clutter-cookbook"> <!ENTITY docurl "http://docs.clutter-project.org/docs/clutter-cookbook">
<!ENTITY author_mail "ebassi@linux.intel.com"> <!ENTITY license_url "http://creativecommons.org/licenses/by-nc-sa/2.0/uk/">
<!ENTITY ebassi_mail "ebassi@linux.intel.com">
<!ENTITY elliot_mail "elliot.smith@intel.com">
<!ENTITY apiversion "@CLUTTER_API_VERSION@"> <!ENTITY apiversion "@CLUTTER_API_VERSION@">
]> ]>
<book lang="en"> <book lang="en">
<bookinfo> <!-- {{{ --> <bookinfo> <!-- {{{ -->
<authorgroup>
<author> <author>
<firstname>Emmanuele</firstname> <firstname>Emmanuele</firstname>
<surname>Bassi</surname> <surname>Bassi</surname>
<address><email>&author_mail;</email></address> <address><email>&ebassi_mail;</email></address>
</author> </author>
<author>
<firstname>Elliot</firstname>
<surname>Smith</surname>
<address><email>&elliot_mail;</email></address>
</author>
</authorgroup>
<copyright> <copyright>
<year>2009, 2010</year> <year>2009, 2010</year>
<holder>Intel Corporation</holder> <holder>Intel Corporation</holder>
</copyright> </copyright>
<legalnotice> <legalnotice>
<para>This document is distributed under the terms of the GNU General <para>Permission is granted to copy, distribute and/or modify this
Public License as published by the Free Software Foundation; either document under the terms of the <ulink url="&license_url">Creative
version 2 of the License, or (at your option) any later version. A copy Commons Attribution-Non-Commercial-Share Alike 2.0 UK: England &amp;
of this license can be found in the file COPYING included with the Wales</ulink> as published by Creative Commons.</para>
source code of this program.</para>
</legalnotice> </legalnotice>
<title>The Clutter Cookbook</title> <title>The Clutter Cookbook</title>
@ -114,8 +126,6 @@
<para>This book has been written taking the inspiration from the Perl <para>This book has been written taking the inspiration from the Perl
Cookbook, authored by Tom Christiansen and Nathan Torkington.</para> Cookbook, authored by Tom Christiansen and Nathan Torkington.</para>
<para>Various recipes throughout the book have been written by Elliot
Smith.</para>
</section> </section>
<section> <section>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB