Closed lappemic closed 1 month ago
Yep. Those instructions are for something else (and out of date). So they are totally wrong.
You can just pnpm dev
from the js/_website
directory to view and edit the site.
Ok thanks. Is there a need to adjust the instructions?
I would put myself forward if you would give some clarifications on what this part is used for then.
Thanks @lappemic yes feel free to open a PR! cc @aliabd
Since @aliabd self-assigned, i am not going to work on fixing this.
Let me know if i can assist somehow anyway.
Sorry @lappemic I figured I'd do it since I also wanted to add a section explaining how the docs and guides are generated and how to contribute. Please take a look at the PR and let me know if you have any suggestions! https://github.com/gradio-app/gradio/pull/8842
Describe the bug
I wanted to fix a typo in the slider component (see #8736), but I encountered issues when trying to build the website locally. Here's a summary of the problems:
Build Issues:
pnpm build:cdn-local
command as per the instructions (here), but it resulted in an error. It seems the correct command is justpnpm build
.Outdated Contributing Guide:
CONTRIBUTING.md
file contains outdated information. Specifically, it mentions the following line:This script tag is not apparent anymore and cannot be served with:
Can you please confirm these issues or do i missunderstand the instructions?
Let me know if i could help resolve these issues!
Have you searched existing issues? 🔎
Reproduction
Try to build and serve website as stated (here)
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it