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
Add quadratic forms code to the reference manual #9383
Comments
Attachment: trac_9383.patch.gz quadratic_forms reference manual docbuild |
comment:1
This is half of the quadratic_forms documentation, I'll post the second half in an updated patch tomorrow. |
Use instead of trac_9383.patch |
comment:2
Attachment: trac_9383_v2.patch.gz This patch should complete the reference documentation for quadratic forms. It's still returning a warning that the file is not contained in a toctree. Ideas? |
Attachment: trac_9383_v3.patch.gz Use in place of all previous patches |
comment:3
It looks to me like you forgot to do "hg add" on your new file doc/en/reference/quadratic_forms.rst. Hence when I apply the patch to a new clone and build, I get an error David |
comment:4
BTW: the reference manual building code can behave very oddly when files have been deleted -- because of the way that the Sphinx parser caches its environment, it's next to impossible to squash the "document not included in any toctree" error, except by creating a new clean clone and applying your patch to that. |
Attachment: trac_9383_v4.patch.gz replaces all previous patches |
Changed author from Anna Haensch to Anna Haensch, David Loeffler |
comment:6
Here's a new patch, against 4.5.2.rc0, incorporating Anna's work and extending it by adding the modules The results are a little scruffy in places, but that will be much easier to sort out once the modules have been added and people can see the results! |
Reviewer: Minh Van Nguyen |
comment:7
I'm OK with the attachment attachment: trac_9383_v4.patch. Note that it adds the following modules to the reference manual:
The attachment make numerous ReST changes to the following modules, but does not add them to the reference manual:
The attachment: trac_9383_v4.patch receives a positive review as is. If you want, you could open another ticket to add the missing modules to the reference manual. |
This comment has been minimized.
This comment has been minimized.
comment:8
Replying to @sagetrac-mvngu:
No, there is no need to do this. The functions from those modules are all imported into quadratic__form.py; they are divided into separate modules solely in order to keep the size of the top-level file manageable. The ReST parser follows these imports, so adding the separate files to the manual as well would just mean everything was in there twice. Thanks for the review, anyway! David |
Merged: sage-4.6.alpha2 |
Apply:
Component: documentation
Author: Anna Haensch, David Loeffler
Reviewer: Minh Van Nguyen
Merged: sage-4.6.alpha2
Issue created by migration from https://trac.sagemath.org/ticket/9383
The text was updated successfully, but these errors were encountered: