Closed zhumj1 closed 10 months ago
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.
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.
Hello, so just to confirm, the issue is resolved then? :)
Hello, so just to confirm, the issue is resolved then? :)
Yes,it is working.
Do you have the option to configure the theme?