I can’t seem to force the docs to build. The command according to commit cc00b88 is ‘sphinx-autobuild . _build_html’, but python 3.4 sphinx installed from macports only installs the following:
/opt/local/bin/sphinx-apidoc
/opt/local/bin/sphinx-autogen
/opt/local/bin/sphinx-build
/opt/local/bin/sphinx-quickstart
It would be helpful to know what version of python and Sphinx we should expect to work?
——————————————————————
Trying ‘sphinx-autogen . _build_html’ gives:
——————————————————————
MBP:docs nt$ sphinx-autogen . _build_html
[autosummary] generating autosummary for: ., _build_html
Traceback (most recent call last):
File "/opt/local/bin/sphinx-autogen", line 9, in <module>
load_entry_point('Sphinx==1.3.5', 'console_scripts', 'sphinx-autogen')()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/sphinx/ext/autosummary/generate.py", line 72, in main
template_dir=options.templates)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/sphinx/ext/autosummary/generate.py", line 115, in generate_autosummary_docs
items = find_autosummary_in_files(sources)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/sphinx/ext/autosummary/generate.py", line 225, in find_autosummary_in_files
errors='ignore') as f:
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/codecs.py", line 891, in open
file = builtins.open(filename, mode, buffering)
IsADirectoryError: [Errno 21] Is a directory: '.'
——————————————————————
Trying ‘sphinx-build . _build_html' gives:
——————————————————————
MBP:docs nt$ sphinx-build . _build_html
Running Sphinx v1.3.5
making output directory...
Exception occurred:
File "conf.py", line 295, in <module>
from recommonmark.parser import CommonMarkParser
ImportError: No module named 'recommonmark'
The full traceback has been saved in /var/folders/tj/whjnklw94_x_79g2_4znlpxc0000gn/T/sphinx-err-v7p0ffsm.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <
https://github.com/sphinx-doc/sphinx/issues>. Thanks!
——————————————————————
Trying ‘make html’ gives:
——————————————————————
sphinx-build -b html -d _build/doctrees . _build/html
Running Sphinx v1.3.5
making output directory...
Exception occurred:
File "conf.py", line 295, in <module>
from recommonmark.parser import CommonMarkParser
ImportError: No module named 'recommonmark'
The full traceback has been saved in /var/folders/tj/whjnklw94_x_79g2_4znlpxc0000gn/T/sphinx-err-qb5dzl02.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <
https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Thank,
Neil