Skip to content

Commit

Permalink
Adding theme directory, boilerplate files, and readme to new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Schneider committed Nov 1, 2015
1 parent a110770 commit a87935e
Show file tree
Hide file tree
Showing 12 changed files with 148 additions and 0 deletions.
5 changes: 5 additions & 0 deletions !README_BEFORE_BUILDING
@@ -0,0 +1,5 @@
WARNING:

These files have been migrated from http://atlas.labs.oreilly.com/books/1234000000754 as part of an automated process. This project may need additional attention before builds will work successfully.

Please contact toolsreq@oreilly.com for more information *before* beginning work on this project.
6 changes: 6 additions & 0 deletions author_bio.xml
@@ -0,0 +1,6 @@

<bookinfo>
<authorblurb><para>After an idyllic childhood spent playing with BASIC on French 8-bit
computers like the Thomson T-07 whose keys go "boop" when you press them, Harry spent a few years being deeply unhappy with economics and management consultancy. Soon he rediscovered his true geek nature, and was lucky enough to fall in with a bunch of XP fanatics, working on the pioneering but sadly defunct Resolver One spreadsheet. He now works at PythonAnywhere LLP, and spreads the gospel of TDD worldwide at talks, workshops, and conferences, with all the passion and enthusiasm of a recent convert.</para></authorblurb>
</bookinfo>

41 changes: 41 additions & 0 deletions copyright.html
@@ -0,0 +1,41 @@
<section xmlns="http://www.w3.org/1999/xhtml" data-type="copyright-page">
<h1>Test-Driven Development with Python</h1>
<p class="author">By Harry Percival</p>
<p class="copyright">Copyright © 2014 Harry Percival. All rights reserved.</p>
<p class="printlocation">Printed in the United States of America.</p>
<p class="publisher">Published by <span class="publishername">O'Reilly Media, Inc.</span>, 1005 Gravenstein Highway North, Sebastopol, CA 95472.</p>
<p>O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most
titles (<a href="http://safaribooksonline.com">http://safaribooksonline.com</a>). For more information, contact our corporate/institutional sales department: 800-998-9938 or <span data-type="email">corporate@oreilly.com</span>.</p>
<ul class="stafflist">
<li><span class="staffrole">Editor: </span>Meghan Blanchette</li>
<li><span class="staffrole">Production Editor: </span>Kara Ebrahim</li>
<li><span class="staffrole">Copyeditor: </span>Charles Roumeliotis</li>
<li><span class="staffrole">Proofreader: </span>Gillian McGarvey</li>
<li><span class="staffrole">Indexer: </span>Wendy Catalano</li>
<li><span class="staffrole">Interior Designer: </span>David Futato</li>
<li><span class="staffrole">Cover Designer: </span>Randy Comer</li>
<li><span class="staffrole">Illustrator: </span>Rebecca Demarest</li>
</ul>
<ul class="printings">
<li><span class="printedition">June, 2014:</span> First Edition</li>
</ul>
<div>
<h1 class="revisions">Revision History for the First Edition</h1>
<ul class="releases">
<li><span class="revdate">2014-06-09:</span> First release</li>
<li><span class="revdate">2014-07-23:</span> Second release</li>
<li><span class="revdate">2014-09-19:</span> Third release</li>
<li><span class="revdate">2015-03-06:</span> Fourth release</li>
<li><span class="revdate">2015-10-16:</span> Fifth release</li>
</ul>
</div>
<p class="errata">See <a href="http://oreilly.com/catalog/errata.csp?isbn=9781449364823">http://oreilly.com/catalog/errata.csp?isbn=9781449364823</a> for release details.</p>
<div class="legal">
<p>The O'Reilly logo is a registered trademark of O'Reilly Media, Inc. <em>Test-Driven Development with Python</em>, the cover image, and related trade dress are trademarks of O'Reilly Media, Inc.</p>
<p>While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.<!--PROD: Uncomment the following sentence if appropriate and add it to the above para: --><!--This book is not intended as [legal/medical/financial; use the appropriate reference] advice. Please consult a qualified professional if you require [legal/medical/financial] advice.--></p>
</div>
<div class="copyright-bottom">
<p class="isbn">978-1-449-49364-3</p>
<p class="printer">[LSI]</p>
</div>
</section>
3 changes: 3 additions & 0 deletions cover.html
@@ -0,0 +1,3 @@
<figure data-type="cover">
<img src="images/cover.png"/>
</figure>
1 change: 1 addition & 0 deletions ix.html
@@ -0,0 +1 @@
<section data-type="index"/>
1 change: 1 addition & 0 deletions theme/epub/epub.css
@@ -0,0 +1 @@
/* Add your custom CSS styles for the EPUB here */
15 changes: 15 additions & 0 deletions theme/epub/layout.html
@@ -0,0 +1,15 @@
{{ doctype }}
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="publisher" content="O'Reilly Media, Inc."/>
<meta name="author" content="Harry Percival"/>
<meta name="date" content="2014-06-19"/>
<meta name="description" content="BOOK MARKETING DESCRIPTION HERE. (This can be supplied by the author, but otherwise the Consumer Short Text from the Marketing tab in the PDB works here - just make sure not to paste curly quotes or em dashes! Replace with straight quotes and hyphens.)"/>
<meta name="identifier" content="9781449364823"/>
<title>{{ title }}</title>
</head>
<body data-type="book">
{{ content }}
</body>
</html>
15 changes: 15 additions & 0 deletions theme/mobi/layout.html
@@ -0,0 +1,15 @@
{{ doctype }}
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="publisher" content="O'Reilly Media, Inc."/>
<meta name="author" content="Harry Percival"/>
<meta name="date" content="2014-06-19"/>
<meta name="description" content="BOOK MARKETING DESCRIPTION HERE. (This can be supplied by the author, but otherwise the Consumer Short Text from the Marketing tab in the PDB works here - just make sure not to paste curly quotes or em dashes! Replace with straight quotes and hyphens.)"/>
<meta name="identifier" content="9781449364823"/>
<title>{{ title }}</title>
</head>
<body data-type="book">
{{ content }}
</body>
</html>
1 change: 1 addition & 0 deletions theme/mobi/mobi.css
@@ -0,0 +1 @@
/* Add your custom CSS styles for the MOBI here */
55 changes: 55 additions & 0 deletions theme/pdf/pdf.css
@@ -0,0 +1,55 @@
@charset "UTF-8";

/*--------Put Your Custom CSS Rules Below--------*/
/*--- This oneoff overrides the code in https://github.com/oreillymedia/<name_of_theme>/blob/master/pdf/pdf.css---*/

/*----Uncomment to temporarily turn on code-eyballer highlighting (make sure to recomment after you build)
pre {
background-color: yellow;
}
---*/

/*----Uncomment to turn on automatic code wrapping
pre {
white-space: pre-wrap;
word-wrap: break-word;
}
----*/

/*----Uncomment to change the TOC start page (set
the number to one page _after_ the one you want;
so 6 to start on v, 8 to start on vii, etc.)
@page toc:first {
counter-reset: page 6;
}
----*/

/*----Uncomment to fix a bad break in the title
(increase padding value to push down, decrease
value to pull up)
section[data-type="titlepage"] h1 {
padding-left: 1.5in;
}
----*/

/*----Uncomment to fix a bad break in the subtitle
(increase padding value to push down, decrease
value to pull up)
section[data-type="titlepage"] h2 {
padding-left: 1in;
}
----*/

/*----Uncomment to fix a bad break in the author names
(increase padding value to push down, decrease
value to pull up)
section[data-type="titlepage"] p.author {
padding-left: 3in;
}
----*/
4 changes: 4 additions & 0 deletions titlepage.html
@@ -0,0 +1,4 @@
<section data-type="titlepage">
<h1>Test-Driven Development with Python</h1>
<p class="author">Harry Percival</p>
</section>
1 change: 1 addition & 0 deletions toc.html
@@ -0,0 +1 @@
<nav data-type="toc"/>

0 comments on commit a87935e

Please sign in to comment.