Skip to content

Commit

Permalink
Stable?
Browse files Browse the repository at this point in the history
  • Loading branch information
daquinteroflex committed Nov 4, 2024
1 parent 5c6d25a commit cf3d720
Show file tree
Hide file tree
Showing 5 changed files with 1,217 additions and 1,176 deletions.
5 changes: 3 additions & 2 deletions autoflex/directives/autoflex.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Any, List
from docutils import nodes
from docutils.parsers.rst import directives
from sphinx.util.docutils import SphinxDirective
from sphinx.ext.autodoc.directive import AutodocDirective
from sphinx.util.logging import getLogger
from pydantic import BaseModel
Expand All @@ -13,7 +14,7 @@

logger = getLogger(__name__)

class AutoFlex(AutodocDirective):
class AutoFlex(SphinxDirective):
"""
Extension of the ``.. autodoc::`` directive in a directly compatible format.
Expand Down Expand Up @@ -51,7 +52,7 @@ class AutoFlex(AutodocDirective):
}

def run(self) -> List[nodes.Node]:
original_autodoc_result = super().run()
# original_autodoc_result = super().run()

import_path = self.arguments[0]
logger.debug(f"AutoFlex processing import path: {import_path}")
Expand Down
2 changes: 1 addition & 1 deletion packages/sphinx
Loading

0 comments on commit cf3d720

Please sign in to comment.