<NME> .readthedocs.yaml
<BEF> version: 2
build:
  os: ubuntu-20.04
  tools:
    python: "3.10"
      path: .
sphinx:
  builder: dirhtml
      path: .
sphinx:
  builder: dirhtml
  fail_on_warning: true

<MSG> use rtd to build docs for prs

skip code tests when only docs change

<DFF> @@ -6,3 +6,4 @@ python:
       path: .
 sphinx:
   builder: dirhtml
+  fail_on_warning: true

use rtd to build docs for prs