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 # Authentication

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,7 @@
source: viewsets.py ---
source:
- viewsets.py
---
# ViewSets # 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 repo_url: https://github.com/encode/django-rest-framework
theme_dir: docs_theme theme:
name: mkdocs
custom_dir: docs_theme
markdown_extensions: markdown_extensions:
- toc: - toc:
anchorlink: True anchorlink: True
pages: nav:
- Home: 'index.md' - Home: 'index.md'
- Tutorial: - Tutorial:
- 'Quickstart': 'tutorial/quickstart.md' - 'Quickstart': 'tutorial/quickstart.md'

View File

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

View File

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