Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

# added a convenient py-script to quickly build and load the docs

kolibril13bd0fcd09419b
diff --git a/docs/source/make_and_open_docs.py b/docs/source/make_and_open_docs.py
new file mode 100644
index 000000000..124e4b704
--- /dev/null
+++ b/docs/source/make_and_open_docs.py
@@ -0,0 +1,9 @@
+from pathlib import Path
+import os
+import webbrowser
+
+path_makefile= Path().home() / "projects/manim-community/docs"
+os.system(f"cd {path_makefile} && make html")
+
+website = Path().home() / "projects/manim-community/docs/build/html/index.html"
+webbrowser.get('firefox').open_new_tab(f"{website}")
\ No newline at end of file