Skip to content

Commit 0d3a018

Browse files
committed
updates to devcontainer in templates
1 parent 208cbbb commit 0d3a018

4 files changed

Lines changed: 5 additions & 26 deletions

File tree

pretext/constants.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@
261261
"pretext-cli.yml": Path(".github", "workflows", "pretext-cli.yml"),
262262
"pretext-deploy.yml": Path(".github", "workflows", "pretext-deploy.yml"),
263263
"installPandoc.sh": Path(".devcontainer", "installPandoc.sh"),
264-
"installSage.sh": Path(".devcontainer", "installSage.sh"),
265264
}
266265

267266
DEPRECATED_PROJECT_RESOURCES = {
@@ -270,6 +269,7 @@
270269
".devcontainer.json": Path(".devcontainer.json"),
271270
"installPretext": Path(".devcontainer", "installPretext"),
272271
"installLatex": Path(".devcontainer", "installLatex"),
272+
"installSage.sh": Path(".devcontainer", "installSage.sh"),
273273
}
274274

275275
GIT_RESOURCES = [
@@ -278,5 +278,4 @@
278278
"pretext-deploy.yml",
279279
"devcontainer.json",
280280
"installPandoc.sh",
281-
"installSage.sh",
282281
]

templates/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@
6767
"editor.quickSuggestions": {
6868
"other": "off"
6969
},
70-
"files.autoSave": "afterDelay",
70+
"editor.suggest.showProperties": false,
7171
"editor.snippetSuggestions": "bottom",
72+
"files.autoSave": "afterDelay",
7273
"xml.validation.enabled": true,
7374
"redhat.telemetry.enabled": false,
7475
"CodeChat.CodeChatServer.Command": "CodeChat_Server"

templates/installPandoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# This file was automatically generated with PreTeXt {VERSION}.
44
# If you modify this file, PreTeXt will no longer automatically update it.
55

6-
wget https://github.com/jgm/pandoc/releases/download/3.6.4/pandoc-3.6.4-1-amd64.deb -O pandoc.deb
6+
wget https://github.com/jgm/pandoc/releases/download/3.8.3/pandoc-3.8.3-1-amd64.deb -O pandoc.deb
77

88
# wait for 60 second and then double check that no other script is using apt-get:
99
sleep 60
@@ -12,6 +12,6 @@ while fuser /var/lib/dpkg/lock >/dev/null 2>&1; do
1212
sleep 15
1313
done
1414
# Install pandoc
15-
sudo apt-get install -y --no-install-recommends ./pandoc.deb
15+
apt-get install -y --no-install-recommends ./pandoc.deb
1616

1717
rm pandoc.deb

templates/installSage.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)