huggingface/doc-builder

Error: Not found: /

bhavberi opened this issue · 5 comments

When building the hugging face hub using the command doc-builder preview hub {path}/docs/hub/ --not_python_module where path is my local path to the cloned repository, it is giving 404: Not Found Error.
I have followed the same steps as mentioned on the hugging face hub repository: https://github.com/huggingface/hub-docs#previewing-locally.

Can someone please help in what the issue could be and a possible solution for the same?

Terminal Logs:
image

Website Output:
image

I encounter the same with main - I have to use an older commit to get it to work well.

Thanks for the help. Going around a month back in commits helped me get it working.

sv-v5 commented

@bhavberi , @tomaarsen what commit did you revert back to?

I'm still having trouble with doc-builder preview hub /hub-docs/docs/hub --not_python_module for example and

same error Not Found: /

im on debian bullseye, python3.10, node 20

I went back to 3de0a0e, though that's probably further than necessary.

I probably went back to 7bfc590, and it worked for me. (I don't remember the exact commit I went back to, but it was around this date only)