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

Address some doc bugs #202

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

Address some doc bugs #202

wants to merge 4 commits into from

Conversation

rocky
Copy link
Member

@rocky rocky commented Feb 2, 2024

This tracks changes in Mathics3/mathics-core#984

We need this in order to fix document display after loading in Mathics3 Modules.

@rocky rocky marked this pull request as draft February 2, 2024 21:46
@rocky rocky requested a review from mmatera February 2, 2024 21:46
@@ -65,58 +70,27 @@ def get_title_html(self):


class DjangoDocumentation(Documentation, DjangoDocElement):
Copy link
Contributor

Choose a reason for hiding this comment

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

In the current mathics-core master branch, the Documentation class just has attributes related to the structure of the documentation, but not the part of loading DocParts from modules, which is included in MathicsMainDocumentation. This class should subclass this other class.

Copy link
Member Author

@rocky rocky Feb 10, 2024

Choose a reason for hiding this comment

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

This has been changed in master now. MathicsMainDocumentation was intended for testing only. LaTeX and HTML documentation are subclasses of Documentation.

@mmatera
Copy link
Contributor

mmatera commented Feb 4, 2024

@rocky, I have implemented the minimal changes needed in #201. I will try to include the changes you made here in that other PR.

mmatera added a commit that referenced this pull request Feb 4, 2024
@rocky rocky force-pushed the address-some-doc-bugs branch 2 times, most recently from 9431b34 to 4bb4149 Compare February 9, 2024 12:16
This needs the doc-code-rebased-rebased branch of Mathics core.
@rocky rocky force-pushed the address-some-doc-bugs branch from 4bb4149 to 9182be1 Compare February 9, 2024 12:26
@rocky rocky marked this pull request as ready for review February 10, 2024 09:27
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.

2 participants