cairo-contracts icon indicating copy to clipboard operation
cairo-contracts copied to clipboard

Documentation Build (npm run docs) Creates Empty build/site Directory, Resulting in 404 Errors

Open markv44 opened this issue 8 months ago • 3 comments

Running the local documentation build process (npm run docs within the docs directory) completes without reporting errors but fails to generate any files in the docs/build/site output directory. Consequently, attempting to view the documentation locally using npm run docs:watch results in a 404 Not Found error because the development server has no index.html or other files to serve.

accessing the local URL results in a 404 Not Found error. Image

accessing the local URL results in a 404 Not Found error.

Image

markv44 avatar Apr 22 '25 12:04 markv44

Hey @markv44. I can't reproduce this issue. Can you share the output from the npm run docs command?

ericnordelo avatar Apr 22 '25 12:04 ericnordelo

Hello @ericnordelo, apologies for the late reply; I have been very busy lately.

Below, I am providing a screenshot of the output of the npm run docs command. When you look at the left side of the screenshot, you will see that the build/site directory is empty.

Image

markv44 avatar Apr 28 '25 21:04 markv44

mmm, I still can't reproduce the issue locally. Can you show your package.json?

ericnordelo avatar May 05 '25 09:05 ericnordelo

Closing since we have chenged the doc framework.

ericnordelo avatar Nov 12 '25 19:11 ericnordelo