graphql-python / graphene-django

Build powerful, efficient, and flexible GraphQL APIs with seamless Django integration.
http://docs.graphene-python.org/projects/django/en/latest/
MIT License
4.31k stars 769 forks source link

Fix ReadTheDocs builds #1509

Closed PabloAlexis611 closed 8 months ago

PabloAlexis611 commented 8 months ago

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).

PabloAlexis611 commented 8 months ago

Link to latest build: https://beta.readthedocs.org/projects/graphene-django-pabloalexis611-fork/builds/23851002/

PabloAlexis611 commented 8 months ago

Just fixed some references to the old master branch and switched them to main.

The main branch doesn't seem to be up yet in coveralls, so I didn't update those links for the coverage badge.