Skip to content

Commit ee03c3c

Browse files
committed
doc: restore sphinxbootstrap4theme in doc requirements
1 parent 94d14b2 commit ee03c3c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@
1717
import os
1818
import importlib
1919
from pathlib import Path
20-
import sphinxbootstrap4theme
2120

2221

2322
# Check if we are inside readthedocs, the conf is quite different there
2423
is_inside_rtd = os.getenv("READTHEDOCS", "") == "True"
2524
rtd_version = os.getenv("READTHEDOCS_VERSION", "")
2625

26+
if not is_inside_rtd:
27+
import sphinxbootstrap4theme
2728

2829
# Utility functions
2930
# NOTE: these could be improved, esp by importing igraph, but that

doc/source/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ pip
22
wheel
33
requests>=2.28.1
44

5+
sphinxbootstrap4theme
56
sphinx-gallery
67
sphinx-rtd-theme
78
sphinxcontrib-jquery

0 commit comments

Comments
 (0)