Skip to content

Commit

Permalink
Merge pull request #147 from oscarlevin/edition
Browse files Browse the repository at this point in the history
Edition
  • Loading branch information
oscarlevin authored Feb 14, 2025
2 parents fc449c9 + ccb6872 commit 93b5fde
Show file tree
Hide file tree
Showing 950 changed files with 169,827 additions and 166,873 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/pretext-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,21 @@ jobs:
- name: install deps
run: pip install -r requirements.txt

- name: install local ptx files
run: pretext --version

- name: build deploy targets
run: pretext build --deploys
run: |
version="$(pretext --version)"
major="$(echo $version | cut -d '.' -f 1)"
minor="$(echo $version | cut -d '.' -f 2)"
if [ "$major" -ge 2 -a "$minor" -ge 5 ]; then
echo "PreTeXt version is 2.5 or greater; using new build command"
pretext build --deploys
else
echo "PreTeXt version is less than 2.5, using old build command"
pretext build
fi
- name: stage deployment
run: pretext deploy --stage-only

Expand Down
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,14 @@ html/images/*.svg
latex/*.pdf
localbuild/
Makefile.paths

.vscode/
output/
generated-assets/
cover/

codechat_config.yaml
published/
published/

*.code-workspace

.cache/
1,396 changes: 1,396 additions & 0 deletions Discrete_Mathematics.pl

Large diffs are not rendered by default.

7 changes: 0 additions & 7 deletions Ideas.md

This file was deleted.

349 changes: 0 additions & 349 deletions Makefile

This file was deleted.

Loading

0 comments on commit 93b5fde

Please sign in to comment.