-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
[📝 Docs]: Fix documentation anomalies [UI/UX change] #653
Comments
Welcome to the JSON Schema Community. We are so excited you are here! Thanks a lot for reporting your first issue!! 🎉🎉 Please make sure to take a look to our contributors guide if you plan on opening a pull request. For more details check out README.md file. |
On a similar line of thought. Adding "required": [ "productId", "productName", "price]" Where it starts to make sense. I think there is a better way to write it like this
"properties": {
"productId": {
"description": "The unique identifier for a product",
"type": "integer"
}
},
"required": ["productId"]
TLDR - Update the |
Thanks for sharing your findings. I think this issue should be divided into 2: one for the list numbering issues and another for the rest of comments regarding formatting, wording and snippets |
Once you have the issues created that way let's continue the discussion to complete the triage to move the issue to available status. That is the point when you can create the PR. |
I think the issue here is alignment of the code blocks. They should be indented so that the block appears as part of the numbering. For example:
Versus...
(Github seems to render the numbering correctly in both, but I'm not sure the website does.) |
This is how I fixed the the problem with the repeated formats: It seems that it need to be one single new line between the list item and the code snippet. Instead of just fixing how I did we'll need to find the root cause. |
Hey Thanks for that benjamin. It was a markdown issue after all. Found the root cause over here. markdown-continue-numbered-list. It seems like markdown uses spacing between ordered lists pairs to determine if a code block is still inside the scope or not. |
What Docs changes are you proposing?
on the page getting-started-step-by-step we see a lot of anomalies in the numbering. For example -
and
CC - @benjagm @gregsdennis
Do let me know if they seem valid to be fixes and I can go ahead and create a PR for the same?
Code of Conduct
The text was updated successfully, but these errors were encountered: