# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2

build:
  os: ubuntu-22.04
  tools:
    python: "3.10"
  jobs:
    post_checkout:
      - git fetch --unshallow

python:
  install:
    - method: pip
      path: .

sphinx:
  configuration: doc/conf.py
  fail_on_warning: true


# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2

build:
  os: ubuntu-22.04
  tools:
    python: "3.10"
  jobs:
    post_checkout:
      - git fetch --unshallow
  commands:
    tox -e doc

python:
  install:
    - method: pip
      path: .

sphinx:
  configuration: doc/conf.py
  fail_on_warning: true


Call `tox` to build documentation
Call `tox` to build documentation

I'm pretty sure the build will still fail with this command at the
point where rtd attempts to host the contents of `_readthedocs/html`.
However, I think the sphinx build should at least succeed.
