Merge pull request #22 from mithro/readthedocs-yml-version

docs: Make config version 2.
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 88326f8..e7342db 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -15,15 +15,12 @@
 #
 # SPDX-License-Identifier: Apache-2.0
 
-name: Open-Source-PDKs-docs
-
-channels:
-- defaults
-
-dependencies:
-- python>=3.8
-- pip:
-  - -r docs/requirements.txt
+version: 2
 
 sphinx:
+  configuration: docs/conf.py
   fail_on_warning: true
+
+python:
+  install:
+  - requirements: docs/requirements.txt
diff --git a/docs/conf.py b/docs/conf.py
index 35a232f..6db5516 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -105,7 +105,7 @@
 #
 # This is also used if you do content translation via gettext catalogs.
 # Usually you set "language" from the command line for these cases.
-language = None
+language = 'en'
 
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.