import os import sys # Add parent dir to path to allow importing conf.py sys.path.insert(0, os.path.abspath('..')) from conf import * # Language settings language = 'zh_CN' html_search_language = 'zh' # Static files # Point to the root _static directory html_static_path = ['../_static'] # Add custom JS for language switcher html_js_files = [ 'js/switcher.js', ]