From 0508431f6e9f5ba46b6f097487e336ae614f4e37 Mon Sep 17 00:00:00 2001 From: Matthew Newville Date: Tue, 14 Jan 2025 10:39:47 -0600 Subject: [PATCH] more doc config --- doc/Makefile | 11 ++++------- doc/conf.py | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 02d908f..695e2af 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -4,16 +4,11 @@ # You can set these variables from the command line. SPHINXOPTS = SPHINXBUILD = sphinx-build -PAPER = letter BUILDDIR = _build - INSTALLDIR = /home/newville/public_html/asteval/ - # Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) . .PHONY: html pdf all help clean dirhtml latex @@ -32,7 +27,9 @@ html: @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." tarball: all - cd $(BUILDDIR)/html && tar cvzf ../../../_doc.tgz * & cd ../../ + cd $(BUILDDIR)/html && tar cvzf ../../../_doc.tgz * + cd ../../ + @echo pdf: latex diff --git a/doc/conf.py b/doc/conf.py index ad1de14..b80dd0b 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -172,7 +172,7 @@ # -- Options for LaTeX output -------------------------------------------------- # The paper size ('letter' or 'a4'). -latex_paper_size = 'letter' +latex_papersize = 'letter' # The font size ('10pt', '11pt' or '12pt'). #latex_font_size = '10pt'