fix: correct broken helplink URL in Output module#940
fix: correct broken helplink URL in Output module#940Nihal4777 merged 1 commit intoCircuitVerse:mainfrom
Conversation
✅ Deploy Preview for circuitverse ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
WalkthroughThe Output module's 🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
LGTM ready for review @Nihal4777 @tachyons |
|
@Nihal4777 @tachyons PTAL |
Nihal4777
left a comment
There was a problem hiding this comment.
https://docs.circuitverse.org/chapter4/chapter4-output/#output-1
@Me-Priyank Do you think URL should be this or existing one is fine?
1aff5eb to
6ddb62b
Compare
Both are valid @Nihal4777 , I used |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@v1/src/simulator/src/modules/Output.js`:
- Line 194: The helplink on Output.prototype.helplink has an extra slash before
the anchor; update the URL string in Output.prototype.helplink to remove the
trailing slash so it matches other modules (change
'https://docs.circuitverse.org/chapter4/chapter4-output/#output-1' to
'https://docs.circuitverse.org/chapter4/chapter4-output#output-1').
6ddb62b to
b33144f
Compare

Fixes #939
Describe the changes you have made in this PR -
The "Help" link for the Output module was using an outdated Docsify URL format (
/#/chapter4/3output), which caused it to redirect to the Introduction page instead of the valid documentation. I have updated thehelplinkproperty insrc/simulator/src/modules/Output.js(and thev1counterpart) to use the correct URL format:https://docs.circuitverse.org/chapter4/chapter4-output#output.Screenshots of the UI changes (If any) -
Screen.Recording.2026-02-15.151800.mp4
Code Understanding and AI Usage
Did you use AI assistance (ChatGPT, Claude, Copilot, etc.) to write any part of this code?
If you used AI assistance:
Explain your implementation approach:
I identified that the
helplinkproperty in Output.js contained a malformed URL with a hash-bang (/#/) structure that is no longer supported by the documentation site. I replaced it with the standard URL format used by other modules (e.g.,chapter4-gates#and-gate). The change is a simple string replacement in the module definition.Checklist before requesting a review
Summary by CodeRabbit