From a87935e77b01c1f482cd0cc1be59208451c584f1 Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Sat, 31 Oct 2015 20:13:18 -0700 Subject: [PATCH] Adding theme directory, boilerplate files, and readme to new repo --- !README_BEFORE_BUILDING | 5 ++++ author_bio.xml | 6 +++++ copyright.html | 41 ++++++++++++++++++++++++++++++ cover.html | 3 +++ ix.html | 1 + theme/epub/epub.css | 1 + theme/epub/layout.html | 15 +++++++++++ theme/mobi/layout.html | 15 +++++++++++ theme/mobi/mobi.css | 1 + theme/pdf/pdf.css | 55 +++++++++++++++++++++++++++++++++++++++++ titlepage.html | 4 +++ toc.html | 1 + 12 files changed, 148 insertions(+) create mode 100644 !README_BEFORE_BUILDING create mode 100644 author_bio.xml create mode 100644 copyright.html create mode 100644 cover.html create mode 100644 ix.html create mode 100644 theme/epub/epub.css create mode 100644 theme/epub/layout.html create mode 100644 theme/mobi/layout.html create mode 100644 theme/mobi/mobi.css create mode 100644 theme/pdf/pdf.css create mode 100644 titlepage.html create mode 100644 toc.html diff --git a/!README_BEFORE_BUILDING b/!README_BEFORE_BUILDING new file mode 100644 index 00000000..069c1566 --- /dev/null +++ b/!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. \ No newline at end of file diff --git a/author_bio.xml b/author_bio.xml new file mode 100644 index 00000000..8b5146ac --- /dev/null +++ b/author_bio.xml @@ -0,0 +1,6 @@ + + + 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. + + \ No newline at end of file diff --git a/copyright.html b/copyright.html new file mode 100644 index 00000000..682b4d05 --- /dev/null +++ b/copyright.html @@ -0,0 +1,41 @@ +
+

Test-Driven Development with Python

+

By Harry Percival

+ +

Printed in the United States of America.

+

Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.

+

O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most + titles (http://safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com.

+ + +
+

Revision History for the First Edition

+
    +
  • 2014-06-09: First release
  • +
  • 2014-07-23: Second release
  • +
  • 2014-09-19: Third release
  • +
  • 2015-03-06: Fourth release
  • +
  • 2015-10-16: Fifth release
  • +
+
+

See http://oreilly.com/catalog/errata.csp?isbn=9781449364823 for release details.

+ + +
diff --git a/cover.html b/cover.html new file mode 100644 index 00000000..8fb7160b --- /dev/null +++ b/cover.html @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/ix.html b/ix.html new file mode 100644 index 00000000..c4adf58d --- /dev/null +++ b/ix.html @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/theme/epub/epub.css b/theme/epub/epub.css new file mode 100644 index 00000000..5859f1ca --- /dev/null +++ b/theme/epub/epub.css @@ -0,0 +1 @@ +/* Add your custom CSS styles for the EPUB here */ \ No newline at end of file diff --git a/theme/epub/layout.html b/theme/epub/layout.html new file mode 100644 index 00000000..7a7fe6c0 --- /dev/null +++ b/theme/epub/layout.html @@ -0,0 +1,15 @@ +{{ doctype }} + + + + + + + + + {{ title }} + + + {{ content }} + + diff --git a/theme/mobi/layout.html b/theme/mobi/layout.html new file mode 100644 index 00000000..7a7fe6c0 --- /dev/null +++ b/theme/mobi/layout.html @@ -0,0 +1,15 @@ +{{ doctype }} + + + + + + + + + {{ title }} + + + {{ content }} + + diff --git a/theme/mobi/mobi.css b/theme/mobi/mobi.css new file mode 100644 index 00000000..6643145b --- /dev/null +++ b/theme/mobi/mobi.css @@ -0,0 +1 @@ +/* Add your custom CSS styles for the MOBI here */ \ No newline at end of file diff --git a/theme/pdf/pdf.css b/theme/pdf/pdf.css new file mode 100644 index 00000000..62875363 --- /dev/null +++ b/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//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; +} +----*/ diff --git a/titlepage.html b/titlepage.html new file mode 100644 index 00000000..b6bd2b59 --- /dev/null +++ b/titlepage.html @@ -0,0 +1,4 @@ +
+

Test-Driven Development with Python

+

Harry Percival

+
\ No newline at end of file diff --git a/toc.html b/toc.html new file mode 100644 index 00000000..29d04844 --- /dev/null +++ b/toc.html @@ -0,0 +1 @@ +