-
Notifications
You must be signed in to change notification settings - Fork 260
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
Small documentation fixes. #713
Conversation
thx! haha I actually like my word creation there.... hyperliked 😎 |
If I catch you in time, I've got a few more I'll add to this! |
Codecov Report
@@ Coverage Diff @@
## master #713 +/- ##
=======================================
Coverage 98.80% 98.80%
=======================================
Files 64 64
Lines 7290 7290
=======================================
Hits 7203 7203
Misses 87 87
Continue to review full report at Codecov.
|
should i keep it open? let me know when you are done here so I can merge. |
Should be ready now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
woah great work!
the spec anchors still generate complaints:
( drf_spectacular: line 6) broken https://spec.openapis.org/oas/v3.0.3#parameter-object - Anchor 'parameter-object' not found
( drf_spectacular: line 8) broken https://spec.openapis.org/oas/v3.0.3#schema-object - Anchor 'schema-object' not found
( drf_spectacular: line 11) broken https://spec.openapis.org/oas/v3.0.3#security-scheme-object - Anchor 'security-scheme-object' not found
was it broken before too?
as a sidenote, the changelog shell script generates these links. I simply relied on the github redirects as the numbers are unique identifiers and the script cannot easily distinguish between issues and PRs.
Fixes various typographical errors, spurious characters, etc.
Sphinx's default role (wrapping in single backticks) is often confusing because it doesn't render as code - which achieved using double backticks in reStructuredText - and this differs from Markdown. In Sphinx, the default role is rendered in the same way as wrapping with single asterisks by default - providing italicised emphasis. To avoid this confusion, we can override the default role to warn us when we are using it and change existing usages to use correct markup - double backticks where we want code, single asterisks where we want emphasis.
Also updated links to canonical locations to reduce redirects. These were discovered using `make linkcheck`. I did something similar a while back for Django: django/django#14325
Status codes are only for responses!
Yes. In a sense. The issue here is that the anchors on the page are dynamically generated via JavaScript. This means that the linkcheck builder is unable to find them. The original link was pointing to the Markdown file for the spec in GitHub which suffers from the same issue. This is because the anchors for the headings there are stored prefixed with Regardless, I think it's better that we use the documentation hosted under
Yup. And this is reasonable. I just remembered that |
I see. Thanks for putting in the work!
yes, noticed that one too. |
for some reason, github did not like the new badge url although request by hand worked without issues. restored old version. |
Huh. Weird. Thanks! |
No description provided.