I have this brand new Sphinx Project, and i installed the auto dev server onto it with pip. When i ran sphinx-autobuild docs docs/build/html (I set it to this path cus my folder is called build, not _build), i got this error:
(venv) jonathanfong@EdFongMBPro-2 DocStrings % sphinx-autobuild docs docs/build/html
Traceback (most recent call last):
File "/Users/jonathanfong/DocStrings/venv/bin/sphinx-autobuild", line 8, in
sys.exit(main())
File "/Users/jonathanfong/DocStrings/venv/lib/python3.9/site-packages/sphinx_autobuild/main.py", line 54, in main
watcher = RebuildServer(watch_dirs, ignore_handler, change_callback=builder)
File "/Users/jonathanfong/DocStrings/venv/lib/python3.9/site-packages/sphinx_autobuild/server.py", line 27, in init
self.paths = [os.path.realpath(path, strict=True) for path in paths]
File "/Users/jonathanfong/DocStrings/venv/lib/python3.9/site-packages/sphinx_autobuild/server.py", line 27, in
self.paths = [os.path.realpath(path, strict=True) for path in paths]
TypeError: realpath() got an unexpected keyword argument 'strict'
Inside my project theres a venv folder, but thats because i use a python virtual enviroment. Is this supposed to happen?
I have this brand new Sphinx Project, and i installed the auto dev server onto it with pip. When i ran sphinx-autobuild docs docs/build/html (I set it to this path cus my folder is called build, not _build), i got this error:
(venv) jonathanfong@EdFongMBPro-2 DocStrings % sphinx-autobuild docs docs/build/html Traceback (most recent call last): File "/Users/jonathanfong/DocStrings/venv/bin/sphinx-autobuild", line 8, in
sys.exit(main())
File "/Users/jonathanfong/DocStrings/venv/lib/python3.9/site-packages/sphinx_autobuild/main.py", line 54, in main
watcher = RebuildServer(watch_dirs, ignore_handler, change_callback=builder)
File "/Users/jonathanfong/DocStrings/venv/lib/python3.9/site-packages/sphinx_autobuild/server.py", line 27, in init
self.paths = [os.path.realpath(path, strict=True) for path in paths]
File "/Users/jonathanfong/DocStrings/venv/lib/python3.9/site-packages/sphinx_autobuild/server.py", line 27, in
self.paths = [os.path.realpath(path, strict=True) for path in paths]
TypeError: realpath() got an unexpected keyword argument 'strict'
Inside my project theres a venv folder, but thats because i use a python virtual enviroment. Is this supposed to happen?