You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm trying to use Docma for my own CMS based on Node.js, but running Docma only generates a page for my README.md (so the guide). I started writing a script (docma.js) in my project's root with the following content:
Currently the app-entrance is the guide. When now visiting the docs I see my README.md. But changing now the app-entrance to my 'core', that currently has only one file to test it, then I get a 404-Error visiting my docs.
Following you'll find a screenshot from IntelliJ from the output-folder:
Did I do any mistakes writing my config? Thanks for helping me :)
Greetings from Germany
ilou
The text was updated successfully, but these errors were encountered:
Hi. Your output seems ok.
If you're changing entrance to a api route, you should set it to entrance: "api:core".
You can also play with the base option to see if it's set correctly, depending on your directory structure.
Docma creates HTML files for parsed markdown.
JSDoc data is built into the docma-web.js (they are not parsed as static HTML files); but if you set routing method to path, a directory structure with index files (for redirection) are created.
In your screenshot, I see api/core paths are created. It seems nothing is wrong here. So closing this.
Hey, I'm trying to use Docma for my own CMS based on Node.js, but running Docma only generates a page for my README.md (so the guide). I started writing a script (docma.js) in my project's root with the following content:
Currently the app-entrance is the guide. When now visiting the docs I see my README.md. But changing now the app-entrance to my 'core', that currently has only one file to test it, then I get a 404-Error visiting my docs.
Following you'll find a screenshot from IntelliJ from the output-folder:
Did I do any mistakes writing my config? Thanks for helping me :)
Greetings from Germany
ilou
The text was updated successfully, but these errors were encountered: