Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
C0DK committed May 20, 2021
1 parent 7b4cfde commit d7e4dc7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docs/getting_started.rst
Expand Up @@ -93,8 +93,6 @@ of the modules of your system.
This view contains all the modules that your project contains.
"""
return filters.include_only_modules(graph)
top_module_graph = filters.get_depth_based_filter(2)(module_graph)
return top_module_graph
You can verify that codoc can find your views:

Expand Down
1 change: 0 additions & 1 deletion src/codoc/entrypoints/cli.py
Expand Up @@ -55,7 +55,6 @@ def __init__(
if not silent:
logging.basicConfig(
format="%(message)s",
encoding="utf-8",
level=logging.INFO,
)
self._report_errors = report_errors
Expand Down
2 changes: 2 additions & 0 deletions src/codoc/service/filters/__init__.py
Expand Up @@ -6,6 +6,7 @@
"""
from .class_diagram import class_diagram_filter
from .children_based import get_children_of
from .children_based import get_children_of as content_of
from .depth_based import get_depth_based_filter
from .depth_based import get_depth_based_filter as depth_based
from .external_exclusion import exclude_external
Expand Down Expand Up @@ -38,4 +39,5 @@
"filter_by_regex",
"exclude_by_regex",
"depth_based",
"content_of",
]

0 comments on commit d7e4dc7

Please sign in to comment.