Rename EPUB to OpenPGP_for_application_developers.epub

Fix link provided on website.

Signed-off-by: David Runge <dave@sleepmap.de>
This commit is contained in:
David Runge 2023-12-12 16:49:13 +01:00
parent 144f10a526
commit 036f979167
No known key found for this signature in database
GPG key ID: 90D4B9641E092971
4 changed files with 5 additions and 5 deletions

View file

@ -13,4 +13,4 @@ RUN \
FROM scratch
COPY --from=build /book/build/html /
COPY --from=build /book/build/epub/OpenPGPforapplicationdevelopers.epub /
COPY --from=build --chown=644 /book/build/epub/OpenPGP_for_application_developers.epub /

View file

@ -13,4 +13,4 @@ A book for application developers who want to integrate OpenPGP functionality in
This book serves a standalone introduction to the concepts of OpenPGP. It also introduces readers to the [OpenPGP RFC](https://datatracker.ietf.org/doc/draft-ietf-openpgp-crypto-refresh/).
Current draft version: [html](https://openpgp.codeberg.page/test/), [epub](https://openpgp.codeberg.page/test/OpenPGPforapplicationdevelopers.epub).
Current draft version: [html](https://openpgp.codeberg.page/test/), [epub](https://openpgp.codeberg.page/test/OpenPGP_for_application_developers.epub).

View file

@ -37,7 +37,7 @@ epub-check: clean epub
# use watchexec to rebuild the EPUB whenever a markdown file changes
# this target kills *any* open instance of calibre's ebook-viewer, that is currently showing OpenPGPforapplicationdevelopers.epub
epub-watch:
@$(WATCHEXEC) --shell bash -e css,html,j2,md,py,svg 'make clean epub && ev_pid="$$(pgrep -af "^python3.*ebook-viewer.*OpenPGPforapplicationdevelopers" | cut -f1 -d " ")" && if [[ -n "$$ev_pid" ]]; then kill -9 "$$ev_pid"; fi && $(EBOOK_VIEWER) $(BUILDDIR)/epub/OpenPGPforapplicationdevelopers.epub &'
@$(WATCHEXEC) --shell bash -e css,html,j2,md,py,svg 'make clean epub && ev_pid="$$(pgrep -af "^python3.*ebook-viewer.*OpenPGP_for_application_developers" | cut -f1 -d " ")" && if [[ -n "$$ev_pid" ]]; then kill -9 "$$ev_pid"; fi && $(EBOOK_VIEWER) $(BUILDDIR)/epub/OpenPGP_for_application_developers.epub &'
# Put it first so that "make" without argument is like "make help".
help:

View file

@ -61,7 +61,7 @@ epub_cover = ('_static/epub/img/cover.svg', 'cover.j2')
epub_css_files = [
'epub/css/custom.css'
]
epub_title = project.replace(" ", "_")
epub_basename = project.replace(" ", "_")
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
@ -83,7 +83,7 @@ html_theme_options = {
'code_font_size': '9pt',
'extra_nav_links': {
'Sources on Codeberg': upstream_url,
'Download EPUB': f'https://openpgp.dev/epub/{epub_title}.epub',
'Download EPUB': f'https://openpgp.dev/book/{epub_basename}.epub',
},
'show_relbars': 'yes',
'show_powered_by': False,