This is a sample configuration for setting up VS Code and Remote Containers to enable editing an MkDocs Material website repository conveniently.
Pre-requisites: Docker, Visual Studio Code, Remote Development extension
- Start VS Code open the repository inside a container:
- Run command (Ctrl-Shift-P or F1)
Remote-Containers: Open Folder in Container...
and browse the repository folder. - Or open the repository root folder and follow popup instructions to "Re-open folder in container."
- Run command (Ctrl-Shift-P or F1)
- Open a new Terminal and execute command
mkdocs serve
.