# Project Information
project = 'kececifractals'
author = 'Mehmet Keçeci'
copyright = '2025, Mehmet Keçeci'

# Version Management
# from setuptools_scm import get_version
# version = get_version(root='..', relative_to=__file__)
#version = '0.1.9'  # Replace with your actual version number
#release = version

# The full version, including alpha/beta/rc tags
version = None
release = None

try:
    import kececifractals
    release = getattr(kececifractals, '__version__', release)
except ImportError as e:
    print(f"Warning: Could not import kececifractals: {e}")

# General Configuration
master_doc = 'index'
extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.viewcode',
    'sphinx.ext.napoleon'
]
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

# HTML Output Configuration
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
html_logo = '_static/logo.png'  # Optional: Add your project logo
html_favicon = '_static/favicon.ico'  # Optional: Add a favicon
