-
Notifications
You must be signed in to change notification settings - Fork 486
using the TOC in documentation.yml breaks the HTML for me #938
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
Comments
I'm seeing this same issue, though the Markdown output looks fine. See https://github.com/rpowelll/github-explore-react-demo/wiki/API-Docs |
Same here. Markdown works fine, but HTML puts children under "Static members" in the sidebar, but nothing is included in the contents and links are dead. |
I am having the same issue as described by @onbjerg . This is only on documentation entries placed under
|
I've managed to get something working-ish as per here, but the children bit is either broken or poorly documented (or both): |
+1 Seeing the same, using the children property in documentation.yml doesn't render any content. |
Agreed, this is broken. Using children for generates incorrect content, including nesting classes under "Static Members" and not generating valid links.
results in:
|
Can also confirm children does not work or is either badly documented. |
Anyone interested in potentially digging in, to see where the bug is, and perhaps contributing a fix? The relevant code is in sort.js and the default theme: https://github.com/documentationjs/documentation/tree/master/src/default_theme . |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am trying to setup the TOC with documentation.yml, however when I add an item to the TOC, it breaks. The item is organized and in the TOC, but the link breaks and there is no content output.
My setup is to tell documentation.js to generate HTML documentation for all the JS Source.
The JS Source is in ES6, exporting a default class with constants around the class. Like:
I compile with a NPM command :
if I include in the documentation.yml the following:
I can see both the Test class, and the FOO constant, on the left in the TOC, however the contents for each are not present in the output. Clicking the links do nothing. There are no errors in the console.
Is this a problem with my configuration? Maybe this type of TOC Configuration is not supported?
thank you.
The text was updated successfully, but these errors were encountered: