Skip to content

Commit

Permalink
Keyboard shortcuts (#47)
Browse files Browse the repository at this point in the history
Cleaned up language and added sketch constraints.
  • Loading branch information
AlexKempen authored Feb 12, 2024
1 parent 833aae5 commit 8699f06
Show file tree
Hide file tree
Showing 44 changed files with 261 additions and 1,170 deletions.
7 changes: 3 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM python:3.11.2-bullseye
# https://github.com/devcontainers/images/tree/main/src/python
FROM mcr.microsoft.com/devcontainers/python:3.11

# Add sudo so setup.sh runs correctly
# Also install developer convenience utilities
RUN apt-get update && apt-get install -y sudo man vim less

# Update pip
# RUN pip install --upgrade pip

# add build.sh alias to .bashrc
# for some reason source is not a valid command, so use . instead
ARG WORKSPACE
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"redhat.vscode-yaml",
"yzhang.markdown-all-in-one",
"ms-toolsai.jupyter",
"ms-python.black-formatter",
"ms-python.python"
]
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install and Build
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout branch
uses: actions/checkout@v4

- name: Setup Python
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install and Build
- name: Install and build
run: |
bash setup.sh
python3 -m build
Expand Down
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,5 @@ poetry.toml

# End of https://www.toptal.com/developers/gitignore/api/python,jupyternotebooks,visualstudiocode


# Don't commit the rendered media files. Still want to keep any source
# media files, though- only get rid of the "media" folder, which is where
# manim renders to.
# Don't commit the rendered media files
media
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"streetsidesoftware.code-spell-checker",
"redhat.vscode-yaml",
"yzhang.markdown-all-in-one",
"ms-python.black-formatter",
"ms-python.python",
"esbenp.prettier-vscode"
]
}
5 changes: 2 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,9 @@
],
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true,
"python.defaultInterpreterPath": "/usr/local/bin/python",
"python.defaultInterpreterPath": "/usr/bin/python",
"python.languageServer": "Pylance",
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"editor.defaultFormatter": "ms-python.black-formatter"
},
"editor.formatOnSaveMode": "file"
}
8 changes: 4 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"tasks": [
{
"label": "build",
"detail": "Build the website.",
"detail": "Build the website",
"type": "shell",
"command": "make html",
"command": "make clean && make html",
"group": {
"kind": "build",
"isDefault": true
Expand All @@ -23,7 +23,7 @@
},
{
"label": "open",
"detail": "Open the website.",
"detail": "Open the website",
"type": "shell",
"command": "python -m http.server",
"isBackground": true,
Expand All @@ -41,7 +41,7 @@
},
{
"label": "clean",
"detail": "Delete generated files.",
"detail": "Delete generated files",
"type": "shell",
"command": "make clean",
"isBackground": false,
Expand Down
201 changes: 0 additions & 201 deletions animations/example_layouts/linear_layout.ipynb

This file was deleted.

Loading

0 comments on commit 8699f06

Please sign in to comment.