Skip to content

Commit

Permalink
[#46] Fix wrong imports in the documentation (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephaneCapponi authored Jun 25, 2024
1 parent 8d1c82c commit 253b3d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog/46.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix wrong managers import in the documentation
2 changes: 1 addition & 1 deletion docs/intro/tutorials/3_manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ For that we will modify the :file:`build.py` command in the common space.

from socon.core.management.base import Config, ProjectCommand
from socon.core.registry.base import ProjectConfig
from socon.core.manager.base import managers
from socon.core.manager import managers


class BuildCommand(ProjectCommand):
Expand Down
2 changes: 1 addition & 1 deletion docs/intro/tutorials/4_plugins.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ The code for :file:`count.py`:

.. code-block:: python

from socon.core.manager.base import managers
from socon.core.manager import managers
from socon.core.management.base import BaseCommand, Config
from socon.core.registry import projects

Expand Down

0 comments on commit 253b3d3

Please sign in to comment.