Skip to content

Commit

Permalink
documentation.doc_chapter -> mathics.doc.gather.doc_chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatera committed Aug 1, 2024
1 parent 59d0675 commit 765a45a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mathics_django/web/controllers/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from django.http import Http404, HttpResponse
from django.shortcuts import render
from mathics.doc.common_doc import MATHICS3_MODULES_TITLE
from mathics.doc.gather import doc_chapter as gather_doc_chapter
from mathics.doc.utils import slugify
from mathics.eval.pymathics import pymathics_builtins_by_module, pymathics_modules

Expand Down Expand Up @@ -44,7 +45,7 @@ def check_for_new_load_modules():
# The "Mathics3 modules" part already exists; add the new chapters.
new_modules = pymathics_modules - seen_pymathics_modules
for new_module in new_modules:
chapter = documentation.doc_chapter(
chapter = gather_doc_chapter(
new_module, mathics3_module_part, pymathics_builtins_by_module
)
mathics3_module_part.chapters.append(chapter)
Expand Down

0 comments on commit 765a45a

Please sign in to comment.