mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-02-27 00:05:58 +08:00
Co-authored-by: frozenleaves <frozen@Mac.local> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: jiaqiw09 <jiaqiw960714@gmail.com> Co-authored-by: jiaqiw09 <60021713+jiaqiw09@users.noreply.github.com> Co-authored-by: Yaowei Zheng <hiyouga@buaa.edu.cn>
21 lines
373 B
Python
21 lines
373 B
Python
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',
|
|
]
|