summaryrefslogtreecommitdiff
path: root/doc/build/Makefile
diff options
context:
space:
mode:
authorhiaselhans <simon@booya.at>2014-09-06 13:32:58 +0200
committerhiaselhans <simon@booya.at>2014-09-07 22:55:05 +0200
commita8ef876f6c30273da55c727c315f16f01ffc3abc (patch)
treefa649e0d47a2a60e8c476a5e4c111abd2b67715e /doc/build/Makefile
parent6844f8db74ab2ba5df98ba285be34a2534a88b5b (diff)
downloadsqlalchemy-a8ef876f6c30273da55c727c315f16f01ffc3abc.tar.gz
Docs: use the base layout when mako_layout=='epub'pr/133
- https://readthedocs.org/projects/sqlalchemy/downloads/epub/latest/ renders with the full template which is unreadable on e-readers - in the makefile the template-variable mako_layout is set for target: epub which makes mako use only the base layout. - this is the more elegant solution as proposed to #133
Diffstat (limited to 'doc/build/Makefile')
-rw-r--r--doc/build/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/Makefile b/doc/build/Makefile
index 328fa513f..80d9796d4 100644
--- a/doc/build/Makefile
+++ b/doc/build/Makefile
@@ -100,7 +100,7 @@ devhelp:
@echo "# devhelp"
epub:
- $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+ $(SPHINXBUILD) -b epub -A mako_layout=epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."