Ticket #5529 (closed enhancement: fixed)
[with patch, positive review] bring documentation of classical.py to 100%
| Reported by: | mvngu | Owned by: | tba |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-3.4.1 |
| Component: | documentation | Keywords: | classical.py, doctest |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
As the subject says.
Attachments
Change History
comment:1 Changed 4 years ago by mvngu
- Summary changed from bring documentation of classical.py to 100% to [with patch, needs review] bring documentation of classical.py to 100%
The patch trac_5529_doc.patch should bring the documentation coverage of sage.crypto.classical.py to 100%... woo hoo...
comment:2 Changed 4 years ago by jhpalmieri
Looks good, mostly. I've made a few small changes and a few bigger ones. The small changes: I changed "EXAMPLE::" to "EXAMPLES::" several times. I changed "\mathbb{Z}" to "\mathbf{Z}" since this is the Sage style: try latex(ZZ). One line wasn't indented quite far enough, and I did a little minor rewording.
The more major changes: in the reference manual, methods which begin with an underscore don't appear. For the most part, this doesn't bother me, but __init__ methods often have important documentation, so for this file, I moved the docs for the __init__ methods up a level to documentation for the class. This way it appears in the reference manual (as the first thing for the class) and also when you run sage and type HillCryptosystem?, for example.
I give mvngu's part of this a positive review, so only my patch needs reviewing.
Changed 4 years ago by jhpalmieri
-
attachment
5529-new.patch
added
apply this on top of the other patch
comment:3 Changed 4 years ago by mvngu
- Summary changed from [with patch, needs review] bring documentation of classical.py to 100% to [with patch, positive review] bring documentation of classical.py to 100%
The patch 5529-new.patch applies fine against Sage 3.4, all doctests passed even with -long option. Rebuilding the HTML version of the reference manual, I see that documentation of many _init__ methods are now visible. So positive review for jhpalmieri's part.
