make conf.py absolute

This commit is contained in:
notify 2023-03-26 17:46:54 +08:00
parent a1ae83c562
commit 73de569110
1 changed files with 4 additions and 5 deletions

View File

@ -10,9 +10,8 @@
# add these directories to sys.path here. If the directory is relative to the # add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
# #
# import os import os
# import sys fk_repo_path = os.path.abspath('.')
# sys.path.insert(0, os.path.abspath('.'))
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
@ -42,8 +41,8 @@ extensions = [
] ]
lua_source_path = [ lua_source_path = [
"../lua", fk_repo_path + "/../lua",
"../packages", fk_repo_path + "/../packages",
] ]
lua_source_encoding = 'utf8' lua_source_encoding = 'utf8'