Skip to content

update openrpc to v2 #2

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

Merged
merged 14 commits into from
Jun 13, 2025
Merged

update openrpc to v2 #2

merged 14 commits into from
Jun 13, 2025

Conversation

acolytec3
Copy link
Owner

@acolytec3 acolytec3 commented May 22, 2025

Experiment to update open rpc generators and gatsby to latest versions (as an alternative to this pr

@acolytec3 acolytec3 changed the title update generator to v2 update openrpc to v2 May 22, 2025
@zcstarr
Copy link

zcstarr commented May 22, 2025

This looks like the minimal set of changes required to me, the only difference would be that I think you can keep any node version updates performed in the docusarus update. When I updated the generator I tried to keep this repo in mind :D

Copy link
Owner Author

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

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

This looks like the minimal set of changes required to me, the only difference would be that I think you can keep any node version updates performed in the docusarus update. When I updated the generator I tried to keep this repo in mind :D

Is there any customizability in the gatsby templates produced by the generator or do we just have the one giant accordion component and then the inspector underneath. The current layout is a little bit unwieldy with infinite scrolling so either doing something similar to the metamask plugin where you navigation available on a sidebar or something similar would be nice.

@zcstarr
Copy link

zcstarr commented Jun 5, 2025

@acolytec3 just bumped the version https://github.com/open-rpc/generator/releases/tag/2.0.1

You should be able to use md and mdx files for docs.

Just create src/docs/nameof.[md,mdx] in the created directory and it should allow you to render the markdown

then you'll need to add the filename prefix to the links section of the generated gatsby.config.js and that will allow the sidebar to expand with additional pages/link options.

Let me know if you hit any issues

@acolytec3 acolytec3 merged commit b0ef8a4 into main Jun 13, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants