Skip to content

Commit

Permalink
explicit imports in conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Poignonec committed Jun 13, 2024
1 parent 9249f18 commit e22b783
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acados_solver_ros2/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
# Autodoc configuration (see https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports)
sys.path.insert(0, os.path.abspath('../../acados_solver_plugins/acados_solver_plugins'))
sys.path.insert(0, os.path.abspath('../../acados_solver_plugins'))
from .solver_plugin_generator import SolverPluginGenerator # noqa
from .solver_plugin_loader import SolverPluginLoader # noqa

autodoc_mock_imports = [
"acados_template",
"jinja2",
Expand Down

0 comments on commit e22b783

Please sign in to comment.