Navigation Menu

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

Add some details on "javascript" page #36363

Merged
merged 6 commits into from May 28, 2022
Merged

Add some details on "javascript" page #36363

merged 6 commits into from May 28, 2022

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented May 15, 2022

This PR tries to help newcomers, adding some information on "getting-started => javascript"

Changes:

  • minor typos
  • group jQuery stuff & add details of use
  • add details about Data attributes usage (plus data-bs-config)
  • explain the difference getInstance & getOrCreateInstance methods
  • add async usage example in addition with dispose method
  • add shared methods & properties

Needs:

  • a native speaker to proofread the changes & additions

Preview : https://deploy-preview-36363--twbs-bootstrap.netlify.app/docs/5.2/getting-started/javascript/

@GeoSot GeoSot added this to In progress in v5.2.0-stable via automation May 15, 2022
Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Good idea to group and isolate jQuery stuff at the end! I find the content of this page clearer.

Sorry I've only seen that this PR was a draft at the end after having already created some comments. I still leave them here if they can be useful.

As you know I'm not a native speaker so take my feedback with caution 😄

site/content/docs/5.2/getting-started/javascript.md Outdated Show resolved Hide resolved
site/content/docs/5.2/getting-started/javascript.md Outdated Show resolved Hide resolved
site/content/docs/5.2/getting-started/javascript.md Outdated Show resolved Hide resolved
site/content/docs/5.2/getting-started/javascript.md Outdated Show resolved Hide resolved
site/content/docs/5.2/getting-started/javascript.md Outdated Show resolved Hide resolved
site/content/docs/5.2/getting-started/javascript.md Outdated Show resolved Hide resolved
site/content/docs/5.2/getting-started/javascript.md Outdated Show resolved Hide resolved
@GeoSot GeoSot force-pushed the gs/js-docs branch 3 times, most recently from 1ff4449 to a194612 Compare May 19, 2022 23:10
GeoSot and others added 3 commits May 21, 2022 10:54
- Shorten copy here and there
- Reduce some callouts that are entire sections with h2 headings
- Re-arrange a couple things
@mdo
Copy link
Member

mdo commented May 21, 2022

Pushed a big copy update after walking through this. Appreciate the polish!

@mdo mdo marked this pull request as ready for review May 24, 2022 21:04
v5.2.0-stable automation moved this from In progress to Reviewer approved May 28, 2022
@mdo mdo merged commit 651dae6 into main May 28, 2022
v5.2.0-stable automation moved this from Reviewer approved to Done May 28, 2022
@mdo mdo deleted the gs/js-docs branch May 28, 2022 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v5.2.0-stable
  
Done
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants