Can't build html
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 670
- Forks
- 219
- Avg merge
- 8d 2h
- Merged PRs (30d)
- 1
Description
Can't make the doc html
[autosummary] generating autosummary for: cmake_example.rst, index.rst
Failed to import 'cmake_example': no module named cmake_example
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 0 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] cmake_example
/home/tumh/cmake_example/docs/cmake_example.rst:1: WARNING: autodoc: failed to import module u'cmake_example'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 386, in import_object
__import__(self.modname)
ImportError: No module named cmake_example
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] index
/home/tumh/cmake_example/docs/index.rst:6: WARNING: toctree contains reference to document u'cmake_example' that doesn't have a title: no link will be generated
generating indices... genindex
writing additional pages... search
copying static files... WARNING: html_static_path entry u'/home/tumh/cmake_example/docs/_static' does not exist
done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 3 warnings.
Any idea?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with docs/cmake_example.rst and docs/index.rst, then reproduce the Sphinx HTML build using the command that produced the log. Check why autodoc cannot import cmake_example and why the referenced docs/_static path is missing. Done means the documentation builds without the reported import, toctree, and static-path warnings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, python
- Domain
- build-system, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100