|
| 1 | +# Configuration file for the Sphinx documentation builder. |
| 2 | +# |
| 3 | +# For the full list of built-in configuration values, see the documentation: |
| 4 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html |
| 5 | + |
| 6 | +# -- Project information ----------------------------------------------------- |
| 7 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 8 | + |
| 9 | +project = 'BreakYourLLM' |
| 10 | +copyright = '2024, ModelPulse' |
| 11 | +author = 'ModelPulse' |
| 12 | + |
| 13 | +# -- General configuration --------------------------------------------------- |
| 14 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
| 15 | + |
| 16 | +extensions = [] |
| 17 | + |
| 18 | +templates_path = ['_templates'] |
| 19 | +exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 20 | +extensions = [ |
| 21 | + 'sphinx.ext.autodoc', # Optional but not required with autoapi |
| 22 | + 'sphinx.ext.napoleon', # For Google/NumPy-style docstrings |
| 23 | + 'myst_parser', # For Markdown support |
| 24 | + 'autoapi.extension', # Use autoapi |
| 25 | +] |
| 26 | + |
| 27 | + |
| 28 | +# -- Options for HTML output ------------------------------------------------- |
| 29 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 30 | + |
| 31 | +html_theme = 'alabaster' |
| 32 | +html_static_path = ['_static'] |
| 33 | + |
| 34 | +# myst_enable_extensions = [ |
| 35 | +# "colon_fence", # Use ::: for block directives |
| 36 | +# "linkify", # Automatically detect links |
| 37 | +# "substitution", # Support text substitutions |
| 38 | +# ] |
| 39 | + |
| 40 | +master_doc = 'index' # If still 'index.md', no changes needed |
| 41 | + |
| 42 | +# Point to your Python source code |
| 43 | +autoapi_dirs = ['../../sources'] |
| 44 | + |
| 45 | +# Set the output format to MyST Markdown |
| 46 | +autoapi_keep_files = True # Keep generated Markdown files |
| 47 | + |
| 48 | +myst_enable_extensions = ['amsmath', 'colon_fence'] |
0 commit comments