Make netlify build fail on sphinx warning
"git:undo": "git reset --soft HEAD~1",
"netlify": "yarn netlify:install && yarn netlify:build",
"netlify:install": "yarn dependencies:linux && yarn install:prod && yarn install:docs && pip install .",
- "netlify:build": "sphinx-build docs docs/_build/html",
+ "netlify:build": "sphinx-build -W docs docs/_build/html",
"install:dev": "pip install -r requirements-development.txt",
"install:docs": "pip install -r requirements-docs.txt",
"install:prod": "pip install -r requirements-prod.txt",
