NBajanca
NBajanca

Reputation: 3720

Django Rest Framework and Sphinx

I couldn't find object.inv for Django Rest Framework.

In Sphinx conf.py, I have:

intersphinx_mapping = {
    'python': ('https://docs.python.org/3.5', None),
    'django': ('http://django.readthedocs.io/en/1.10.x/', None),
    'rest_framework': (????, None)
}

I've tried with http://www.django-rest-framework.org/ but:

WARNING: intersphinx inventory 'http://www.django-rest-framework.org/objects.inv' not fetchable due to : 404 Client Error: Not Found for url: http://www.django-rest-framework.org/objects.inv

How can I map classes and methods in my docs to DRF?

Upvotes: 1

Views: 912

Answers (1)

NBajanca
NBajanca

Reputation: 3720

Unfortunately it is not possible.

The Django Rest Framework documentation is not built with Sphinx. It is built with MkDocs.

So there is no objects.inv file.

Upvotes: 1

Related Questions