Skip to content

Commit 1356334

Browse files
committed
Fix a number of broken links in the docs
As reported by pylinkvalidate.py script
1 parent 64c3d9e commit 1356334

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

docs/api-guide/schemas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ introspection.
392392

393393
#### `get_operation_id()`
394394

395-
There must be a unique [operationid](openapi-operationid) for each operation.
395+
There must be a unique [operationid][openapi-operationid] for each operation.
396396
By default the `operationId` is deduced from the model name, serializer name or
397397
view name. The operationId looks like "listItems", "retrieveItem",
398398
"updateItem", etc. The `operationId` is camelCase by convention.

docs/community/3.1-announcement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The cursor based pagination renders a more simple style of control:
4646

4747
The pagination API was previously only able to alter the pagination style in the body of the response. The API now supports being able to write pagination information in response headers, making it possible to use pagination schemes that use the `Link` or `Content-Range` headers.
4848

49-
For more information, see the [custom pagination styles](../api-guide/pagination/#custom-pagination-styles) documentation.
49+
For more information, see the [custom pagination styles](../api-guide/pagination.md#custom-pagination-styles) documentation.
5050

5151
---
5252

docs/community/3.3-announcement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The `ModelSerializer` and `HyperlinkedModelSerializer` classes should now includ
5454

5555
[forms-api]: ../topics/html-and-forms.md
5656
[ajax-form]: https://github.com/encode/ajax-form
57-
[jsonfield]: ../api-guide/fields#jsonfield
57+
[jsonfield]: ../api-guide/fields.md#jsonfield
5858
[accept-headers]: ../topics/browser-enhancements.md#url-based-accept-headers
5959
[method-override]: ../topics/browser-enhancements.md#http-header-based-method-overriding
6060
[django-supported-versions]: https://www.djangoproject.com/download/#supported-versions

docs/community/3.4-announcement.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,16 +179,16 @@ The full set of itemized release notes [are available here][release-notes].
179179
[moss]: mozilla-grant.md
180180
[funding]: funding.md
181181
[core-api]: https://www.coreapi.org/
182-
[command-line-client]: api-clients#command-line-client
183-
[client-library]: api-clients#python-client-library
182+
[command-line-client]: https://github.com/encode/django-rest-framework/blob/3.14.0/docs/topics/api-clients.md#command-line-client
183+
[client-library]: https://github.com/encode/django-rest-framework/blob/3.14.0/docs/topics/api-clients.md#python-client-library
184184
[core-json]: https://www.coreapi.org/specification/encoding/#core-json-encoding
185185
[swagger]: https://openapis.org/specification
186186
[hyperschema]: https://json-schema.org/latest/json-schema-hypermedia.html
187187
[api-blueprint]: https://apiblueprint.org/
188-
[tut-7]: ../tutorial/7-schemas-and-client-libraries/
189-
[schema-generation]: ../api-guide/schemas/
188+
[tut-7]: https://github.com/encode/django-rest-framework/blob/3.4.7/docs/tutorial/7-schemas-and-client-libraries.md
189+
[schema-generation]: ../api-guide/schemas.md
190190
[api-clients]: https://github.com/encode/django-rest-framework/blob/3.14.0/docs/topics/api-clients.md
191191
[milestone]: https://github.com/encode/django-rest-framework/milestone/35
192-
[release-notes]: release-notes#34
193-
[metadata]: ../api-guide/metadata/#custom-metadata-classes
192+
[release-notes]: ./release-notes.md#34x-series
193+
[metadata]: ../api-guide/metadata.md#custom-metadata-classes
194194
[gh3751]: https://github.com/encode/django-rest-framework/issues/3751

docs/community/3.5-announcement.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ in version 3.3 and raised a deprecation warning in 3.4. Its usage is now mandato
254254
[funding]: funding.md
255255
[uploads]: https://core-api.github.io/python-client/api-guide/utils/#file
256256
[downloads]: https://core-api.github.io/python-client/api-guide/codecs/#downloadcodec
257-
[schema-generation-api]: ../api-guide/schemas/#schemagenerator
258-
[schema-docs]: ../api-guide/schemas/#schemas-as-documentation
259-
[schema-view]: ../api-guide/schemas/#the-get_schema_view-shortcut
257+
[schema-generation-api]: ../api-guide/schemas.md#schemagenerator
258+
[schema-docs]: ../api-guide/schemas.md#schemas-as-documentation
259+
[schema-view]: ../api-guide/schemas.md#get_schema_view
260260
[django-rest-raml]: https://github.com/encode/django-rest-raml
261261
[raml-image]: ../img/raml.png
262262
[raml-codec]: https://github.com/core-api/python-raml-codec

docs/community/third-party-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ To submit new content, [create a pull request][drf-create-pr].
177177
[drf-create-pr]: https://github.com/encode/django-rest-framework/compare
178178
[authentication]: ../api-guide/authentication.md
179179
[permissions]: ../api-guide/permissions.md
180-
[third-party-packages]: ../topics/third-party-packages/#existing-third-party-packages
180+
[third-party-packages]: #existing-third-party-packages
181181
[discussion-group]: https://groups.google.com/forum/#!forum/django-rest-framework
182182
[djangorestframework-digestauth]: https://github.com/juanriaza/django-rest-framework-digestauth
183183
[django-oauth-toolkit]: https://github.com/evonove/django-oauth-toolkit

0 commit comments

Comments
 (0)