Giter Site home page Giter Site logo

configure the theme about docdash HOT 7 CLOSED

zhumj1 avatar zhumj1 commented on July 17, 2024
configure the theme

from docdash.

Comments (7)

ar2rsawseen avatar ar2rsawseen commented on July 17, 2024

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

from docdash.

zhumj1 avatar zhumj1 commented on July 17, 2024

thank you

from docdash.

xrui94 avatar xrui94 commented on July 17, 2024

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

from docdash.

ar2rsawseen avatar ar2rsawseen commented on July 17, 2024

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?

from docdash.

xrui94 avatar xrui94 commented on July 17, 2024

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

from docdash.

ar2rsawseen avatar ar2rsawseen commented on July 17, 2024

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

from docdash.

xrui94 avatar xrui94 commented on July 17, 2024

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

Yes,it is working.

from docdash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.