clenemt/docdash

configure the theme

zhumj1 opened this issue · 7 comments

Do you have the option to configure the theme?

Hello,
there is a "scripts": [] option where you can provide list of js and CSS files to load and override default values

thank you

How to use the "scripts" option to configure theme? Is there a example? This is my jsdoc.json config file below, but it is not working.
image

Hello
The usage is correct, and I think the problem is the relative path to the file
If you look at the generated source code of the doc and find your script included there, what path does it have, and how is it relative to where your script actually is?

Hello The usage is correct, and I think the problem is the relative path to the file If you look at the generated source code of the doc and find your script included there, what path does it have, and how is it relative to where your script actually is?

Hi
Thank you for your reply! Yes, my usage is correct. It is indeed the relative path error of the css file. When the browser accesses the "common.css" file, the browser reports a 404 error. I move the "common.css" file to the styles folder of the api document directory, it can work normally.
image

Hello,
so just to confirm, the issue is resolved then? :)

Hello, so just to confirm, the issue is resolved then? :)

Yes,it is working.