Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes required for deeper pymathics modules #1031

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mmatera
Copy link
Contributor

@mmatera mmatera commented Apr 7, 2024

This PR seems to fix the issue with Pymathics Natlang documentation (Mathics3/pymathics-natlang#19 (comment))

@@ -138,7 +139,7 @@ def gather_sections(chapter, module, builtins_by_module, section_class=None) ->
# converting the entries into `set`s.
#
visited = set()
for symbol_instance in builtins_by_module[module.__name__]:
for symbol_instance in builtins_by_module.get(module.__name__,[]):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, the main change in this file is this line. To move the other functions is just to improve the organization of the code.

@mmatera
Copy link
Contributor Author

mmatera commented Apr 7, 2024

This is how the documentation looks with the current changes:

imagen

imagen

Of course, the docstrings for the guides must be completed.

@mmatera mmatera marked this pull request as ready for review April 7, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant