A community-maintained Python framework for creating mathematical animations.
generalized the script for all users
kolibril137db6e6a7c092
diff --git a/docs/source/make_and_open_docs.py b/docs/source/make_and_open_docs.pydeleted file mode 100644index 124e4b704..000000000--- a/docs/source/make_and_open_docs.py+++ /dev/null@@ -1,9 +0,0 @@-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 filediff --git a/scripts/make_and_open_docs.py b/scripts/make_and_open_docs.pynew file mode 100644index 000000000..a328abb0e--- /dev/null+++ b/scripts/make_and_open_docs.py@@ -0,0 +1,11 @@+from pathlib import Path+import os+import webbrowser++path_makefile = Path(__file__).parents[1] / "docs"+os.system(f"cd {path_makefile} && make html")++website = path_makefile / "build" / "html" / "index.html"+webbrowser.open_new_tab(f"{website}")+#alternative to the upper line:+# webbrowser.get('firefox').open_new_tab(f"{website}")