Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
c53041ae
Unverified
Commit
c53041ae
authored
Jul 27, 2024
by
Harry Mellor
Committed by
GitHub
Jul 27, 2024
Browse files
[Doc] Add missing mock import to docs `conf.py` (#6834)
parent
52f07e3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
.readthedocs.yaml
.readthedocs.yaml
+1
-0
docs/source/conf.py
docs/source/conf.py
+2
-0
No files found.
.readthedocs.yaml
View file @
c53041ae
...
@@ -10,6 +10,7 @@ build:
...
@@ -10,6 +10,7 @@ build:
sphinx
:
sphinx
:
configuration
:
docs/source/conf.py
configuration
:
docs/source/conf.py
fail_on_warning
:
true
# If using Sphinx, optionally build your docs in additional formats such as PDF
# If using Sphinx, optionally build your docs in additional formats such as PDF
formats
:
formats
:
...
...
docs/source/conf.py
View file @
c53041ae
...
@@ -94,6 +94,7 @@ def setup(app):
...
@@ -94,6 +94,7 @@ def setup(app):
# Mock out external dependencies here, otherwise the autodoc pages may be blank.
# Mock out external dependencies here, otherwise the autodoc pages may be blank.
autodoc_mock_imports
=
[
autodoc_mock_imports
=
[
"aiohttp"
,
"cpuinfo"
,
"cpuinfo"
,
"torch"
,
"torch"
,
"transformers"
,
"transformers"
,
...
@@ -141,5 +142,6 @@ intersphinx_mapping = {
...
@@ -141,5 +142,6 @@ intersphinx_mapping = {
}
}
autodoc_preserve_defaults
=
True
autodoc_preserve_defaults
=
True
autodoc_warningiserror
=
True
navigation_with_keys
=
False
navigation_with_keys
=
False
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment