mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-02-27 00:05:58 +08:00
23 lines
389 B
Python
23 lines
389 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 * # noqa: F403
|
|
|
|
|
|
# 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",
|
|
]
|