-
Notifications
You must be signed in to change notification settings - Fork 34
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
@const description causes docma not to render an api page #45
Comments
ok I now understand that the rendered api docs are in the docma-web.js file and I can search and find the functions from my source. Why is that not getting rendered to the page. the source of the "blank" page is
and if I click on the js/docma-web.js link it comes up and indeed reference to my source functions are there. Yet a blank page is rendering??? |
with debug on it all looks fine.
When loading ?api=UCI
|
Looks like it was the source code jsdoc. I have tracked it down. Docma does not like this @const JSDOC line with the descriptive text after.
with console error
if I remove it the error is gone and the page renders
as far as I know there is nothing wrong with adding a description to an @const tag |
This is a duplicate of #41, which has a workaround you could use in the meantime. |
Fixed with Docma v3.0.0. |
I understand correctly the first entry in the src: key array will be used for the
?api=
query route??So docma is parsing my source files (because if I put in a syntax error it catches it) but then there is no actual html being rendered at the api route. It doesn't show a 404 just a blank page so it thinks the route is good just nothing there. Nothing obvious in the build directory either. Is there supposed to be an
api
subdirectory cause there isn't. (there is acontent
subdirectory)http://localhost:9000/?api=UCI
btw the guide page markdown renders fine at the web root.
my config file
not using the cli but running this
The text was updated successfully, but these errors were encountered: