Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowed customising API documentation code samples #5752

merged 2 commits into from Jan 25, 2018


Copy link

@carltongibson carltongibson commented Jan 19, 2018

Includes #5257, rebases, and adds documentation.

By subclassing DocumentationRenderer and providing appropriate templates, users can customise the languages/libraries for the code samples available in the interactive API docs.

@carltongibson carltongibson added this to the 3.8 Release milestone Jan 19, 2018
@carltongibson carltongibson merged commit a540acd into encode:master Jan 25, 2018
1 check passed
@carltongibson carltongibson deleted the pr/5257 branch Jan 25, 2018
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
* Allowed additional languages in API documentation

* Documented renderer_classes parameter and customising languages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants