Skip to content
Discussion options

You must be logged in to vote

Solved it!

After searching the internet, I decided to search mkdocs documentation and found a solution. Below seems to be working for my use case.

mkdocs.yml:

plugins:
  - search
  - macros:
      on_undefined: strict

validation:
  links:
    absolute_links: relative_to_docs

extra:
  app_images: '/assets/images/applications/' 

MD file:

![Syncthing Logo]({{ app_images }}syncthing.png)

Now it loads and there are no warning messages with relative paths showing inside logs.

Replies: 5 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Knight-of-Code
Comment options

@fralau
Comment options

@Knight-of-Code
Comment options

Comment options

You must be logged in to vote
1 reply
@Knight-of-Code
Comment options

Comment options

@Knight-of-Code
Comment options

Comment options

You must be logged in to vote
1 reply
@fralau
Comment options

Answer selected by fralau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
useful tip A how-to, good to know keep in mind Interesting idea, keep in mind for the future
3 participants
Converted from issue

This discussion was converted from issue #276 on November 08, 2025 10:09.