mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 06:14:57 +08:00
[Doc] Add missing mock import to docs conf.py (#6834)
This commit is contained in:
parent
52f07e3dec
commit
c53041ae3b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user