Skip to content

Commit

Permalink
Remove recommendation for DRF Docs (encode#6580)
Browse files Browse the repository at this point in the history
Since DRF Docs is not compatible with the latest version of DRF (or Django?; related issue: manosim/django-rest-framework-docs#180) and the latest release is almost 3 years ago I suggest to remove the recommendation for this package.
  • Loading branch information
AartGoossens authored and Pierre Chiquet committed Mar 24, 2020
1 parent 8525a0f commit 456569d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
Binary file removed docs/img/drfdocs.png
Binary file not shown.
18 changes: 1 addition & 17 deletions docs/topics/documenting-your-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,6 @@ This also translates into a very useful interactive documentation viewer in the

---

#### DRF Docs

[DRF Docs][drfdocs-repo] allows you to document Web APIs made with Django REST Framework and it is authored by Emmanouil Konstantinidis. It's made to work out of the box and its setup should not take more than a couple of minutes. Complete documentation can be found on the [website][drfdocs-website] while there is also a [demo][drfdocs-demo] available for people to see what it looks like. **Live API Endpoints** allow you to utilize the endpoints from within the documentation in a neat way.

Features include customizing the template with your branding, settings for hiding the docs depending on the environment and more.

Both this package and Django REST Swagger are fully documented, well supported, and come highly recommended.

![Screenshot - DRF docs][image-drf-docs]

---

#### Django REST Swagger

Marc Gibbons' [Django REST Swagger][django-rest-swagger] integrates REST framework with the [Swagger][swagger] API documentation tool. The package produces well presented API documentation, and includes interactive tools for testing API endpoints.
Expand All @@ -215,7 +203,7 @@ Django REST Swagger supports REST framework versions 2.3 and above.

Mark is also the author of the [REST Framework Docs][rest-framework-docs] package which offers clean, simple autogenerated documentation for your API but is deprecated and has moved to Django REST Swagger.

Both this package and DRF docs are fully documented, well supported, and come highly recommended.
This package is fully documented, well supported, and comes highly recommended.

![Screenshot - Django REST Swagger][image-django-rest-swagger]

Expand Down Expand Up @@ -322,9 +310,6 @@ To implement a hypermedia API you'll need to decide on an appropriate media type
[cite]: https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven
[drf-yasg]: https://github.com/axnsan12/drf-yasg/
[image-drf-yasg]: ../img/drf-yasg.png
[drfdocs-repo]: https://github.com/ekonstantinidis/django-rest-framework-docs
[drfdocs-website]: https://www.drfdocs.com/
[drfdocs-demo]: http://demo.drfdocs.com/
[drfautodocs-repo]: https://github.com/iMakedonsky/drf-autodocs
[django-rest-swagger]: https://github.com/marcgibbons/django-rest-swagger
[swagger]: https://swagger.io/
Expand All @@ -333,7 +318,6 @@ To implement a hypermedia API you'll need to decide on an appropriate media type
[apiary]: https://apiary.io/
[markdown]: https://daringfireball.net/projects/markdown/syntax
[hypermedia-docs]: rest-hypermedia-hateoas.md
[image-drf-docs]: ../img/drfdocs.png
[image-django-rest-swagger]: ../img/django-rest-swagger.png
[image-apiary]: ../img/apiary.png
[image-self-describing-api]: ../img/self-describing.png
Expand Down

0 comments on commit 456569d

Please sign in to comment.