Open mvesper opened 7 years ago
If I remember well @hachreak had similar problem elsewhere. Maybe he has a solution.
In my case I resolved calling pip install -e . because apparently the installation of samplepkg
was overwriting something necessary to sphinx.
Thanks @hachreak !
When running the command:
sphinx-build -qnNW -b doctest docs docs/_build/doctest
fromrun-tests.sh
,sphinx-build
fails as can be seen here: https://travis-ci.org/inveniosoftware/invenio-circulation/jobs/170784723Adding
sys.path.insert(0, os.path.abspath('..'))
indocs/conf.py
, as in: https://github.com/mvesper/invenio-circulation/blob/fcf1b7a812eb44204163bf85f5bccf6159f55e00/docs/conf.py#L34-L35 , fixes the issue for now.This line should eventually be removed.