Fix ReadTheDocs builds by PabloAlexis611 · Pull Request #1509 · graphql-python/graphene-django (original) (raw)

Closes #1504

Here we just add the .readthedocs.yaml file at the root of the repo.
The basic configuration seems to work out-of-the-box.

I tested this on a fork of the ReadTheDocs build as well, which you can (for now) access here: https://graphene-django-pabloalexis611-fork.readthedocs.io/en/latest/

I will delete the RTD-fork once the PR gets merged.

Also, we may need to make sure that the graphene-django RTD project has main as it's "latest" branch setup correctly (which I don't have access to).