question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it possible to change the theme?

See original GitHub issue

I’m trying to change the theme used for the generated docs, but without much success.

I’ve installed another theme using npm (jsdoc-oblivion), and change the path and theme properties, but with no effect.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
pixelasscommented, Nov 17, 2016

@dudesweet100 make sure the config is valid JSON (no comments). Also don’t confuse templates with opts/template

The first allows to change the template for a specific type while the other offers to change the path to your actual theme

Here’s a working example for one of my repos: https://github.com/pixelass/schachtel/blob/master/jsdoc.json#L23

{
  "opts": {
      "template": "node_modules/loke-jsdoc-theme"
    }
}
0reactions
puppeteer701commented, Nov 17, 2016

I dont understand, how would the configuration then look like when using https://github.com/LOKE/jsdoc-theme.

 "templates": {
        "default": {
            // Set my own layout file
            "layoutFile": "./node_modules/loke-jsdoc-theme"
        }
    }

Tried this and it does not work, it expects a file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change your display theme - Android - Google Voice Help
Open the Voice app "" . · At the top left, tap Menu "" and then Settings. · Under Display Options, tap Theme....
Read more >
How to Change a WordPress Theme (Without Breaking Your ...
How to Change Your WordPress Theme Safely (In 5 Steps) · Step 1: Set Up a Staging Copy of Your Website · Step...
Read more >
Change Your Theme – WordPress.com Support
How to Switch Themes · Starting in your dashboard, go to Appearance → Themes. · Browse through the available themes and choose one...
Read more >
How to Properly Change a WordPress Theme (Ultimate Guide)
By default, WordPress allows you to preview a theme on your website without changing it. To do that, head over to Appearance »...
Read more >
Video: Apply and change a theme - Microsoft Support
Apply and change a theme · On the DESIGN tab, in the Themes group, click More. · Do one of the following: ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found