Skip to content

Commit 84018f2

Browse files
committed
Disable validation for guidata config during documentation build
1 parent 9e916e0 commit 84018f2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

doc/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@
77
import shutil
88
import sys
99

10+
import guidata.config as gcfg
11+
1012
sys.path.insert(0, os.path.abspath(".."))
1113

1214
import datalab
1315

1416
os.environ["DATALAB_DOC"] = "1"
1517

18+
# Turn off validation of guidata config
19+
# (documentation build is not the right place for validation)
20+
gcfg.set_validation_mode(gcfg.ValidationMode.DISABLED)
1621

1722
# -- Copy CHANGELOG.md to doc folder ------------------------
1823
#

0 commit comments

Comments
 (0)