diff --git a/.devcontainer/-#-ockerfile_ b/.devcontainer/-#-ockerfile_ new file mode 100644 index 0000000..9744656 --- /dev/null +++ b/.devcontainer/-#-ockerfile_ @@ -0,0 +1,5 @@ +#FROM mcr.microsoft.com/devcontainers/base:focal +FROM squidfunk/mkdocs-material +#RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ +# && pip install mkdocs-material +# && mkdocs serve \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 15a8f7d..c4c234c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,37 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu { - "image": "mcr.microsoft.com/devcontainers/universal:2", - "forwardPorts": [3000], - "features": { - "ghcr.io/devcontainers-contrib/features/mkdocs:2": {} - } + "name": "Mkdocs-material", + "forwardPorts": [3000], + "image": "squidfunk/mkdocs-material", + "postCreateCommand": "sh ./.devcontainer/post-install.sh", + "portsAttributes": { + "3000": { + "label": "SS-test-app", + "onAutoForward": "notify" + } + } + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + //"image": "mcr.microsoft.com/devcontainers/base:focal", + // "features": { + // "ghcr.io/devcontainers/features/python:1": { + // "installTools": true, + // "version": "latest" + // } + + //} + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "uname -a", + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" } diff --git a/requirements.txt b/requirements.txt index 1b51f2d..06b2088 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ # Obsidian Style Attachment Support (Example Site) -mkdocs-roamlinks-plugin==0.3.2 \ No newline at end of file +mkdocs-roamlinks-plugin==0.3.2