Full preview on GitHub.dev possible? #7875
-
Hi there! We're using Material for MKDocs to maintain a site which isn't primarily addressing developers. We have some contributors who create a Github account just to help us with documentation. But these guys don't speak Docker or terminal window. Some of these contributors edit the documents on Github directly. I've shown ways to use GitHub.dev to have a basic preview available. But most of the magic behind Material for MKDocs isn't available this way. I see that you have a Michael |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
You can use This devcontainer configuration will install the Python dependencies from the requirements.txt, after which port 8000 will be enabled automatically. |
Beta Was this translation helpful? Give feedback.
-
I can only say it's on our radar – we really want to make something that can be used by non-technicals as well. |
Beta Was this translation helpful? Give feedback.
Hi @michaelherger
You can use
mkdocs serve
in your GitHub.dev codespace. All you need to do is enable port 8000. If you don't have a.devcontainer/devcontainer.json
file yet, you can check here.This devcontainer configuration will install the Python dependencies from the requirements.txt, after which port 8000 will be enabled automatically.