ImperialCollegeLondon / R2T2

Research References Tracking Tool
MIT License
14 stars 155 forks source link

Connect and fix readthedocs #43

Closed valentinsulzer closed 4 years ago

valentinsulzer commented 4 years ago

Build currently failing: Read the Docs

Build failed
git clone --no-single-branch --depth 50 https://github.com/ImperialCollegeLondon/R2T2 .
git checkout --force origin/develop
git clean -d -f -f
python3.7 -mvirtualenv /home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest
/home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/bin/python -m pip install --upgrade --no-cache-dir pip
/home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/bin/python -m pip install --upgrade --no-cache-dir Pygments==2.3.1 setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<1.1
/home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/bin/python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
cat docs/conf.py
python /home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/bin/sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html
Running Sphinx v1.8.5
loading translations [en]... done
making output directory...
building [mo]: targets for 0 po files that are out of date
building [readthedocs]: targets for 8 source files that are out of date
updating environment: 8 added, 0 changed, 0 removed
reading sources... [ 12%] dev-guide/installation
reading sources... [ 25%] getting-started/add-reference
reading sources... [ 37%] getting-started/installation
reading sources... [ 50%] getting-started/runtime-tracker
reading sources... [ 62%] getting-started/static-tracker
reading sources... [ 75%] index
reading sources... [ 87%] user-guide/output-format
reading sources... [100%] user-guide/references

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 304, in build_main
    app.build(args.force_all, filenames)
  File "/home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 341, in build
    self.builder.build_update()
  File "/home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 347, in build_update
    len(to_build))
  File "/home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 360, in build
    updated_docnames = set(self.read())
  File "/home/docs/checkouts/readthedocs.org/user_builds/r2t2/envs/latest/lib/python3.7/site-packages/sphinx/builders/__init__.py", line 472, in read
    self.env.doc2path(self.config.master_doc))
sphinx.errors.SphinxError: master file /home/docs/checkouts/readthedocs.org/user_builds/r2t2/checkouts/latest/docs/contents.rst not found

Sphinx error:
master file /home/docs/checkouts/readthedocs.org/user_builds/r2t2/checkouts/latest/docs/contents.rst not found
Command time: 0s Return: 2