Add Markdown linting for MkDocs documentation #8690
-
I have going through all docs file find out lot's of issue
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Okay, let's deal with discussing these one at a time...
Yup agreed. We really don't want that. I was surprised to see that we've got several cases where that needs fixing up. $ grep '\t' ./docs/*/*.md
./docs/api-guide/authentication.md: from django.contrib.auth.models import User
./docs/api-guide/content-negotiation.md: from myapp.negotiation import IgnoreClientContentNegotiation
./docs/api-guide/reverse.md: from django.utils.timezone import now
./docs/api-guide/reverse.md: class APIRootView(APIView):
./docs/api-guide/reverse.md: def get(self, request):
./docs/api-guide/reverse.md: year = now().year
./docs/api-guide/reverse.md: data = {
./docs/api-guide/reverse.md: ...
./docs/api-guide/reverse.md: 'year-summary-url': reverse('year-summary', args=[year], request=request)
./docs/api-guide/reverse.md: return Response(data)
./docs/api-guide/serializers.md: return Response(serializer.data)
./docs/api-guide/serializers.md: return Response(serializer.data)
./docs/api-guide/serializers.md: # Return the validated values. This will be available as
./docs/api-guide/serializers.md: # the `.validated_data` property.
./docs/api-guide/throttling.md: from rest_framework.response import Response
./docs/api-guide/throttling.md: from rest_framework.views import APIView
./docs/community/3.12-announcement.md:Method | Path | Tags
./docs/community/3.12-announcement.md:`GET`, `PUT`, `PATCH`, `DELETE` | `/users/{id}/` | `['users']`
./docs/community/3.12-announcement.md:`GET`, `POST` | `/users/` | `['users']`
./docs/community/3.12-announcement.md:`GET`, `PUT`, `PATCH`, `DELETE` | `/orders/{id}/` | `['orders']`
./docs/community/3.12-announcement.md:`GET`, `POST` | `/orders/` | `['orders']` A pull request resolving all of those would be great, thanks. |
Beta Was this translation helpful? Give feedback.
-
I have open #8704 But in
|
Beta Was this translation helpful? Give feedback.
Okay, let's deal with discussing these one at a time...
Yup agreed. We really don't want that. I was surprised to see that we've got several cases where that needs fixing up.