Skip to content

Commit

Permalink
Add devcontainer (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
robbertbos authored Mar 7, 2024
2 parents ba4af2b + ddb8546 commit f3c324f
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "MkDocs",
"image": "mcr.microsoft.com/devcontainers/python:3.11",
"forwardPorts": [8000],
"postCreateCommand": "pip install -r requirements-dev.txt",
"postStartCommand": "mkdocs serve",
"customizations": {
"vscode": {
"extensions": [
"editorconfig.editorconfig",
"streetsidesoftware.code-spell-checker",
"davidanson.vscode-markdownlint",
"yzhang.markdown-all-in-one",
"takumii.markdowntable"
]
}
}
}
14 changes: 12 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
day: "monday"
time: "08:00"
Expand All @@ -16,7 +15,6 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
day: "monday"
time: "08:00"
Expand All @@ -25,3 +23,15 @@ updates:
labels:
- "pip"
- "dependencies"

- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "08:00"
timezone: "Europe/Amsterdam"
open-pull-requests-limit: 5
labels:
- "devcontainers"
- "dependencies"
16 changes: 16 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "MkDocs",
"type": "debugpy",
"request": "launch",
"console": "integratedTerminal",
"module": "mkdocs",
"args": ["serve"]
}
]
}

0 comments on commit f3c324f

Please sign in to comment.