Skip to content

Commit

Permalink
Update draft directory, lint tests so each test has only one lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Vince committed Feb 17, 2024
1 parent eae4c57 commit 26176c8
Show file tree
Hide file tree
Showing 45 changed files with 174 additions and 906 deletions.
4 changes: 2 additions & 2 deletions tests/data/build-toc/toc-out.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Table of Contents</title>
</head>
<body epub:type="frontmatter">
<nav epub:type="toc">
<nav id="toc" epub:type="toc">
<h2 epub:type="title">Table of Contents</h2>
<ol>
<li>
Expand All @@ -24,7 +24,7 @@
</li>
</ol>
</nav>
<nav epub:type="landmarks">
<nav id="landmarks" epub:type="landmarks">
<h2 epub:type="title">Landmarks</h2>
<ol>
<li>
Expand Down
33 changes: 0 additions & 33 deletions tests/data/build/text/colophon.xhtml

This file was deleted.

20 changes: 0 additions & 20 deletions tests/data/build/text/imprint.xhtml

This file was deleted.

Binary file modified tests/data/draft/jane-austen_unknown-novel/images/cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 23 additions & 23 deletions tests/data/draft/jane-austen_unknown-novel/src/epub/content.opf
Original file line number Diff line number Diff line change
Expand Up @@ -22,47 +22,45 @@
<meta property="schema:accessibilityFeature">readingOrder</meta>
<meta property="schema:accessibilityFeature">structuralNavigation</meta>
<meta property="schema:accessibilityFeature">tableOfContents</meta>
<meta property="schema:accessibilityFeature">unlocked</meta>
<meta property="schema:accessibilityHazard">none</meta>
<meta property="schema:accessibilitySummary">This publication conforms to WCAG 2.1 Level AA.</meta>
<link href="onix.xml" media-type="application/xml" properties="onix" rel="record"/>
<dc:title id="title">Unknown Novel</dc:title>
<meta property="file-as" refines="#title">Unknown Novel</meta>
<dc:subject id="subject-1">SUBJECT_1</dc:subject>
<dc:subject id="subject-2">SUBJECT_2</dc:subject>
<dc:subject id="subject-1">England--Social life and customs--19th century--Fiction</dc:subject>
<dc:subject id="subject-2">Sisters -- Fiction</dc:subject>
<meta property="authority" refines="#subject-1">LCSH</meta>
<meta property="term" refines="#subject-1">LCSH_ID_1</meta>
<meta property="term" refines="#subject-1">sh2008114941</meta>
<meta property="authority" refines="#subject-2">LCSH</meta>
<meta property="term" refines="#subject-2">LCSH_ID_2</meta>
<meta property="se:subject">TAG</meta>
<dc:description id="description">DESCRIPTION</dc:description>
<meta property="term" refines="#subject-2">sh2008111400</meta>
<meta property="se:subject">Fiction</meta>
<dc:description id="description">A short test novel for lint testing.</dc:description>
<meta id="long-description" property="se:long-description" refines="#description">
LONG_DESCRIPTION
&lt;p&gt;A short test novel for lint testing.&lt;/p&gt;
</meta>
<dc:language>LANG</dc:language>
<dc:source>PG_URL</dc:source>
<meta property="se:production-notes">PRODUCTION_NOTES</meta>
<dc:language>en-GB</dc:language>
<dc:source>https://www.gutenberg.org/ebooks/161</dc:source>
<dc:source>https://archive.org/details/bub_gb_RtT0OLKFMHsC</dc:source>
<meta property="se:word-count">WORD_COUNT</meta>
<meta property="se:reading-ease.flesch">READING_EASE</meta>
<meta property="se:url.encyclopedia.wikipedia">EBOOK_WIKI_URL</meta>
<meta property="se:url.encyclopedia.wikipedia">https://en.wikipedia.org/wiki/Unknown_Jane_Austen_Novel</meta>
<meta property="se:url.vcs.github">https://github.com/standardebooks/jane-austen_unknown-novel</meta>
<dc:creator id="author">Jane Austen</dc:creator>
<meta property="file-as" refines="#author">AUTHOR_SORT</meta>
<meta property="se:name.person.full-name" refines="#author">AUTHOR_FULL_NAME</meta>
<meta property="file-as" refines="#author">Austen, Jane</meta>
<meta property="se:url.encyclopedia.wikipedia" refines="#author">https://en.wikipedia.org/wiki/Jane_Austen</meta>
<meta property="se:url.authority.nacoaf" refines="#author">http://id.loc.gov/authorities/names/n79032879</meta>
<meta property="role" refines="#author" scheme="marc:relators">aut</meta>
<dc:contributor id="artist">COVER_ARTIST</dc:contributor>
<meta property="file-as" refines="#artist">COVER_ARTIST_SORT</meta>
<meta property="se:url.encyclopedia.wikipedia" refines="#artist">COVER_ARTIST_WIKI_URL</meta>
<meta property="se:url.authority.nacoaf" refines="#artist">COVER_ARTIST_NACOAF_URI</meta>
<dc:contributor id="artist">Georg Friedrich Kersting</dc:contributor>
<meta property="file-as" refines="#artist">Kersting, Georg Friedrich</meta>
<meta property="se:url.encyclopedia.wikipedia" refines="#artist">https://en.wikipedia.org/wiki/Georg_Friedrich_Kersting</meta>
<meta property="se:url.authority.nacoaf" refines="#artist">http://id.loc.gov/authorities/names/n83319941</meta>
<meta property="role" refines="#artist" scheme="marc:relators">art</meta>
<dc:contributor id="transcriber-1">TRANSCRIBER</dc:contributor>
<meta property="file-as" refines="#transcriber-1">TRANSCRIBER_SORT</meta>
<meta property="se:url.homepage" refines="#transcriber-1">TRANSCRIBER_URL</meta>
<dc:contributor id="transcriber-1">Anonymous</dc:contributor>
<meta property="file-as" refines="#transcriber-1">Anonymous</meta>
<meta property="role" refines="#transcriber-1" scheme="marc:relators">trc</meta>
<dc:contributor id="producer-1">PRODUCER</dc:contributor>
<meta property="file-as" refines="#producer-1">PRODUCER_SORT</meta>
<meta property="se:url.homepage" refines="#producer-1">PRODUCER_URL</meta>
<dc:contributor id="producer-1">John Doe</dc:contributor>
<meta property="file-as" refines="#producer-1">Doe, John</meta>
<meta property="role" refines="#producer-1" scheme="marc:relators">bkp</meta>
<meta property="role" refines="#producer-1" scheme="marc:relators">blw</meta>
<meta property="role" refines="#producer-1" scheme="marc:relators">cov</meta>
Expand All @@ -77,6 +75,7 @@
<item href="images/cover.svg" id="cover.svg" media-type="image/svg+xml" properties="cover-image"/>
<item href="images/logo.svg" id="logo.svg" media-type="image/svg+xml"/>
<item href="images/titlepage.svg" id="titlepage.svg" media-type="image/svg+xml"/>
<item href="text/chapter-1.xhtml" id="chapter-1.xhtml" media-type="application/xhtml+xml"/>
<item href="text/colophon.xhtml" id="colophon.xhtml" media-type="application/xhtml+xml" properties="svg"/>
<item href="text/imprint.xhtml" id="imprint.xhtml" media-type="application/xhtml+xml" properties="svg"/>
<item href="text/titlepage.xhtml" id="titlepage.xhtml" media-type="application/xhtml+xml" properties="svg"/>
Expand All @@ -86,6 +85,7 @@
<spine>
<itemref idref="titlepage.xhtml"/>
<itemref idref="imprint.xhtml"/>
<itemref idref="chapter-1.xhtml"/>
<itemref idref="colophon.xhtml"/>
<itemref idref="uncopyright.xhtml"/>
</spine>
Expand Down
Loading

0 comments on commit 26176c8

Please sign in to comment.