Skip to content

Commit

Permalink
more doc config
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Jan 14, 2025
1 parent 10c8fbf commit 0508431
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 0508431

Please sign in to comment.