-
-
Notifications
You must be signed in to change notification settings - Fork 813
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
Feature : Added markdown-toc package to auto-generate toc with husky pre commit hook. #1280
Feature : Added markdown-toc package to auto-generate toc with husky pre commit hook. #1280
Conversation
…o automatically update TOC in INSTALLATION.md using markdown-toc package.
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersWhen your PR has been assigned reviewers contact them to get your code reviewed and approved via:
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
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.
This should be done for all the markdown files in the riot directory. That would solve a universal problem. Please update.
Please fix the failing typescript tests |
Hey @palisadoes ! I have added a new update-toc.js file where it will execute cinnamon-2023-12-25T224523+0530.webmIf it look good I will push the changes. |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1280 +/- ##
========================================
Coverage 96.57% 96.57%
========================================
Files 137 137
Lines 3417 3417
Branches 958 958
========================================
Hits 3300 3300
Misses 112 112
Partials 5 5 ☔ View full report in Codecov by Sentry. |
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.
- Why is this PR updating typescript and language JSON files?
- Please don't include them in the PR. Do not delete them from the repo.
Those changes are not mine. It is there because I have fetched the latest upstream which is committed by other. |
Though they may not be your edits, they must not be included in this PR. We only want to review what was required in the source issue |
81db5f7
to
0aad977
Compare
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.
See comment
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.
See comment
PTAL |
Is this integrated with the git hooks? |
I thought about the universality of this solution. Will it work for developers running on the most OS platforms?
For example, the find command is Unix specific |
|
|
|
OK |
abccb88
to
aafa094
Compare
@palisadoes , Please Have a look : )
@palisadoes , Please have a look : ) |
Hi @palisadoes , could you please check this out? Thanks! |
d15cf33
into
PalisadoesFoundation:develop
What kind of change does this PR introduce?
Issue Number:
Fixes #1234
Did you add tests for your changes?
Snapshots/Videos:
cinnamon-2023-12-25T140007+0530.webm
If relevant, did you update the documentation?
Summary
Add markdown-toc package for generating table of contents
This commit adds the "markdown-toc" package to the project's dependencies in the package.json file. This package is used to generate a table of contents in the INSTALLATION.md file.
Does this PR introduce a breaking change?
Other information
Have you read the contributing guide?