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>
38 lines
658 B
Python
38 lines
658 B
Python
# Configuration file for the Sphinx documentation builder.
|
|
|
|
import os
|
|
import sys
|
|
|
|
# Define common settings here
|
|
project = 'LlamaFactory'
|
|
copyright = '2024, LlamaFactory Team'
|
|
author = 'LlamaFactory Team'
|
|
|
|
extensions = [
|
|
'sphinx.ext.autodoc',
|
|
'sphinx.ext.viewcode',
|
|
'sphinx.ext.napoleon',
|
|
'myst_parser',
|
|
]
|
|
|
|
templates_path = ['_templates']
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
|
|
html_theme = 'sphinx_rtd_theme'
|
|
|
|
html_static_path = ['_static']
|
|
|
|
html_js_files = [
|
|
'js/switcher.js',
|
|
]
|
|
|
|
html_css_files = [
|
|
'css/lang-switcher.css',
|
|
]
|
|
|
|
myst_enable_extensions = [
|
|
"colon_fence",
|
|
"deflist",
|
|
]
|
|
myst_heading_anchors = 3
|