| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Pygments no longer uses the pkg_resources.DistributionNotFound
exception, so we don't need to import it.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8599 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Output the content without syntax highlight to prevent
data loss.
It is still recommended to solve the issue instead of just
silencing the warning. (Languages that are unknown to the
Pygments Lexer should be specified as :class: option value
instead of directive argument.)
Thanks to Jérôme Carretero for the report and suggestion.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8596 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
| |
The former only works in Python 2, while the latter works in Python 2.7
and 3.x.
Signed-off-by: Stephen Finucane <stephen@that.guru>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8361 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
|
|
|
| |
This doesn't involve a whole lot of changes, but references to Python
3.3 (plus some to the already removed Python 2.6) are removed and
'setup.py' is updated as necessary.
Signed-off-by: Stephen Finucane <stephen@that.guru>
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8338 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
|
|
|
| |
Handle pkg_resources.DistributionNotFound error raised by pygments if
no lexer can be found for a "code" role or directive.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8213 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8163 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
| |
|
|
| |
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7884 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|
|
|
important:: docutils/math, docutils/error_reporting.py, and
docutils/urischemes.py will move to the utils package in the next
release, too. Code importing these modules needs to adapt.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7267 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
|