Skip to content

Commit 5349b4a

Browse files
Fix sphinx
1 parent 451a187 commit 5349b4a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/build_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
sudo apt install libegl1 libgirepository1.0-dev libcairo2-dev
26-
python3 -m venv .venv/PINCE
27-
. .venv/PINCE/bin/activate
26+
python3 -m venv .venv
27+
. .venv/bin/activate
2828
pip3 install --upgrade pip
2929
pip3 install -r requirements.txt
3030

docs/source/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
templates_path = ["_templates"]
3131
exclude_patterns = []
3232

33+
# Mock imports for compiled C extensions and modules that aren't needed for documentation
34+
autodoc_mock_imports = [
35+
"libpince.libscanmem",
36+
"libpince.libscanmem.scanmem",
37+
"libpince.libptrscan",
38+
]
39+
3340

3441
# -- Options for HTML output -------------------------------------------------
3542
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

0 commit comments

Comments
 (0)