-
-
Notifications
You must be signed in to change notification settings - Fork 239
ci: Complete dev container configuration #3052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR finalizes the development container and local build configuration, unifies navigation URLs via environment variables, and streamlines MkDocs config management.
- Introduces a Debian-based multi-stage Dockerfile and pins Pipenv dependencies into a project virtual environment.
- Refactors all MkDocs navigation entries and homepages to use
!ENV
lookups and removes outdated net-site configs. - Adds a new
.devcontainer/devcontainer.json
for local development and updates GitHub Actions to export URL environment variables for production builds.
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
run.sh | Use static mkdocs.insiders.yml instead of dynamic temp files |
net/index.md | Removed legacy community index page |
modules/mkdocs-material | Bumped submodule commit |
mkdocs.yml | Converted blog/video nav entries to !ENV syntax for dynamic URLs |
mkdocs.videos.yml | Updated homepage and nav to use !ENV variables |
mkdocs.net.yml | Deleted obsolete net site configuration |
mkdocs.insiders.yml | Added base MkDocs override for insiders preview |
mkdocs.blog.yml | Changed homepage and nav entries to use !ENV lookups |
Dockerfile | Switched from Alpine to Debian (bookworm) and implemented multi-stage build |
.vscode/extensions.json | Updated VS Code recommended extensions list |
.github/workflows/build.yml | Added step to export site URL environment variables for production |
.devcontainer/devcontainer.json | Added new devcontainer definition with tasks for live previews |
Comments suppressed due to low confidence (1)
run.sh:115
- Using
if $insiders
will attempt to execute the variable rather than test its value; replace it with a test expression, for example:if [ "$insiders" = true ]; then
.
if $insiders ; then
✅ Your preview is ready!
|
1a90180
to
87a6fe1
Compare
dcc6880
to
fd0d995
Compare
This pull request has been mentioned on Privacy Guides Community. There might be relevant details there: |
Developing locally with Docker is now fully functional and covers all website builds (including blogs and videos).