Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add options for creating epub output for the documentation

  • Loading branch information...
commit 58b2af8c09219cc2745814a6231600717111fa2c 1 parent 4256522
@mfriedenhagen mfriedenhagen authored
Showing with 14 additions and 0 deletions.
  1. +6 −0 akka-docs/Makefile
  2. +8 −0 akka-docs/conf.py
View
6 akka-docs/Makefile
@@ -34,6 +34,7 @@ endif
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " pygments to locally install the custom pygments styles"
+ @echo " epub to make an epub"
@echo " html to make standalone HTML files"
@echo " singlehtml to make a single large HTML file"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@@ -53,6 +54,11 @@ pygments:
$(LOCALPACKAGES):
$(MAKE) pygments
+epub: $(LOCALPACKAGES)
+ $(SPHINXBUILD) $(SPHINXFLAGS) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+ @echo
+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+
html: $(LOCALPACKAGES)
$(SPHINXBUILD) $(SPHINXFLAGS) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
View
8 akka-docs/conf.py
@@ -52,6 +52,14 @@
'include_analytics': 'online' in tags
}
+# -- Options for EPUB output ---------------------------------------------------
+epub_author = "Typesafe Inc"
+epub_language = "en"
+epub_publisher = epub_author
+epub_identifier = "http://doc.akka.io/docs/akka/snapshot/"
+epub_scheme = "URL"
+epub_cover = ("_sphinx/static/akka.png", "")
+
# -- Options for LaTeX output --------------------------------------------------
def setup(app):

0 comments on commit 58b2af8

Please sign in to comment.
Something went wrong with that request. Please try again.