Files
LLaMA-Factory/docs/zh/conf.py
2026-02-26 21:13:56 +08:00

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",
]