Skip to content

Commit

Permalink
feat: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgepiloto committed Jan 18, 2024
1 parent e62b09c commit e68622d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions autoapi/mappers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,15 +350,6 @@ def output_child_rst(self, obj, obj_parent, detail_dir, source_suffix):
if not obj_child_rst:
return

# Create the proper path according to the type of object and the desired
# page level. If page level stops at exception, class, or function, then
# the following path must be created:
# created:
# detail_dir / obj_name.rst (example/Foo.rst)
#If own pages stops at others below this category, then the following
# should be created for a class and its children:
# detail_dir / obj_parent_name / index.rst (example/Foo/index.rst)
# detail_dir / obj_parent_name / obj_name.rst (example/Foo/foo.rst)
function_page_level = _OWN_PAGE_LEVELS.index("function")
is_level_beyond_function = function_page_level < desired_page_level
if obj.type in ["exception", "class"]:
Expand Down

0 comments on commit e68622d

Please sign in to comment.