Skip to content

Fixes #946 - Add devcontainer configuration#974

Open
cmaneu wants to merge 4 commits into
microsoft:mainfrom
cmaneu:feat/add-devcontainer-config
Open

Fixes #946 - Add devcontainer configuration#974
cmaneu wants to merge 4 commits into
microsoft:mainfrom
cmaneu:feat/add-devcontainer-config

Conversation

@cmaneu
Copy link
Copy Markdown
Member

@cmaneu cmaneu commented May 5, 2026

Description

This PR adds a devcontainer with python (including uv and ruff).

Linked Issue (REQUIRED)

#946

@cmaneu cmaneu marked this pull request as ready for review May 5, 2026 13:54
Copilot AI review requested due to automatic review settings May 5, 2026 13:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a contributor devcontainer and expands contributor documentation around the docs workflow.

Changes:

  • Adds a new .devcontainer configuration with Python 3.11, common CLI features, VS Code settings, and a setup command.
  • Documents how to build, serve, and extend the MkDocs documentation locally in CONTRIBUTING.md.
  • Adds an unreleased changelog entry describing the devcontainer and docs contribution updates.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
CONTRIBUTING.md Adds a new section explaining the local MkDocs documentation workflow and contribution guidelines.
.devcontainer/devcontainer.json Introduces the new devcontainer image, features, editor settings, and setup commands.
.changes/unreleased/docs-20260505-135611.yaml Adds the unreleased changelog entry for this PR.

}
}
},
"postCreateCommand": "npm install -g changie && uv sync --dev",
Comment thread CONTRIBUTING.md
Comment on lines +98 to +103
To preview documentation changes locally:

```sh
uv run mkdocs serve
```

@@ -0,0 +1,31 @@
{
"name": "fabric-cicd",
"image": "mcr.microsoft.com/devcontainers/python:3.11",
@@ -0,0 +1,8 @@
kind: docs
body: Add devcontainer and a section about contributing to documentation
}
},
"postCreateCommand": "npm install -g changie && uv sync --dev",
"forwardPorts": [8000]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this is needed?

Comment on lines +5 to +11
"ghcr.io/devcontainers-extra/features/git-lfs:1": {},
"ghcr.io/devcontainers/features/node:2.0.0": {},
"ghcr.io/devcontainers/features/powershell:2.0.2": {},
"ghcr.io/devcontainers/features/azure-cli:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-extra/features/uv:1": {},
"ghcr.io/devcontainers-extra/features/ruff:2": {}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides ruff, uv and node, do we need the rest?

@@ -0,0 +1,8 @@
kind: docs
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not affecting the package, hence no need of changelog entry. added skip changelog label to skip the validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCUMENTATION] Create a devcontainer and a "contributing to docs" guide

3 participants