tmcw / docbox

REST API documentation generator
ISC License
1.14k stars 191 forks source link

Show examples in not working after build #81

Closed fadijabi closed 6 years ago

fadijabi commented 6 years ago

Hi,

I deployed docbox locally using npm run build and everything works just fine. However, "Show examples in: cURL cli Python JS Java ObjC Swift" toggles are not working.

Toggles are working fine using npm start.

Any clue why when deployed locally toggles are not working?

tmcw commented 6 years ago

Possibly you cloned docbox before feb 22, when a fix for publishing was rolled out?

fadijabi commented 6 years ago

Not really. I cloned recently and still same problem

arekadeoye commented 6 years ago

Hello @tmcw

I'm having the same issue as @fadijabi above and I've cloned the latest version. Any comments would be appreciated.. Great work by the way.. 👍

A

fadijabi commented 6 years ago

Hi again, any update on this issue?

Note: the issue happens only when I run the build. If I do npm start it works as expected. Also running the build the second time for updating the content, the documentations becomes a mess. I have to reset the index page to the empty one and run the build again.