diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index daaa88b..b3bdb52 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -18,6 +18,7 @@ "redhat.vscode-yaml", "yzhang.markdown-all-in-one", "ms-toolsai.jupyter", + "ms-python.black-formatter", "ms-python.python" ] } diff --git a/.gitignore b/.gitignore index c911cf2..09872dc 100644 --- a/.gitignore +++ b/.gitignore @@ -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 \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..581f825 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "streetsidesoftware.code-spell-checker", + "redhat.vscode-yaml", + "yzhang.markdown-all-in-one", + "ms-python.black-formatter", + "ms-python.python" + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index c02b35a..54a003b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -58,7 +58,7 @@ ], "python.analysis.typeCheckingMode": "basic", "python.analysis.autoImportCompletions": true, - "python.defaultInterpreterPath": "/usr/local/bin/python", + "python.defaultInterpreterPath": "/usr/bin/python", "python.languageServer": "Pylance", "[python]": { "editor.defaultFormatter": "ms-python.black-formatter" diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index af31b8b..ead378a --- a/build.sh +++ b/build.sh @@ -1,2 +1,4 @@ +#!/bin/bash # A trivial wrapper for build.py +source .venv/bin/activate exec "python" "-m" "build" "$@" diff --git a/extensions/animation.py b/extensions/animation.py index 6622dde..3fd2254 100644 --- a/extensions/animation.py +++ b/extensions/animation.py @@ -30,7 +30,7 @@ def size(argument: str): class Animation(sphinx_docutils.SphinxDirective): """Animation directive. - Wrapper for the html