Skip to content

Commit

Permalink
Mock pycURL for Documentation Builds
Browse files Browse the repository at this point in the history
This patch mocks pycURL during the Sphinx documentation builds. This
should not change the resulting documentation but is required for
building them on readthedocs.io since it does not support installing
C-libraries.
  • Loading branch information
lkiesow authored and shaardie committed Nov 1, 2019
1 parent 9681836 commit ce8bd80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import sys

sys.path.insert(0, os.path.abspath('../../'))
import sentinel5dl


# -- Project information -----------------------------------------------------
Expand Down Expand Up @@ -53,3 +52,5 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
#html_static_path = ['_static']

autodoc_mock_imports = ["pycurl"]

0 comments on commit ce8bd80

Please sign in to comment.