Skip to content

Commit 7312015

Browse files
authored
update devcontainer template to open README.md instead of main.ptx, a… (#1039)
* update devcontainer template to open README.md instead of main.ptx, and to autoSave after delay * update changelog
1 parent b42d109 commit 7312015

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Instructions: Add a subsection under `[Unreleased]` for additions, fixes, change
99

1010
## [Unreleased]
1111

12+
### Changed
13+
14+
- Improve default settings in codespace settings.
15+
1216
## [2.24.0] - 2025-07-21
1317

1418
Includes updates to core through commit: [32262dd](https://github.com/PreTeXtBook/pretext/commit/32262dda4922a4535bcfb10fe1c66b50c51337ac)

templates/devcontainer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@
1818
// "image": "pretextbook/pretext:latest",
1919
"features": {"ghcr.io/devcontainers/features/github-cli": {}},
2020

21-
// The pretext-full image above includes pretext, prefigure, and enough parts of latex and sagemath for most cases. If there are errors with sage, you can install the full sagemath package through Conda by running ./.devcontainer/installSage.sh, or uncommenting that line and rebuilding the container.
21+
// The pretext-full image above includes pretext, prefigure, and enough parts of latex and sagemath for most cases. Here we install additional dependencies.
2222
"postCreateCommand": {
23-
// "install sagemath": "bash ./.devcontainer/installSage.sh",
2423
"install pandoc": "bash ./.devcontainer/installPandoc.sh",
2524
"mark repo as safe": "git config --global --add safe.directory $(pwd)"
2625
},
@@ -57,18 +56,18 @@
5756
}
5857
},
5958

60-
59+
6160
// Configure tool-specific properties.
6261
"customizations": {
6362
"codespaces": {
64-
"openFiles": ["source/main.ptx"]
63+
"openFiles": ["README.md"]
6564
},
6665
"vscode": {
6766
"settings": {
6867
"editor.quickSuggestions": {
6968
"other": "off"
7069
},
71-
"files.autoSave": "onFocusChange",
70+
"files.autoSave": "afterDelay",
7271
"editor.snippetSuggestions": "bottom",
7372
"xml.validation.enabled": true,
7473
"redhat.telemetry.enabled": false,

0 commit comments

Comments
 (0)