fix build errors with make latexpdf

This commit provides two small fixes.

Gif images are not supported by latexpdf. There are a handful of options
to resolve that issue, but the already-available imgconverter extension
takes care of converting them to supported image formats.

The pdf build was failing due to the deprecated Sphinx `app.warn` used
in the sphinx_tabs extension. The `app.log` deprecation was already
handled in this function, and now `warn` is as well.
This commit is contained in:
AJ Heller
2019-10-02 18:01:53 -07:00
parent 04773e57fc
commit 0d0f9961f4
2 changed files with 5 additions and 2 deletions

View File

@@ -11,7 +11,8 @@ needs_sphinx = '1.3'
# Sphinx extension module names and templates location
sys.path.append(os.path.abspath('extensions'))
extensions = ['gdscript', 'sphinx_tabs.tabs', 'sphinx.ext.imgmath']
extensions = ['gdscript', 'sphinx_tabs.tabs', 'sphinx.ext.imgmath', 'sphinx.ext.imgconverter']
templates_path = ['_templates']
# You can specify multiple suffix as a list of string: ['.rst', '.md']