mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
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:
3
conf.py
3
conf.py
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user