File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1111 - uses : actions/checkout@v4
1212 with :
1313 persist-credentials : false
14- - name : Install package
15- run : pip install .
1614 - name : Build HTML
1715 uses : ammaraskar/sphinx-action@master
1816 - name : Upload artifacts
Original file line number Diff line number Diff line change 22from pathlib import Path
33
44sys .path .insert (0 , str (Path (__file__ ).resolve ().parents [2 ]))
5+ sys .path .insert (0 , str (Path (__file__ ).resolve ().parents [2 ] / "src" ))
56
67# Configuration file for the Sphinx documentation builder.
78#
3031templates_path = ["_templates" ]
3132exclude_patterns = []
3233
34+ autodoc_mock_imports = [
35+ "torch" ,
36+ "torchvision" ,
37+ "cv2" ,
38+ "numpy" ,
39+ "scipy" ,
40+ "matplotlib" ,
41+ "pandas" ,
42+ "skimage" ,
43+ ]
44+
3345
3446# -- Options for HTML output -------------------------------------------------
3547# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
You can’t perform that action at this time.
0 commit comments