<NME> .readthedocs.yaml
<BEF> version: 2
python:
  install:
    - method: pip
      path: .
    - requirements: requirements/docs.txt
sphinx:
  builder: dirhtml
    - method: pip
      path: .
sphinx:
  builder: dirhtml
  fail_on_warning: true

<MSG> swap install order

<DFF> @@ -1,8 +1,8 @@
 version: 2
 python:
   install:
+    - requirements: requirements/docs.txt
     - method: pip
       path: .
-    - requirements: requirements/docs.txt
 sphinx:
   builder: dirhtml

swap install order