[Epydoc-commits] SF.net SVN: epydoc: [1522] trunk/epydoc/src/epydoc/markup
Brought to you by:
edloper
|
From: <dva...@us...> - 2007-02-16 23:23:09
|
Revision: 1522
http://svn.sourceforge.net/epydoc/?rev=1522&view=rev
Author: dvarrazzo
Date: 2007-02-16 15:22:33 -0800 (Fri, 16 Feb 2007)
Log Message:
-----------
- All the markup error solved.
Modified Paths:
--------------
trunk/epydoc/src/epydoc/markup/doctest.py
trunk/epydoc/src/epydoc/markup/pyval_repr.py
trunk/epydoc/src/epydoc/markup/restructuredtext.py
Modified: trunk/epydoc/src/epydoc/markup/doctest.py
===================================================================
--- trunk/epydoc/src/epydoc/markup/doctest.py 2007-02-16 17:38:35 UTC (rev 1521)
+++ trunk/epydoc/src/epydoc/markup/doctest.py 2007-02-16 23:22:33 UTC (rev 1522)
@@ -10,7 +10,7 @@
Syntax highlighting for doctest blocks. This module defines two
functions, L{doctest_to_html()} and L{doctest_to_latex()}, which can
be used to perform syntax highlighting on doctest blocks. It also
-defines the more general L{colorize_doctest()}, which could be used to
+defines the more general C{colorize_doctest()}, which could be used to
do syntac highlighting on doctest blocks with other output formats.
(Both C{doctest_to_html()} and C{doctest_to_latex()} are defined using
C{colorize_doctest()}.)
Modified: trunk/epydoc/src/epydoc/markup/pyval_repr.py
===================================================================
--- trunk/epydoc/src/epydoc/markup/pyval_repr.py 2007-02-16 17:38:35 UTC (rev 1521)
+++ trunk/epydoc/src/epydoc/markup/pyval_repr.py 2007-02-16 23:22:33 UTC (rev 1522)
@@ -61,6 +61,8 @@
self.charpos = 0
self.lineno = 1
self.linebreakok = True
+
+ #: How good this represention is?
self.score = 0
def mark(self):
Modified: trunk/epydoc/src/epydoc/markup/restructuredtext.py
===================================================================
--- trunk/epydoc/src/epydoc/markup/restructuredtext.py 2007-02-16 17:38:35 UTC (rev 1521)
+++ trunk/epydoc/src/epydoc/markup/restructuredtext.py 2007-02-16 23:22:33 UTC (rev 1522)
@@ -14,12 +14,13 @@
defined by L{ParsedDocstring}.
L{ParsedRstDocstring} is basically just a L{ParsedDocstring} wrapper
-for the L{docutils.nodes.document} class.
+for the C{docutils.nodes.document} class.
Creating C{ParsedRstDocstring}s
===============================
+
C{ParsedRstDocstring}s are created by the C{parse_document} function,
-using the L{docutils.core.publish_string()} method, with the following
+using the C{docutils.core.publish_string()} method, with the following
helpers:
- An L{_EpydocReader} is used to capture all error messages as it
@@ -27,7 +28,7 @@
- A L{_DocumentPseudoWriter} is used to extract the document itself,
without actually writing any output. The document is saved for
further processing. The settings for the writer are copied from
- L{docutils.writers.html4css1.Writer}, since those settings will
+ C{docutils.writers.html4css1.Writer}, since those settings will
be used when we actually write the docstring to html.
Using C{ParsedRstDocstring}s
@@ -147,11 +148,11 @@
@ivar _document: A ReStructuredText document, encoding the
docstring.
- @type _document: L{docutils.nodes.document}
+ @type _document: C{docutils.nodes.document}
"""
def __init__(self, document):
"""
- @type document: L{docutils.nodes.document}
+ @type document: C{docutils.nodes.document}
"""
self._document = document
@@ -261,7 +262,7 @@
recently processed document is available as the instance variable
C{document}
- @type document: L{docutils.nodes.document}
+ @type document: C{docutils.nodes.document}
@ivar document: The most recently processed document.
"""
def __init__(self):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|