| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
instead of trunk, and it causes conflicts when merging to trunk; I'll
redo that change after merging the "transforms" branch into the trunk
in order to avoid unnecessary merge-work
git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/transforms@3887 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/transforms@3886 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/transforms@3884 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Filter transform is run, the only type of component which has not yet
been used *and* has the notion of a "format" is the writer. I (Felix)
cannot imagine a use case where components.Filter would filter, say,
parser-specific nodes. Thus, it's possible to make components.Filter
specific to writers without loss of functionality.
Added FormatSpecific node. Made "meta" and "raw" subclasses of
nodes.FormatSpecific.
nodes.Node.traverse: When a class is passed as first argument, do not
check if it is a subclass of nodes.Node. This is necessary because
some node classes (like nodes.FormatSpecific) aren't subclasses of
nodes.Node.
directives.meta: Do not insert pending nodes but rather the meta node
directly.
components.WriterFilter does no longer work on pending nodes but
traverses the document tree looking for FormatSpecific nodes.
Removed format-handling code for raw node from writers. This is now
done by the WriterFilter transform.
Removed test/test_transforms/test_filter.py; that test isn't usable
for testing the WriterFilter transform. components.WriterFilter is
automatically tested in the functional tests; that's enough for now.
Updated docs/ref/transforms.txt.
Partially updated docs/peps/pep-0258.txt.
git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/transforms@3825 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3813 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3811 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3810 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
case for said bug; removed a bogus bug
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3809 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3807 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3789 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3760 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3759 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3675 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
you could use publish_parts for that, I think, and returning a tuple
unnecessarily complicates the interface
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3671 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
| |
transform is applied twice;
do not delete document.transformer in publish_doctree (Martin, this may be
important for the pickle writer -- you may need to delete document.transformer);
regenerate reporter object unconditionally; do so in publish_from_doctree,
not the doctree reader;
added tests;
I will post about all that on Docutils-develop in one or two days
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3663 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3662 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
changed priority to 680
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3659 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
separate transform, universal.ExposeInternals
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3658 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
a separate transform, misc.Transitions
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3657 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
docutils.io.Output and test support
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3646 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3644 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3640 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3639 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3638 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
fixed bug (not sure yet if the code is clean -- needs refactoring)
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3637 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
hyphenation)
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3635 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3633 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3625 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3623 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3621 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
docutils.transforms.html.StylesheetCheck transform, docs, tests, and support.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3617 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3613 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3610 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3609 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
like "writer='html'" to publish_*
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3606 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
to not pass on the kwargs to Transform.__init__ but to Transform.apply
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3604 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3603 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3602 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
| |
Transform.data contains now the kwargs dictionary;
added transform instance to Transformer.applied tuples again -- this
shouldn't cause problems with pickling because the Transformer
isn't pickled; if it does cause any problems, please follow up
on Docutils-develop
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3596 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
"parts" dictionary;
polished
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3587 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3586 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
renamed publish_from_doctree to publish_doctree
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3585 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
trunk/docutils
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3581 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3574 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3570 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3569 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
of rev. 3511), since it duplicates settings._disable_config functionality
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3567 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
changes
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3550 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
| |
default for "stylesheet" is now None, not -1
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3549 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3548 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|