Ben Kurtovic
b7b3b2e33e
Update changelog; minor tweak to file headers
il y a 3 ans
Ben Kurtovic
1c983d3738
Assorted cleanup, linter fixes, and improvements for Python 3
il y a 3 ans
Kunal Mehta
7e5297fbe6
Drop Python 2 support
Fixes #221 .
il y a 4 ans
Ben Kurtovic
6e61c99c90
Update API query example; clarify docstring
il y a 5 ans
Ben Kurtovic
83bcb902b8
Support manual construction of Node objects ( fixes #214 )
il y a 5 ans
Ben Kurtovic
68ded2f890
Add keep_template_params to Wikicode.strip_code ( #175 )
il y a 7 ans
Ben Kurtovic
aaffb7f66b
Update copyright for 2016.
il y a 8 ans
Ben Kurtovic
e71e7b4ece
Update copyright years for 2015; fix whitespace in docs.
il y a 9 ans
Ben Kurtovic
504b8bace0
Add test code for a missing branch of Tag.wiki_markup.setter; cleanup.
il y a 9 ans
David Winegar
1b3e3c3657
Change wiki tags to use style separators
For wiki syntax tables, add `wiki_style_separator` as an attribute
for the Tag node. Also reorder `closing_wiki_markup` property and tests
to match its place in the constructor.
il y a 9 ans
David Winegar
7bbeb6899a
Fix ordering of tag representation
Self-closing wiki syntax tags have incorrectly ordered wiki syntax
and padding, fixed the ordering.
il y a 9 ans
David Winegar
ec08001871
Tables and rows now use newline as padding
Tables and rows use newlines as padding, partly because these characters
are pretty important to the integrity of the table. They might need
to be in the preceding whitespace of inner tags instead as padding after,
not sure.
il y a 9 ans
David Winegar
d356a570b3
Added closing_wiki_markup support to Tag node
Added support for allowing different wiki syntax for replacing the opening
and closing tags. Added for table support.
il y a 9 ans
Ben Kurtovic
87e0079512
Take proper advantage of Sphinx's default domains.
il y a 10 ans
Ben Kurtovic
b997e4cd71
Support attributes quoted with '; add required quotes in value setter.
il y a 10 ans
Ricordisamoa
9108d49d68
fix some typos: occurance → occurrence, parasable → parsable
il y a 10 ans
Ben Kurtovic
e5f17eea00
Update copyright notices for 2014.
il y a 10 ans
Ben Kurtovic
99d433c2d5
Change protocol for Node iteration; rename __iternodes__ to __children__.
il y a 10 ans
Ben Kurtovic
066049b46a
Update email address.
il y a 10 ans
Ben Kurtovic
bdfd0632b3
A couple very minor nitpicks.
il y a 10 ans
Ben Kurtovic
5e6e5b6301
tag_defs.py -> definitions.py; more outline stuff
il y a 10 ans
Ben Kurtovic
800bd20e39
Implement Tag.has(), Tag.get(), Tag.add(), and Tag.remove() ( closes #11 ).
il y a 10 ans
Ben Kurtovic
7a4b1625d3
Strip self-closing tags correctly.
il y a 10 ans
Ben Kurtovic
4f52887e17
wiki_markup stores the markup itself instead of a bool
il y a 10 ans
Ben Kurtovic
de6d5074fa
Tag.showtag -> Tag.wiki_markup
il y a 10 ans
Ben Kurtovic
2c4bff1d68
Start test_tag; some fixes for Tags.
il y a 10 ans
Ben Kurtovic
77c4df701b
Fix assorted bugs in the Tag node.
il y a 10 ans
Ben Kurtovic
bee74c0ced
Some doc updates.
il y a 10 ans
Ben Kurtovic
7d1a28a249
Support single and single-only tags like <br>.
il y a 11 ans
Ben Kurtovic
81e8fdd682
Give Attributes more attributes for padding data.
il y a 11 ans
Ben Kurtovic
6450814729
Remove 'type' attribute from tags; rework tag definitions.
il y a 11 ans
Ben Kurtovic
61fc5b5eab
Fix handling of self-closing tags ( closes #31 )
il y a 11 ans
Ben Kurtovic
cd5cc6a7d0
Update copyright notices for 2013.
il y a 11 ans
Ben Kurtovic
eed7c918bf
Implement padding support for Tags completely; open_padding->padding.
il y a 11 ans
Ben Kurtovic
a58c480639
Fix some usage of attrs; shorten a context, fix some behavior I broke.
il y a 11 ans
Ben Kurtovic
146d1fd006
Fix a bug in rendering Tags; attrs->attributes; update documentation.
il y a 11 ans
Ben Kurtovic
a21c69fa1e
Split off tag definitions into a new file.
il y a 11 ans
Ben Kurtovic
827c544721
Should correctly handle closing tags with strange spacing.
il y a 11 ans
Ben Kurtovic
f78bcf832a
Keep .type and .tag synchronized in Tags when using their setters.
il y a 11 ans
Ben Kurtovic
7e46601b1d
Tags should fully work now in tokenizer and builder.
Still need to do attributes.
il y a 11 ans
Ben Kurtovic
05ec7a1a92
Improve padding support for Tags; more code for tags in tokenizer.
il y a 11 ans
Ben Kurtovic
d1a9ba9a34
Starting tag work.
- Translation dict, contexts, parse_* and handle_* hooks in tokenizer.
il y a 11 ans
Ben Kurtovic
38b664f8c5
Add missing setters for some nodes and extras ( #8 )
il y a 11 ans
Ben Kurtovic
816207bb5a
Simplify docs massively.
il y a 11 ans
Ben Kurtovic
1caeb2d570
Build the actual Sphinx documentation, plus a number of typo fixes.
il y a 11 ans
Ben Kurtovic
b0fbe5dc8e
Document Tag.
il y a 11 ans
Ben Kurtovic
90b18e3abc
Finish updating all to compat except for the parser.
il y a 11 ans
Riamse
2eb76e7de0
Adding Python 3 support
il y a 11 ans
Ben Kurtovic
137b9fc68f
Fix some bugs; satisfy PyLint on certain inheritance things.
il y a 11 ans
Ben Kurtovic
219b9086d2
Finish implementing Builder for all existing Nodes; BuildStack.
il y a 11 ans