Browse Source

trick sphinx into loading the correct module

justheuristic 5 năm trước cách đây
mục cha
commit
ee9a4a0212
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      docs/conf.py

+ 1 - 0
docs/conf.py

@@ -22,6 +22,7 @@ from recommonmark.parser import CommonMarkParser
 
 
 # -- Project information -----------------------------------------------------
+sys.path.insert(0, '..')
 src_path = '../tesseract'
 project = 'tesseract'
 copyright = '2020, Learning@home & contributors'