diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 0000000..6a04bd8 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,14 @@ +version: 2 + +sphinx: + builder: html + configuration: doc/source/conf.py + +python: + version: 3.7 + install: + - method: pip + path: . + extra_requirements: + - docs + system_packages: true diff --git a/doc/source/conf.py b/doc/source/conf.py index c8a8ac8..736dde1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -27,6 +27,9 @@ # The full version, including alpha/beta/rc tags release = pdfflow.__version__ +# The full version, including alpha/beta/rc tags +autodoc_mock_imports = ['tensorflow'] + # -- General configuration --------------------------------------------------- #