Commit 4c705480 authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

BUG: Remove old sphinx syntax

parent 15974030
......@@ -31,7 +31,7 @@ message(STATUS "")
message(STATUS "Configuring Cookbook...")
# Check we have python bindings with python 3+
if (NOT OTB_WRAP_PYTHON OR ${PYTHONLIBS_VERSION_STRING} STRLESS "3.0.0")
if (NOT OTB_WRAP_PYTHON)
message(FATAL_ERROR "CookBook build requires Python 3 wrappers. Try setting OTB_WRAP_PYTHON=ON in the CMake configuration, or disable the CookBook with BUILD_COOKBOOK=OFF.")
endif()
......
......@@ -26,7 +26,7 @@ import sphinx_rtd_theme
# taken from https://stackoverflow.com/a/43186995/5815110
def setup(app):
app.add_css_file("css/otb_theme.css")
app.add_javascript("js/versions.js")
app.add_js_file("js/versions.js")
# -- General configuration ------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment