--- a +++ b/docs/source/conf.py @@ -0,0 +1,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 \ No newline at end of file