1
0
Fork 0
forked from github/pelican
Commit graph

21 commits

Author SHA1 Message Date
boxydog
7577dd7603 More ruff fixes in files: stop ignoring C408, UP007, PLR5501, B006 2024-05-30 13:21:12 -05:00
boxydog
6d8597addb The ruff and ruff-format fixes 2024-05-30 09:08:16 -05:00
Chris Rose
cabdb26cee Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
Justin Mayer
d43b786b30 Modernize code base to Python 3+ syntax
Replaces syntax that was relevant in earlier Python versions but that
now has modernized equivalents.
2020-04-27 09:45:31 +02:00
Kevin Yap
1e0e541b57 Initial pass of removing Python 2 support
This commit removes Six as a dependency for Pelican, replacing the
relevant aliases with the proper Python 3 imports. It also removes
references to Python 2 logic that did not require Six.
2019-11-26 06:16:41 +09:00
derwinlu
89b28fd36b Fix warnings originating from bad regexes
Starting with python 3.6 warnings are issued for invalid escape
sequences in regular expressions. This commit corrects all
DeprecationWarning's via properly declaring the offending
regular expressions as raw strings.

Resolves #2095.
2017-03-27 16:09:08 +02:00
derwinlu
5a19887a22 Correct new flake8 warnings 2017-01-24 09:12:16 +01:00
derwinlu
8993c55e6e fulfil pep8 standard 2015-08-17 13:34:32 +02:00
Jeff Dairiki
10c0002af1 Fix bug with custom reST :abbr: role. Fixes #949
This fixes things so that newlines are allowed within the explanation of
an :abbr: role in reST mark-up.
2014-10-16 07:09:20 -07:00
SDGSDG
3580233b38 Support for pygment defaults and relevant documentation 2013-09-15 23:13:17 -07:00
Alexis Metaireau
1fad70e5b9 Merge pull request #1053 from kura/remove-youtube
Removed YouTube directive as it's been moved to a Plugin
2013-08-19 03:47:51 -07:00
Kura
895945e3cc Removed YouTube directive as it's been moved to a Plugin 2013-08-19 11:45:59 +01:00
SDGSDG
ece437f8fd Added more pygments options for code blocks 2013-08-05 22:50:49 -07:00
Russ Webber
5a8f5cefdd fix py3 support for sourcecode directive
added sourcecode to the functional test so it's tested *somewhere*.
fixes #963
2013-08-05 23:45:48 +08:00
Dirk Makowski
71995d5e1b Port pelican to python 3.
Stays compatible with 2.x series, thanks to an unified codebase.
2013-01-11 03:20:09 +01:00
Wraithan (Chris McDonald)
fcc74be267 pep8/style matching 2012-12-29 10:03:28 -08:00
Dirkjan Ochtman
636fd6cc38 Add support for abbreviations to reST translator (fixes #395). 2012-07-17 13:30:06 +02:00
Alexis Metaireau
3dd63a012e Thanks the author of the youtube directive. 2012-06-08 11:23:18 +02:00
Alexis Metaireau
46daadc137 add a youtube directive to pelican 2012-06-08 11:21:52 +02:00
Alexis Metaireau
95b44ef8bf Add Pygments support to the default sourcecode directive.
It is now possible to have highlited sourcecode using the ``::`` syntax.
2011-06-18 18:59:44 +02:00
Alexis Metaireau
9351152152 Add a directives file for pygments support. 2010-08-17 15:15:20 +02:00