We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4336cbd commit 4237e00Copy full SHA for 4237e00
scripts/make_and_open_docs.py
@@ -6,7 +6,7 @@
6
path_makefile = Path(__file__).parents[1] / "docs"
7
os.system(f"cd {path_makefile} && make html")
8
9
-website = "file://" + str(path_makefile / "build" / "html" / "index.html")
+website = (path_makefile / "build" / "html" / "index.html").absolute().as_uri()
10
try: # Allows you to pass a custom browser if you want.
11
webbrowser.get(sys.argv[1]).open_new_tab(f"{website}")
12
except IndexError:
0 commit comments