demo_system_algorithm/docs/source/conf.py

41 lines
1.4 KiB
Python

# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'demo_system_algorithm'
copyright = '2025, liangliangou'
author = 'liangliangou'
release = '0.1'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = []
templates_path = ['_templates']
exclude_patterns = []
import os
import sys
sys.path.append('../../test_src')
# sys.path.insert(0, os.path.abspath('../../test/demo_deeplabv3.py'))
extensions = [
'sphinx.ext.autodoc', # 自动生成文档
'sphinx.ext.viewcode', # 添加源代码链接
'sphinx.ext.napoleon', # 支持 NumPy 和 Google 风格的 docstring
'myst_parser',
]
# html_theme = 'sphinx_rtd_theme'
import demo_deeplabv3
import demo_resnet18
import demo_yolov5s_seg
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
# html_theme = 'alabaster'
# html_static_path = ['_static']
html_theme = 'classic'