Closed iparask closed 4 years ago
These are the messages I'm getting now when I compile the documentation:
(rct) iparaskmac:docs iparask$ sphinx-build -b html source build
Running Sphinx v2.4.0
WARNING: Support for evaluating Python 2 syntax is deprecated and will be removed in Sphinx 4.0. Convert /Users/iparask/Git/RADICAL/radical.saga/docs/source/conf.py to Python 3 syntax.
['/Users/iparask/Git/RADICAL/radical.saga', '/Users/iparask/anaconda3/envs/rct/bin', '/Users/iparask/anaconda3/envs/rct/lib/python38.zip', '/Users/iparask/anaconda3/envs/rct/lib/python3.8', '/Users/iparask/anaconda3/envs/rct/lib/python3.8/lib-dynload', '/Users/iparask/anaconda3/envs/rct/lib/python3.8/site-packages']
/Users/iparask/anaconda3/envs/rct/lib/python3.8/site-packages/sphinx/events.py:99: RemovedInSphinx30Warning: autodoc_default_flags is now deprecated. Please use autodoc_default_options instead.
results.append(callback(self.app, *args))
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: 0 added, 5 changed, 0 removed
reading sources... [100%] usage/config
/Users/iparask/Git/RADICAL/radical.saga/docs/source/developers/index.rst:7: WARNING: toctree contains reference to nonexisting document 'developers/.. timeout_gc'
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/advert/examples.rst:14: WARNING: Include file '/Users/iparask/Git/RADICAL/radical.saga/examples/advert/advert_1.py' not found or reading it failed
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/advert/examples.rst:12: WARNING: download file not readable: /Users/iparask/Git/RADICAL/radical.saga/examples/advert/advert_1.py
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/filesystem/examples.rst:14: WARNING: Include file '/Users/iparask/Git/RADICAL/radical.saga/examples/filesystem/localfile.py' not found or reading it failed
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/filesystem/examples.rst:25: WARNING: Include file '/Users/iparask/Git/RADICAL/radical.saga/examples/filesystem/file_io.py' not found or reading it failed
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/filesystem/examples.rst:12: WARNING: download file not readable: /Users/iparask/Git/RADICAL/radical.saga/examples/filesystem/localfile.py
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/filesystem/examples.rst:23: WARNING: download file not readable: /Users/iparask/Git/RADICAL/radical.saga/examples/filesystem/file_io.py
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/replica/examples.rst:14: WARNING: Include file '/Users/iparask/Git/RADICAL/radical.saga/examples/replica/replica_1.py' not found or reading it failed
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/replica/examples.rst:12: WARNING: download file not readable: /Users/iparask/Git/RADICAL/radical.saga/examples/replica/replica_1.py
/Users/iparask/Git/RADICAL/radical.saga/docs/source/usage/config.rst:51: WARNING: Title underline too short.
Module radical.saga.utils.config
*************************
WARNING: autodoc: failed to import module 'config' from module 'radical.saga.utils'; the following exception was raised:
No module named 'radical.saga.utils.config'
looking for now-outdated files... none found
pickling environment... done
checking consistency... /Users/iparask/Git/RADICAL/radical.saga/docs/source/library/advert/examples.rst: WARNING: document isn't included in any toctree
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/advert/index.rst: WARNING: document isn't included in any toctree
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/filesystem/examples.rst: WARNING: document isn't included in any toctree
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/job/examples.rst: WARNING: document isn't included in any toctree
/Users/iparask/Git/RADICAL/radical.saga/docs/source/library/replica/examples.rst: WARNING: document isn't included in any toctree
/Users/iparask/Git/RADICAL/radical.saga/docs/source/tutorial/part5_osg.rst: WARNING: document isn't included in any toctree
/Users/iparask/Git/RADICAL/radical.saga/docs/source/usage/examples.rst: WARNING: document isn't included in any toctree
done
preparing documents... done
/Users/iparask/Git/RADICAL/radical.saga/docs/source/_themes/armstrong/layout.html:16: RemovedInSphinx30Warning: To modify script_files in the theme is deprecated. Please insert a <script> tag directly in your theme instead.
{% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
writing output... [100%] usage/index
/Users/iparask/Git/RADICAL/radical.saga/docs/source/usage/config.rst:17: WARNING: undefined label: conf_options (if the link has no caption the label must precede a section header)
/Users/iparask/Git/RADICAL/radical.saga/docs/source/usage/config.rst:29: WARNING: undefined label: conf_options (if the link has no caption the label must precede a section header)
generating indices... genindex py-modindexdone
highlighting module code... [100%] radical.utils.dict_mixin
writing additional pages... searchdone
copying images... [100%] images/google.png
copying downloadable files... [100%] ../../examples/tutorial/mandelbrot/saga_mandelbrot_osg.py
copying static files... ... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 21 warnings.
The HTML pages are in build.
(rct) iparaskmac:docs iparask$
Closing as the PR #768 is merged
I'm trying to compile the documentation of radical.saga and I'm getting several errors/ warnings. These need to be fixed before readthedocs is able to compile them correctly.
Here is the current snapshot:
I've pushed a branch named
fix/docs
that will include all the commits towards working documentation. I'll open a PR when they are ready, but I would like to have this issue to keep track of the progress.