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

docs: add formatting.md #1359

Closed
wants to merge 27 commits into from

Conversation

starlightknown
Copy link
Contributor

Description

  • style guide for formatting
  • ...
  • ...

Related issue(s)

Fixes #1253

@netlify
Copy link

netlify bot commented Feb 20, 2023

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8151476
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/65e99825ff2b570008edfb02
😎 Deploy Preview https://deploy-preview-1359--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions
Copy link

github-actions bot commented Feb 20, 2023

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 21
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🔴 PWA 30

Lighthouse ran on https://deploy-preview-1359--asyncapi-website.netlify.app/

@starlightknown
Copy link
Contributor Author

@alequetzalli I'll still need a review here 😅

---
title: Formatting style guide
description: This style guide explains using correct formats when writing documentation.
weight:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the number for the page weight missing? please assign one

Comment on lines 16 to 26
- Use the following Use the following syntax to apply a style. Currently our documenation supports **Remember** `<Remember>`:
* Surround the text with an opening and closing tag.
* Use the following syntax to apply a style:
` <Remember>
No need to add a prefix (Remember); the tag automatically provides one
</Remember>`

The output:
<Remember>
No need to add a prefix (Remember); the tag automatically provides one
</Remember>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entire section is confusing, and I can't understand it. 😄✌🏽 What are you documenting here? It is not clear that you're explaining that we have a React component for creating a remember card.

Also, why do you have the (remember) in the middle of that sentence in line 20? What do you mean by "no need to add a prefix"? What prefix are you talking about? 👀

Please rewrite this section and think about all the pieces you are trying to educate the reader on ✌🏽

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even after adding tags some people might think they need to write "Remember" inside of tags to make it work. That's what I wanted to address

Copy link
Member

@quetzalliwrites quetzalliwrites left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work so far! Your document content is well-structured, nice job! ✨

I have some suggestions to improve the clarity and usefulness of your guide 💜

p.s. yet again, I'm sorry that Style Guide was put in backlog while I interviewed and onboarded the 2023 GSoD folks... I didn't mean to leave you waiting so long 😭 ... my bad, but finally here is your deserved review 😄✌🏽

quetzalliwrites and others added 7 commits June 6, 2023 17:17
Co-authored-by: Alejandra Quetzalli  <alejandra.olvera.novack@gmail.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.olvera.novack@gmail.com>
Co-authored-by: Alejandra Quetzalli  <alejandra.olvera.novack@gmail.com>
@starlightknown
Copy link
Contributor Author

all done

@akshatnema
Copy link
Member

akshatnema commented Jul 11, 2023

Hey @starlightknown, can I add commits in your PR regarding resolve the build inside Netlify?

Copy link
Member

@akshatnema akshatnema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@starlightknown Kindly make sure that if you add a new section or subsection inside docs, it should always have _section.md file, and the weight inside this file should be minimum as compared to other doc pages inside the same section.

Comment on lines 2 to 3
title: 'Styleguide'
weight: 10
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alequetzalli kindly look into the weight for this subsection and verify if it's ok with your current structure of the docs.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be ok, we will have Style Guide after the TW Onboarding Guide :)

pages/docs/community/styleguide/formatting.md Show resolved Hide resolved
@starlightknown
Copy link
Contributor Author

@starlightknown Kindly make sure that if you add a new section or subsection inside docs, it should always have _section.md file, and the weight inside this file should be minimum as compared to other doc pages inside the same section.

once it's added in this PR others don't need to add right? or do they?

Copy link
Member

once it's added in this PR others don't need to add right? or do they?

Yeah, they don't need to add for styleguide folder further.

@octonawish-akcodes
Copy link
Contributor

This PR should be raised against the community repo right? @alequetzalli

@starlightknown
Copy link
Contributor Author

oh this PR is still here 👀

@asyncapi-bot
Copy link
Contributor

asyncapi-bot commented Nov 27, 2023

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 35
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-1359--asyncapi-website.netlify.app/

@quetzalliwrites
Copy link
Member

Heyo @starlightknown, this looks ready to merge to me, but we actually need to move this to the community repo. Can you please open your PR there so can start merging Style Guide PRs? 🙏🏻

@sambhavgupta0705
Copy link
Member

@alequetzalli @starlightknown what's the status of this pr?
Has it been moved to community repo

Copy link
Member

quetzalliwrites commented Mar 6, 2024

@sambhavgupta0705 It would be great if you also check yourself, go to the community repo and see if you see a docs: formatting PR. Then you could even mention it here directly in this PR. 😸

That said, we can also DM @starlightknown in Slack or Twitter, cause I think she will be more responsive there. (Her name is Karuna) I have sent her a DM on Slack just now too.

@sambhavgupta0705
Copy link
Member

works @alequetzalli

@TRohit20
Copy link
Collaborator

TRohit20 commented Mar 6, 2024

@alequetzalli @sambhavgupta0705 Just checked myself, the community repo currently has no open PRs or any closed ones that match the PR in context, it's conclusive to say Karuna has not migrated the PR from website to community, I will reach out to her in DMs and check for progress, if not migrate the PR myself to community and request for review and edits acc.

Thanks!

@quetzalliwrites
Copy link
Member

Thanks a bunch, @TRohit20 !!

@sambhavgupta0705
Copy link
Member

Ok @TRohit20

@starlightknown
Copy link
Contributor Author

@TRohit20 @sambhavgupta0705 just migrated it, ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: new style guide - Formatting
7 participants