Unverified Commit c53041ae authored by Harry Mellor's avatar Harry Mellor Committed by GitHub
Browse files

[Doc] Add missing mock import to docs `conf.py` (#6834)

parent 52f07e3d
......@@ -10,6 +10,7 @@ build:
sphinx:
configuration: docs/source/conf.py
fail_on_warning: true
# If using Sphinx, optionally build your docs in additional formats such as PDF
formats:
......
......@@ -94,6 +94,7 @@ def setup(app):
# Mock out external dependencies here, otherwise the autodoc pages may be blank.
autodoc_mock_imports = [
"aiohttp",
"cpuinfo",
"torch",
"transformers",
......@@ -141,5 +142,6 @@ intersphinx_mapping = {
}
autodoc_preserve_defaults = True
autodoc_warningiserror = True
navigation_with_keys = False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment