diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3378211..1309cab 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,16 +5,14 @@ # Required version: 2 -# Build documentation in the docs/ directory with Sphinx +build: + os: ubuntu-20.04 + tools: + python: '3.10' + sphinx: configuration: docs/conf.py -# Optionally set the version of Python and requirements required to build your docs python: - version: '3.8' install: - requirements: requirements.docs.txt - -build: - apt_packages: - - vapoursynth diff --git a/docs/conf.py b/docs/conf.py index 486c142..05652e7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,6 +27,7 @@ 'python': ('https://docs.python.org/3', None), 'vapoursynth': ('http://www.vapoursynth.com/doc', None) } +autodoc_mock_imports = ['vapoursynth'] # -- Options for HTML output ------------------------------------------------- diff --git a/requirements.docs.txt b/requirements.docs.txt index cb302fe..0630dc8 100644 --- a/requirements.docs.txt +++ b/requirements.docs.txt @@ -1,2 +1 @@ Sphinx==4.4.0 -VapourSynth==57