-
Notifications
You must be signed in to change notification settings - Fork 34
Links in left side outline are incorrectly transformed to remove surrounding _ _ #11
Comments
Are you using a custom outline? |
Nope. No settings at all really. The repo is here: https://github.com/crucialfelix/supercolliderjs/tree/feature/docs As I said in the issue: the generated html is correct. Some javascript seems to be replacing I didn't get a chance to investigate more. Thanks |
Seems to be happening here. As clients typically use a custom outline, I suppose this issue hasn't really been noticed. |
It's already December. Will this problem be fixed? |
This is being addressed in a pull request. Attached is an auto-generated package that you can use to try out right away. |
After actual measurement, the above zip package still has some problems. I tried to modify some code and fixed this problem (I did not understand the compilation process of the entire theme) Behavior of the above zip package The link on the homepage sidebar is normal Subpage The part I modified (relative to Compressed a modified |
* Update the functions [renderSimpleHTMLRecursive] and [renderHTMLRecursive] in the TypeScript source code to fix the problem of automatic sidebar generation and regenerate main.js Fixes #11
Building with:
lang ❯ typedoc --theme /Users/crucialfelix/.nvm/versions/node/v10.15.1/lib/node_modules/typedoc-neo-theme/bin/default
(globally installed neo-theme)
creates a front page:
file:///Users/crucialfelix/code/supercolliderjs/docs/packages/lang/docs/index.html
The generated source contains items in
.tsd-navigation-primary
that populate the sidebar:These links are correct (but invisible). Each module is surrounded with
_
modulename_
.htmlBut this is then rendered to the DOM (by frontend javascript AFAICT) as:
<a href="modules/sclang.html">sclang</a>
ie:
file:///Users/crucialfelix/code/supercolliderjs/docs/packages/lang/docs/modules/sclang.html
Without the surrounding underscores. Which is 404
The text was updated successfully, but these errors were encountered: