[46c9de]: / docs / source / conf.py

Download this file

38 lines (31 with data), 871 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Configuration file for the Sphinx documentation builder
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
# Project information
project = 'Medical Trial Classification'
copyright = '2025, Research Grid Ltd'
author = 'Ferhat Sarikaya'
release = '1.0.0'
# General configuration
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx.ext.viewcode',
'sphinx.ext.githubpages',
'sphinx.ext.intersphinx',
'sphinx_rtd_theme',
]
templates_path = ['_templates']
exclude_patterns = []
# HTML output options
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
# AutoDoc settings
autodoc_member_order = 'bysource'
autodoc_typehints = 'description'
# Napoleon settings
napoleon_google_docstring = True
napoleon_numpy_docstring = True
napoleon_include_init_with_doc = True
napoleon_include_private_with_doc = True