Skip to content

Commit

Permalink
Mock frameworks in pydocs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed Nov 29, 2023
1 parent ab60eb3 commit 51ff18b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdks/python/scripts/generate_pydoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ autodoc_inherit_docstrings = False
autodoc_member_order = 'bysource'
autodoc_mock_imports = ["tensorrt", "cuda", "torch",
"onnxruntime", "onnx", "tensorflow", "tensorflow_hub",
"tensorflow_transform", "tensorflow_metadata", "transformers"]
"tensorflow_transform", "tensorflow_metadata", "transformers", "tensorflow_text",
"sentence_transformers",
]
# Allow a special section for documenting DataFrame API
napoleon_custom_sections = ['Differences from pandas']
Expand Down

0 comments on commit 51ff18b

Please sign in to comment.