Skip to content

How to setup mkdocs preview live server #7805

Answered by niclasheinz
jklist asked this question in Q&A
Discussion options

You must be logged in to vote

You can simply use
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material

Docs: mkdocs-material/creating-your-site/#previewing-as-you-write

Run this command in the root folder of your project where mkdocs.yml is located.

Converting this to a discussion.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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 niclasheinz
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
Converted from issue

This discussion was converted from issue #7804 on December 17, 2024 10:42.