Skip to content
Discussion options

You must be logged in to vote

Have you defined site_url? You should set site_url to the root path of your documentation project:

site_url: https://squidfunk.github.io/mkdocs-material/

If that doesn't work, there might be some plugins that help to transform root-relative links prior to the build. Another idea is to use the macros plugin: mkdocs/mkdocs#192 (comment)

Replies: 1 comment 1 reply

Comment options

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

madeinoz67 Oct 20, 2021
Author Sponsor

Answer selected by madeinoz67
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