Fixes the following Sphinx warning (treated as error) starting
with 5.0 release:
Warning, treated as error: Invalid configuration value found:
'language = None'. Update your configuration to a valid langauge
code. Falling back to 'en' (English).
Change-Id: Ieb7364430a3a70af9ec528cceb2277ac63eeae5a
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
needs_sphinx = cfg.get("needs_sphinx", "1.0")
exclude_patterns = cfg.get("exclude_patterns", [])
extensions = cfg.get("extensions", [])
-language = cfg.get("language", None)
+language = cfg.get("language", "en")
master_doc = cfg.get("master_doc", "index")
pygments_style = cfg.get("pygments_style", "sphinx")
source_suffix = cfg.get("source_suffix", ".rst")