version: 2

python:
   # Revise build version once more dependencies support python 3.9+
   version: 3.8
   system_packages: false
   install:
     - method: pip
       path: .
       extra_requirements:
          - docs
          - all

sphinx:
   fail_on_warning: true
   configuration: docs/conf.py
version: 2

python:
   # Revise build version once more dependencies support python 3.9+
   version: 3.8
   system_packages: false
   install:
     - method: pip
       path: .
       extra_requirements:
          - docs

sphinx:
   fail_on_warning: true
   configuration: docs/conf.py
Simplify installing dependencies for Read the Docs
Simplify installing dependencies for Read the Docs

The 'docs' optional dependencies should be all that is required for
building the documentation, so Read the Docs should not be installing
'all' dependencies. [ci skip]
