system(f"ebook-convert '{path.join(docs_path, 'documentation.html')}' '{path.join(docs_path, 'documentation.mobi')}' --title='XMDV Teleshopping Documentation' --authors='William Greenwood' --comments='Valid for {static_info['shoot']['date']}' --language=en --change-justification=left --cover='{path.join(app.root_path, 'static', 'cover.jpg')}'")
+ system(f"ebook-convert '{path.join(docs_path, 'documentation.html')}' '{path.join(docs_path, 'documentation.epub')}' --title='XMDV Teleshopping Documentation' --authors='William Greenwood' --comments='Valid for {static_info['shoot']['date']}' --language=en --change-justification=left --cover='{path.join(app.root_path, 'static', 'cover.jpg')}'")
+
return "", 200
{% if book %}
<p>For print document links, see web version of this document.</p>
{% else %}
- <h2>PDF Documents</h2>
+ <h2>Other document formats</h2>
<ul>
+ <li><a href="/docs/documentation.mobi">MOBI version of this page</a></li>
+ <li><a href="/docs/documentation.epub">EPUB version of this page</a></li>
<li><a href="/docs/call-sheet.pdf">Call-sheet</a></li>
<li><a href="/docs/manifest-safe.pdf">Item manifest (safe)</a></li>
<li><a href="/docs/manifest-unsafe.pdf">Item manifest (unsafe)</a></li>