Skip to content

Conversation

@seah-minlong
Copy link
Contributor

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • Feature addition or enhancement
  • Code maintenance
  • DevOps
  • Improve developer experience
  • Others, please explain:

Fixes #2575

Overview of changes:

  • Adds guide on installing Node.js and npm
  • Rephrased some sentences in Getting Started -> UG

Anything you'd like to highlight/discuss:
The Node LTS Error mentioned in #2575 has been fixed in PR #2572, but the website MarkBind Getting Started page has not been updated to reflect this change yet.

Testing instructions:

Proposed commit message: (wrap lines at 72 characters)
Add installing node.js and npm instructions to Getting Started UG


Checklist: ☑️

  • Updated the documentation for feature additions and enhancements
  • Added tests for bug fixes or features
  • Linked all related issues
  • No unrelated changes

Reviewer checklist:

Indicate the SEMVER impact of the PR:

  • Major (when you make incompatible API changes)
  • Minor (when you add functionality in a backward compatible manner)
  • Patch (when you make backward compatible bug fixes)

At the end of the review, please label the PR with the appropriate label: r.Major, r.Minor, r.Patch.

Breaking change release note preparation (if applicable):

  • To be included in the release note for any feature that is made obsolete/breaking

Give a brief explanation note about:

  • what was the old feature that was made obsolete
  • any replacement feature (if any), and
  • how the author should modify his website to migrate from the old feature to the replacement feature (if possible).

Copy link
Member

@gerteck gerteck left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

Regarding the Node LTS Error, it has already been removed, and it is viewable on the latest documentation linked in the repository readme.

The MarkBind website for the current MarkBind release is at https://markbind.org/.
The website for the latest master branch (not yet released to the public) is at https://markbind-master.netlify.app/.

The last time the MarkBind website was updated was on the date of the latest MarkBind release, so there is a difference between the two, although I should have edited the relevant portion in the user guide with the PR that fixed the issue.

For guidance on how to install npm / node, maybe you could explore the use of a expandable panel, since it would be optional (but good to know) information

Is there any purpose behind the rephrasing of the instructions? Seems slightly unnecessary

The versions should match or exceed the requirements mentioned in the Prerequisites.

---

Copy link
Contributor

Choose a reason for hiding this comment

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

As this section is applicable to only some readers, perhaps put it inside a collapsed panel or a modal?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review! @gerteck also suggested the use of an expandable panel so I'll implement it that way

@seah-minlong
Copy link
Contributor Author

Thanks for clarifying about the Node LTS error issue @gerteck!

I think the expandable panel is a great suggestion, I shall add that in 😄 .

Regarding the rephrasing, I was aiming to make the instructions feel less intimidating for beginners, but if you think it doesn’t add much value, I can revert or tweak it. Just let me know!

Copy link
Contributor

@lhw-1 lhw-1 left a comment

Choose a reason for hiding this comment

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

I think these changes are overall quite useful!

While we are looking at this section, I'd like to suggest that we add a link for this as well:

image

@seah-minlong
Copy link
Contributor Author

I think these changes are overall quite useful!

While we are looking at this section, I'd like to suggest that we add a link for this as well:

image

Thanks for reviewing @lhw-1 !

That’s a great suggestion—I agree that adding a link here would be useful. I’m thinking of using a popover with a message like "Check out this guide". Let me know if you have any thoughts on this approach!

@lhw-1
Copy link
Contributor

lhw-1 commented Feb 5, 2025

I’m thinking of using a popover with a message like "Check out this guide". Let me know if you have any thoughts on this approach!

We could just link it without needing a popover to match the other links (popover is used for node to inform users of MarkBind-specific decisions here)

Copy link
Contributor

@lhw-1 lhw-1 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @seah-minlong!

@codecov
Copy link

codecov bot commented Feb 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.86%. Comparing base (92d2373) to head (5d7e5cf).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2589   +/-   ##
=======================================
  Coverage   51.86%   51.86%           
=======================================
  Files         127      127           
  Lines        5474     5474           
  Branches     1201     1201           
=======================================
  Hits         2839     2839           
  Misses       2340     2340           
  Partials      295      295           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lhw-1 lhw-1 changed the title UG -> Getting Started: Make it more user-friendly by adding Node.js/npm instructions Update UG Node.js/npm instructions Feb 16, 2025
@lhw-1 lhw-1 merged commit 205ccc2 into MarkBind:master Feb 16, 2025
10 checks passed
@github-actions
Copy link

Welcome, @seah-minlong! 🎉 Thank you for your contribution to the MarkBind project!

@lhw-1, please remember to add @seah-minlong as an official contributor to our repository.

See the full list of contributors here. ✨

@github-actions
Copy link

@lhw-1 Each PR must have a SEMVER impact label, please remember to label the PR properly.

@lhw-1 lhw-1 added the r.Patch Version resolver: increment by 0.0.1 label Feb 16, 2025
@lhw-1 lhw-1 added this to the v5.6.0 milestone Mar 13, 2025
@lhw-1
Copy link
Contributor

lhw-1 commented Mar 14, 2025

@all-contributors please add @seah-minlong for doc

@allcontributors
Copy link
Contributor

@lhw-1

I've put up a pull request to add @seah-minlong! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

r.Patch Version resolver: increment by 0.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UG -> Getting Started: Make this section more user friendly

4 participants