-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
collapse block fix #5463
base: main
Are you sure you want to change the base?
collapse block fix #5463
Conversation
@svrnm , please kindly review. Also I have an issue with linking the Javascript. Please where do you think I should link it, should that be in the root asset folder or in the theme(docsy) asset folder? |
In the root asset folder. the theme is a git submodule and shouldn't be touched. If we like the solution we can talk about upstreaming it to docsy (cc @chalin) Can you add the javascript and the shortcode file you used? right now the PR is broken and I can not preview it. |
@svrnm here's an update on this pr I moved all files to the root directory, -The shortcode can be found in layouts/shortcodes/preview-fade.html The shortcode and assets are not being applied after moving them to the root directory |
@kemsguy7 thanks! Please take a look at the preview, it seems there is something not working as expected: https://deploy-preview-5463--opentelemetry.netlify.app/docs/languages/js/getting-started/nodejs/ |
## Prerequisites | ||
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.
make sure you do not apply changes that are unrelated to this PR. You may be able to remove them easily by running npm run fix:format
locally, otherwise take a look into the files and remove all unrelated changes.
…to kemsguy7-collapse-block-fix
@svrnm , i've found and fixed the issue
collapsible.button.mp4 |
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 pr resolves issue: #5405 where I resolved an issue in the nodeJs documentation Page; improving the visibility of long invisible code blocks wrapped around previous with HTML
summary
tag .Key changes
Demo
Preview