-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bb58760
Showing
89 changed files
with
342 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"branch": "master", | ||
"files": [ | ||
"titlepage.html", | ||
"copyright.html", | ||
"toc.html", | ||
"preface.asciidoc", | ||
"ch01.asciidoc", | ||
"author_bio.html" | ||
], | ||
"formats": { | ||
"pdf": { | ||
"version": "web", | ||
"color_count": "1", | ||
"index": false, | ||
"toc": true, | ||
"syntaxhighlighting": true, | ||
"show_comments": false, | ||
"trim_size": "7inx9.1875in", | ||
"antennahouse_version": "AHFormatterV62_64-MR4" | ||
}, | ||
"epub": { | ||
"index": false, | ||
"toc": true, | ||
"epubcheck": true, | ||
"syntaxhighlighting": true, | ||
"show_comments": false, | ||
"downsample_images": false, | ||
"mathmlreplacement": false | ||
}, | ||
"mobi": { | ||
"index": false, | ||
"toc": true, | ||
"syntaxhighlighting": true, | ||
"show_comments": false, | ||
"downsample_images": false | ||
}, | ||
"html": { | ||
"index": false, | ||
"toc": true, | ||
"syntaxhighlighting": true, | ||
"show_comments": false, | ||
"consolidated": false | ||
} | ||
}, | ||
"theme": "oreillymedia/animal_theme_sass", | ||
"title": "Enterprise Architecture Patterns with Python", | ||
"print_isbn13": "9781492052203", | ||
"lang": "en", | ||
"accent_color": "", | ||
"templating": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<section data-type="colophon" class="abouttheauthor"> | ||
<h1>About the Author(s)</h1> | ||
<p>John Doe does some interesting stuff...</p> | ||
</section> |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<section id="colophon" data-type="colophon"> | ||
<h1>Colophon</h1> | ||
|
||
<p>The animal on the cover of <em>FILL IN TITLE</em> is <em>FILL IN DESCRIPTION</em>.</p> | ||
|
||
<p>Many of the animals on O'Reilly covers are endangered; all of them are important to the world. To learn more about how you can help, go to <a href="http://animals.oreilly.com">animals.oreilly.com</a>.</p> | ||
|
||
<p>The cover image is from <em>FILL IN CREDITS</em>. The cover fonts are URW Typewriter and Guardian Sans. The text font is Adobe Minion Pro; the heading font is Adobe Myriad Condensed; and the code font is Dalton Maag's Ubuntu Mono.</p> | ||
|
||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
<section data-type='copyright-page' xmlns='http://www.w3.org/1999/xhtml'> | ||
<h1>Enterprise Architecture Patterns with Python</h1> | ||
<p class='author'> | ||
by | ||
<span class='firstname'>Harry </span> | ||
<span class='surname'>Percival</span> | ||
and | ||
<span class='firstname'>Bob </span> | ||
<span class='surname'>Gregory</span> | ||
</p> | ||
<p class='copyright'>Copyright © FILL IN YEAR O'Reilly Media. 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://oreilly.com/safari'>http://oreilly.com/safari</a> | ||
). For more information, contact our corporate/institutional sales | ||
department: 800-998-9938 or | ||
<span data-type='email'>[email protected]</span> | ||
. | ||
</p> | ||
<ul class='stafflist'> | ||
<li> | ||
<span class='staffrole'>Editors:</span> | ||
Chris Guzikowski and Eleanor Bru | ||
</li> | ||
<li> | ||
<span class='staffrole'>Production Editor:</span> | ||
FILL IN PRODUCTION EDITOR | ||
</li> | ||
<li> | ||
<span class='staffrole'>Copyeditor:</span> | ||
FILL IN COPYEDITOR | ||
</li> | ||
<li> | ||
<span class='staffrole'>Proofreader:</span> | ||
FILL IN PROOFREADER | ||
</li> | ||
<li> | ||
<span class='staffrole'>Indexer:</span> | ||
FILL IN INDEXER | ||
</li> | ||
<li> | ||
<span class='staffrole'>Interior Designer:</span> | ||
David Futato | ||
</li> | ||
<li> | ||
<span class='staffrole'>Cover Designer:</span> | ||
Karen Montgomery | ||
</li> | ||
<li> | ||
<span class='staffrole'>Illustrator:</span> | ||
Rebecca Demarest | ||
</li> | ||
</ul> | ||
<ul class='printings'> | ||
<li> | ||
<span class='printedition'>March 2020:</span> | ||
First Edition | ||
</li> | ||
</ul> | ||
<!--Add additional revdate spans below as needed.--> | ||
<div> | ||
<h1 class='revisions'>Revision History for the First Edition</h1> | ||
<ul class='releases'> | ||
<li> | ||
<span class='revdate'>YYYY-MM-DD:</span> | ||
First Release | ||
</li> | ||
</ul> | ||
</div> | ||
<p class='errata'> | ||
See | ||
<a href='http://oreilly.com/catalog/errata.csp?isbn=9781492052203'>http://oreilly.com/catalog/errata.csp?isbn=9781492052203</a> | ||
for release details. | ||
</p> | ||
<div class='legal'> | ||
<p> | ||
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc. | ||
Enterprise Architecture Patterns with Python, the cover image, and related | ||
trade dress are trademarks of O’Reilly Media, Inc. | ||
</p> | ||
<p> | ||
The views expressed in this work are those of the author(s), and do not | ||
represent the publisher's views. While the publisher and the | ||
author(s) have used good faith efforts to ensure that the information and | ||
instructions contained in this work are accurate, the publisher and the | ||
author(s) 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-492-05220-3</p> | ||
<p class='printer'>[FILL IN]</p> | ||
</div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!-- This is a placeholder element for use with the automatic index generation option in Atlas --> | ||
<section data-type="index"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="AUTHOR NAMES HERE"/> | ||
<meta name="date" content="RETAIL AVAILABILITY DATE FROM PDB MANUFACTURING TAB HERE IN YYYY-MM-DD FORM (e.g., 2014-07-07)"/> | ||
<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="TECH-BOOK-ISBN-13"/> | ||
<title>{{ title }}</title> | ||
</head> | ||
<body data-type="book"> | ||
{{ content }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="AUTHOR NAMES HERE"/> | ||
<meta name="date" content="RETAIL AVAILABILITY DATE FROM PDB MANUFACTURING TAB HERE IN YYYY-MM-DD FORM (e.g., 2014-07-07)"/> | ||
<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="TECH-BOOK-ISBN-13"/> | ||
<title>{{ title }}</title> | ||
</head> | ||
<body data-type="book"> | ||
{{ content }} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
@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; | ||
} | ||
----*/ | ||
|
||
/* ----Uncomment to suppress duplicate page numbers in index entries | ||
WARNING: MAY CAUSE PDF BUILDS TO SEGFAULT | ||
div[data-type="index"] { | ||
-ah-suppress-duplicate-page-number: true; | ||
} | ||
----*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<xsl:stylesheet version="1.0" | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:h="http://www.w3.org/1999/xhtml" | ||
xmlns="http://www.w3.org/1999/xhtml" | ||
exclude-result-prefixes="h"> | ||
|
||
<!-- Do add border div for figure images in animal series --> | ||
<xsl:param name="figure.border.div" select="1"/> | ||
|
||
<!-- This param is required for animal_theme_sass, but not the old animal_theme --> | ||
<!-- Generate separate footnote-call markers, so that we don't | ||
need to rely on AH counters to do footnote numbering --> | ||
<xsl:param name="process.footnote.callouts.only" select="1"/> | ||
|
||
|
||
<xsl:template name="string-replace-all"> | ||
<xsl:param name="text"/> | ||
<xsl:param name="replace"/> | ||
<xsl:param name="by"/> | ||
<xsl:choose> | ||
<xsl:when test="contains($text, $replace)"> | ||
<xsl:value-of select="substring-before($text,$replace)"/> | ||
<xsl:value-of select="$by"/> | ||
<xsl:call-template name="string-replace-all"> | ||
<xsl:with-param name="text" select="substring-after($text,$replace)"/> | ||
<xsl:with-param name="replace" select="$replace"/> | ||
<xsl:with-param name="by" select="$by"/> | ||
</xsl:call-template> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="$text"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:template> | ||
|
||
<xsl:template match="h:img/@src"> | ||
<xsl:choose> | ||
<xsl:when test="contains(., 'callouts/')"> | ||
<xsl:variable name="newtext"> | ||
<xsl:call-template name="string-replace-all"> | ||
<xsl:with-param name="text" select="."/> | ||
<xsl:with-param name="replace" select="'png'"/> | ||
<xsl:with-param name="by" select="'pdf'"/> | ||
</xsl:call-template> | ||
</xsl:variable> | ||
<xsl:attribute name="src"> | ||
<xsl:value-of select="$newtext"/> | ||
</xsl:attribute> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@*|node()"/> | ||
</xsl:copy> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<section data-type="titlepage"> | ||
<h1>Book Title Here</h1> | ||
<p class="edition">??? Edition</p> <!--(only include edition line if it's 2e or higher --> | ||
<p class="subtitle">Subtitle Goes Here</p> | ||
<p class="author">Some Author</p> | ||
</section> | ||
|
||
<!-- if a pocket ref, include this line below the h1: | ||
<p data-type="subtitle">Pocket Reference/Guide</p> --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!-- This is a placeholder element for use with the automatic TOC generation option in Atlas --> | ||
<nav data-type="toc"/> |