pozgo / docker-mkdocs

MkDocs in a Docker. (Alpine)
MIT License
86 stars 34 forks source link

Specifying theme #38

Closed BenHall-1 closed 4 years ago

BenHall-1 commented 4 years ago

How do you specify which theme to use?

e.g. where do you put the mkdocs.yml?

pozgo commented 4 years ago

mkdocs.yml should be in root directory of the documentation. Above /docs In this docker image you specify this by variable DOCS_DIRECTORY

and then you specify it by using:

theme:
  name: material

Offcial MKDocs Documentation