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

Broken link in documentation #6928

Open
rfleschenberg opened this issue Sep 13, 2019 · 5 comments
Open

Broken link in documentation #6928

rfleschenberg opened this issue Sep 13, 2019 · 5 comments
Labels

Comments

@rfleschenberg
Copy link
Contributor

docs/topics/documenting-your-api.md says:

To provide descriptions for each view, such as for the the list and retrieve views, use docstring sections as described in Schemas as documentation: Examples.

And it links to [Schemas as documentation: Examples][schemas-examples], but that section does not exist.

it is in fact not clear from the docs how to solve this, or if that is currently possible.

@fhecorrea
Copy link

Same issue in docs/api-guide/schemas.md, a reference to an file named schemas.py that not exist:

---
source:
    - schemas.py
---

Sorry for my poor english.

@nezhar
Copy link
Contributor

nezhar commented Oct 3, 2019

I made a PR that fixes the path for api-guide/schemas and also api-guide/metadata/, but the exapmple is missing on that page, probably due to the changes that involve Open API Schema generation.

@DanLipsitt
Copy link
Contributor

Does anybody know if the examples from the legacy coreapi docs still apply and can be ported over?

@philgyford
Copy link

This is closed but the error is still in the documentation. Documenting your API reads:

Note that when using viewsets the basic docstring is used for all generated views. To provide descriptions for each view, such as for the list and retrieve views, use docstring sections as described in Schemas as documentation: Examples.

But there's no #examples section on the Schema page, and no mention of "docstring".

Having just switched from Views to ViewSets I wanted to know how to document the "list" and "retrieve" views separately, but I reached this dead end.

@stale
Copy link

stale bot commented Apr 28, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants