Skip to content

How to disable image links #10373

Closed Answered by hultqvist
hultqvist asked this question in Q&A
Discussion options

You must be logged in to vote

Based on the pointers from @filzrev I created a template at templates/my

Added it to docfx.json

{
  "build": {
    "template": [
      "default",
      "modern",
      "templates/my"
    ]
  }
}

Added the option to templates/my/main.js

export default {
    showLightbox: (element) => false,
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hultqvist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants