Skip to content

Commit

Permalink
Make sure to expose the active private variable
Browse files Browse the repository at this point in the history
Fixes #13
  • Loading branch information
oprypin committed Jan 29, 2023
1 parent f9f8c5f commit 9e3ac74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mkdocs_section_index/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def __init__(
Section.__init__(self, title=title, children=children)
self.is_section = self.is_page = True

active = Page.active

def __repr__(self):
return "Section" + Page.__repr__(self)

Expand Down

0 comments on commit 9e3ac74

Please sign in to comment.