#10078: Change ".. warning::" to ".. WARNING::"
-----------------------------+----------------------------------------------
Reporter: jpflori | Owner: mvngu
Type: enhancement | Status: needs_info
Priority: trivial | Milestone: sage-4.6
Component: documentation | Keywords: documentation
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by jhpalmieri):
I guess we could just have ".. examples::" print "EXAMPLES:", and
similarly for ".. tests::" and that would be the end of it. On the other
hand, if we could actually have these directives include all of the
examples and interspersed text, then we could, for example, decide to omit
the tests by passing a command-line option when building the docs. But I
don't know how directives work well enough to know if this could be
implemented in an easy-to-use way.
See the
[http://sphinx.pocoo.org/ext/appapi.html#sphinx.application.Sphinx.add_directive
sphinx] and [http://docutils.sourceforge.net/docs/howto/rst-
directives.html docutils] docs for information on creating directives. I
haven't looked at these in any detail.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10078#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.