feat(devcontainer): customize dev environment and add VS Code tasks#38
Open
arnaudlh wants to merge 2 commits intoAzure:mainfrom
Open
feat(devcontainer): customize dev environment and add VS Code tasks#38arnaudlh wants to merge 2 commits intoAzure:mainfrom
arnaudlh wants to merge 2 commits intoAzure:mainfrom
Conversation
- update devcontainer.json with project-specific settings - extend post-create.sh with additional setup steps - add VS Code tasks for docs build and serve workflows 🛠️ - Generated by Copilot
sendtoshailesh
approved these changes
Apr 29, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves the docs-site developer experience by enhancing the devcontainer (Node availability + port forwarding), automating setup steps after container creation, and adding VS Code tasks for common documentation workflows.
Changes:
- Add VS Code tasks to install deps, generate docs, build, and run the docs site on port 3333.
- Update devcontainer setup to install website dependencies automatically after creation.
- Configure the devcontainer to forward port 3333 and add a Node feature configuration.
Show a summary per file
| File | Description |
|---|---|
.vscode/tasks.json |
Adds VS Code tasks for docs install/generate/build/serve workflows. |
.devcontainer/post-create.sh |
Automates installing website dependencies (and installs sandbox dependencies) during container creation. |
.devcontainer/devcontainer.json |
Adds Node feature + forwards port 3333 with a friendly label and notification behavior. |
Copilot's findings
- Files reviewed: 3/3 changed files
- Comments generated: 3
| # Install Docusaurus website dependencies | ||
| echo "==> Installing website dependencies..." | ||
| if [ -f website/package.json ]; then | ||
| (cd website && npm install --no-audit --no-fund) |
| { | ||
| "label": "Docs: Install", | ||
| "type": "shell", | ||
| "command": "npm install", |
| "ghcr.io/devcontainers/features/copilot-cli:1": {} | ||
| "ghcr.io/devcontainers/features/copilot-cli:1": {}, | ||
| "ghcr.io/devcontainers/features/node:2.0.0": { | ||
| "version": "25" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request improves the development environment setup for the documentation website by adding Node.js 25 support, automating dependency installation, and introducing VS Code tasks for building and serving the docs site. It also configures port forwarding for easier local access and enhances VS Code integration.
Dev Container and Environment Improvements:
.devcontainer/devcontainer.jsonto ensure the correct Node version is available for documentation site development.Automation of Docs Setup:
.devcontainer/post-create.shto automatically install website dependencies (npm installinwebsite/) after the container is created, streamlining the setup process.VS Code Task Integration:
.vscode/tasks.jsonfile with tasks for installing dependencies, generating docs, building (both local and production), and serving the documentation site, making it easier to manage docs-related workflows from within VS Code."task.allowAutomaticTasks": "on"in the devcontainer settings, improving developer experience.