From 72f705a871aa3ebf7b38f9d318854a4bc55e5e19 Mon Sep 17 00:00:00 2001 From: Nelson Batalha Date: Thu, 20 Nov 2025 01:03:31 +0000 Subject: [PATCH 1/2] Add experimental devcontainer and GitHub Codespaces config --- .devcontainer/devcontainer.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..75a13b6b --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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" + } + } + } + } + } +} \ No newline at end of file From 765cde0c73d171e88c714dd30405ca0457eba291 Mon Sep 17 00:00:00 2001 From: Nelson Batalha Date: Thu, 20 Nov 2025 01:12:21 +0000 Subject: [PATCH 2/2] Add link to repo Codespaces --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index bebcc99a..e85b0451 100644 --- a/README.md +++ b/README.md @@ -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/