[Solved]-Django rest framework offline documentation

27👍

The documentation for DRF is contained within the main repo. You can use mkdocs serve to serve the documentation locally.

Checkout the DRF repo:

git clone https://github.com/encode/django-rest-framework.git
cd django-rest-framework

Install and run mkdocs. You must do this in the above directory which contains mkdocs.yml.

pip install mkdocs
mkdocs serve

Visit http://127.0.0.1:8000 in your web browser.

5👍

Go to https://devdocs.io, head to preference and install DRF documentation.

devdocs.io is a PWA, you can open it when you’re offline and access DRF documents.

Leave a comment