summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.readthedocs.yaml15
-rw-r--r--_doc/conf.py2
2 files changed, 13 insertions, 4 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 914f036..64e674f 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -1,4 +1,13 @@
+version: 2
+
+sphinx:
+ configuration: _doc/conf.py
+
+formats: [epub, pdf]
+
python:
- version: 3
- pip_install: true
- extra_requirements: [docs]
+ version: 3.7
+ install:
+ method: pip
+ path: .
+ extra_requirements: [docs]
diff --git a/_doc/conf.py b/_doc/conf.py
index 3875b47..b38cfd9 100644
--- a/_doc/conf.py
+++ b/_doc/conf.py
@@ -36,7 +36,7 @@ templates_path = ['_templates']
# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']
-source_suffix = {'.rst': 'restructuredtext', '.ryd': 'ryd2rst'}
+source_suffix = ['.rst']
# The encoding of source files.
# source_encoding = 'utf-8-sig'