Update mkdocs (#6769)

This commit is contained in:
Ryan P Kilby 2019-06-30 19:04:36 -07:00 committed by GitHub
parent 9a429a1c2e
commit 82c2b5c3e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
29 changed files with 112 additions and 32 deletions

View File

@ -1,4 +1,7 @@
source: authentication.py
---
source:
- authentication.py
---
# Authentication

View File

@ -1,4 +1,7 @@
source: negotiation.py
---
source:
- negotiation.py
---
# Content negotiation

View File

@ -1,4 +1,7 @@
source: exceptions.py
---
source:
- exceptions.py
---
# Exceptions

View File

@ -1,4 +1,7 @@
source: fields.py
---
source:
- fields.py
---
# Serializer fields

View File

@ -1,4 +1,7 @@
source: filters.py
---
source:
- filters.py
---
# Filtering

View File

@ -1,4 +1,7 @@
source: urlpatterns.py
---
source:
- urlpatterns.py
---
# Format suffixes

View File

@ -1,5 +1,8 @@
source: mixins.py
generics.py
---
source:
- mixins.py
- generics.py
---
# Generic views

View File

@ -1,4 +1,7 @@
source: metadata.py
---
source:
- metadata.py
---
# Metadata

View File

@ -1,4 +1,7 @@
source: parsers.py
---
source:
- parsers.py
---
# Parsers

View File

@ -1,4 +1,7 @@
source: permissions.py
---
source:
- permissions.py
---
# Permissions

View File

@ -1,4 +1,7 @@
source: relations.py
---
source:
- relations.py
---
# Serializer relations

View File

@ -1,4 +1,7 @@
source: renderers.py
---
source:
- renderers.py
---
# Renderers

View File

@ -1,4 +1,7 @@
source: request.py
---
source:
- request.py
---
# Requests

View File

@ -1,4 +1,7 @@
source: response.py
---
source:
- response.py
---
# Responses

View File

@ -1,4 +1,7 @@
source: reverse.py
---
source:
- reverse.py
---
# Returning URLs

View File

@ -1,4 +1,7 @@
source: routers.py
---
source:
- routers.py
---
# Routers

View File

@ -1,4 +1,7 @@
source: schemas.py
---
source:
- schemas.py
---
# Schemas

View File

@ -1,4 +1,7 @@
source: serializers.py
---
source:
- serializers.py
---
# Serializers

View File

@ -1,4 +1,7 @@
source: settings.py
---
source:
- settings.py
---
# Settings

View File

@ -1,4 +1,7 @@
source: status.py
---
source:
- status.py
---
# Status Codes

View File

@ -1,4 +1,7 @@
source: test.py
---
source:
- test.py
---
# Testing

View File

@ -1,4 +1,7 @@
source: throttling.py
---
source:
- throttling.py
---
# Throttling

View File

@ -1,4 +1,7 @@
source: validators.py
---
source:
- validators.py
---
# Validators

View File

@ -1,4 +1,7 @@
source: versioning.py
---
source:
- versioning.py
---
# Versioning

View File

@ -1,5 +1,8 @@
source: decorators.py
views.py
---
source:
- decorators.py
- views.py
---
# Class-based Views

View File

@ -1,4 +1,7 @@
source: viewsets.py
---
source:
- viewsets.py
---
# ViewSets

View File

@ -4,13 +4,15 @@ site_description: Django REST framework - Web APIs for Django
repo_url: https://github.com/encode/django-rest-framework
theme_dir: docs_theme
theme:
name: mkdocs
custom_dir: docs_theme
markdown_extensions:
- toc:
anchorlink: True
pages:
nav:
- Home: 'index.md'
- Tutorial:
- 'Quickstart': 'tutorial/quickstart.md'

View File

@ -1,2 +1,2 @@
# MkDocs to build our documentation.
mkdocs==0.16.3
mkdocs==1.0.4

View File

@ -51,7 +51,7 @@ deps =
-rrequirements/requirements-testing.txt
[testenv:docs]
basepython = python2.7
basepython = python3.7
skip_install = true
commands = mkdocs build
deps =