Skip to content
Discussion options

You must be logged in to vote

The actual configuration of both the mkdocs.yml and the file structure would help to pin point the problem.
Based on your message I envision a structure like this:

.
├── docs/
│   └── Some .md files
├── custom/
│   └── logo.png
└── mkdocs.yml

Generated with https://tree.nathanfriend.io/

And inside your mkdocs.yml

theme:
  logo: custom/logo.png

This guide shows a path relative to the docs directory, or more specifically, to the root of your generated website, so adding the custom directory to the path is incorrect, since it's outside of the docs directory.
https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#image

If I guessed correctly then change it to either…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@haris-bit
Comment options

Answer selected by haris-bit
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