Skip to content

Commit

Permalink
init for DjangoDocGuideSection
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatera committed Mar 29, 2024
1 parent 37362b7 commit 93c1bbe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mathics_django/doc/django_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,17 @@ class DjangoDocGuideSection(DjangoDocSection, DjangoDocElement):
are examples of Guide Sections, and each contains a number of Sections.
like NamedColors or Orthogonal Polynomials.
"""
def __init__(
self,
chapter: DocChapter,
title: str,
text: str,
submodule,
installed: bool = True,
):
super().__init__(chapter, title, text, None, installed, False)
self.section = submodule


def get_uri(self) -> str:
"""Return the URI of this section."""
Expand Down

0 comments on commit 93c1bbe

Please sign in to comment.