1- project = 'PICA (Python Instrument Control and Automation)'
2- copyright = '2026, Prathamesh Deshmukh'
1+ # docs/conf.py
2+
3+ # -- Project information -----------------------------------------------------
4+ project = 'PICA'
5+ copyright = '2025, Prathamesh Deshmukh'
36author = 'Prathamesh Deshmukh'
7+ release = '1.0.0'
48
5- # Activate the MyST Parser to enable Markdown support alongside standard extensions
9+ # -- General configuration ---------------------------------------------------
610extensions = [
7- 'myst_parser' ,
8- 'sphinx.ext.autodoc' ,
11+ 'myst_parser' , # For Markdown support
12+ 'sphinx_rtd_theme' , # For the ReadTheDocs theme
13+ ]
14+
15+ # Configure MyST-Parser to allow HTML images (the <img src="..."> tags in your manual)
16+ myst_enable_extensions = [
17+ "html_image" ,
918]
1019
11- # Instruct Sphinx to read both Markdown and reStructuredText formats
20+ # Map file extensions to the parser
1221source_suffix = {
1322 '.rst' : 'restructuredtext' ,
1423 '.md' : 'markdown' ,
1524}
1625
17- # Utilize the standard Read the Docs visual theme
26+ templates_path = ['_templates' ]
27+ exclude_patterns = ['_build' , 'Thumbs.db' , '.DS_Store' ]
28+
29+ # -- Options for HTML output -------------------------------------------------
1830html_theme = 'sphinx_rtd_theme'
1931
20- myst_enable_extensions = [
21- "html_image" , # Allows raw HTML <img> tags to render
22- "html_admonition" , # Allows raw HTML blocks
23- "colon_fence" , # Enables ::: fenced directives
24- ]
32+ # Add any paths that contain custom static files (such as style sheets)
33+ html_static_path = ['_static' ]
34+
35+ # This ensures Sphinx doesn't complain about the pica folder
36+ # we manually move in the workflow
37+ suppress_warnings = ['image.not_readable' ]
0 commit comments