Skip to content

Commit

Permalink
Dont use a custom LaTeX builder
Browse files Browse the repository at this point in the history
Since we no longer need Cyrillic text, we dont need a custom builder.
And apparently sphinx breaks with a custom latex builder. See sphinx-doc/sphinx#8936
  • Loading branch information
kovidgoyal committed Mar 4, 2021
1 parent 9b99248 commit 2a0c6c2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.
2 changes: 1 addition & 1 deletion manual/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def build_manual(language, base):
sb = partial(sphinx_build, language, base)
onlinedir = sb(t='online')
epubdir = sb('myepub', 'epub')
latexdir = sb('mylatex', 'latex')
latexdir = sb('latex', 'latex')
pwd = os.getcwd()
os.chdir(latexdir)

Expand Down
2 changes: 0 additions & 2 deletions manual/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

from calibre.linux import cli_index_strings, entry_points
from epub import EPUBHelpBuilder
from latex import LaTeXHelpBuilder


def info(*a):
Expand Down Expand Up @@ -356,7 +355,6 @@ def setup(app):
generate_docs(app.config.language)
app.add_css_file('custom.css')
app.add_builder(EPUBHelpBuilder)
app.add_builder(LaTeXHelpBuilder)
app.connect('source-read', source_read_handler)
app.connect('html-page-context', add_html_context)
app.connect('build-finished', finished)
Expand Down
30 changes: 0 additions & 30 deletions manual/latex.py

This file was deleted.

0 comments on commit 2a0c6c2

Please sign in to comment.