diff --git a/docs/source/conf.py b/docs/source/conf.py index a74a714db7d5dac99f385266eb523b7ed5555a30..2d75bf85feb81b24b2b5cffc40e4881eb9dfa56c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -4,10 +4,10 @@ copyright = '2023, GÉANT Vereniging' author = 'GÉANT Orchestration and Automation Team' # -- General configuration --------------------------------------------------- -extensions = ['sphinx_rtd_theme', 'myst_parser', 'autodoc2'] +extensions = ['sphinx_rtd_theme', 'myst_parser', 'sphinx.ext.autodoc'] templates_path = ['templates'] -exclude_patterns = ['build', 'Thumbs.db', '.DS_Store', 'venv', 'vale'] +exclude_patterns = ['build', 'Thumbs.db', '.DS_Store', 'venv', 'vale', '__init__.py'] source_suffix = { '.md': 'markdown' } @@ -16,13 +16,6 @@ source_suffix = { myst_enable_extensions = ['attrs_block', 'deflist', 'replacements', 'smartquotes', 'strikethrough', 'fieldlist'] suppress_warnings = ['myst.strikethrough'] -# -- Options for autodoc ----------------------------------------------------- -autodoc2_packages = [ - "../../gso" -] -autodoc2_render_plugin = "myst" -autodoc2_hidden_objects = ["undoc", "inherited"] -autodoc2_index_template = None # -- Options for HTML output ------------------------------------------------- html_theme = 'sphinx_rtd_theme'