Merge pull request #82 from n-batalha/feature/github-codespaces

Add experimental devcontainer / GitHub codespaces setup
This commit is contained in:
Kevin Coleman
2025-11-20 09:27:45 -07:00
committed by GitHub
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/python
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:0-3.11-bullseye",
"forwardPorts": [
8000
],
"postCreateCommand": "pip3 install --user -r requirements.txt",
"postStartCommand": "mkdocs serve --watch docs",
"portsAttributes": {
"8000": {
"label": "preview",
"onAutoForward": "openPreview"
}
},
"customizations": {
"codespaces": {
"openFiles": [
"README.md",
"CONTRIBUTING.md"
],
"repositories": {
"MiSTer-devel/MkDocs_MiSTer": {
"permissions": {
"pull_requests": "write"
}
}
}
}
}
}

View File

@@ -1,3 +1,5 @@
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MiSTer-devel/MkDocs_MiSTer)
# MkDocs_MiSTer
https://MiSTer-devel.github.io/MkDocs_MiSTer/