Jacki
4cac1ab5f1
Drop loading external image from Github
...
Signed-off-by: Jacki <jacki@thejackimonster.de>
2025-07-22 17:41:50 +02:00
Justin Mayer
7ef5eae639
Update feed functional tests for FeedGenerator 2.2
2025-07-21 20:14:15 +02:00
Justin Mayer
f4ee3b7946
Merge pull request #3483 from boxydog/ruff_0_12_2
2025-07-08 08:10:18 +02:00
boxydog
4dedf17958
Move ruff to 0.12.2 and fix new complaints
2025-07-05 10:09:08 -05:00
Justin Mayer
a29857ac19
Merge pull request #3467 from nkr0/bump-pygments-version
2025-07-05 08:39:01 +02:00
Ilya Simpson
fca2fde2ed
Change lists, not tuples, in config settings
...
In the documentation, both `SOCIAL` and `LINKS` are described as a list
of tuples, but all examples show them as tuples of tuples. It makes the
most sense for them to be lists, so the examples should match the docs
going forward.
Similarly, `LOCALE` is described as a list, but the examples show it as
a tuple. Likewise, the examples should be lists, in line with the
description.
2025-07-04 20:06:44 +12:00
Ilya Simpson
f44ec52427
Enable flake8-builtins Ruff rule.
2025-06-02 17:22:50 +12:00
Emmanuel Ferdman
07f32c1a09
fix: resolve datetime warnings
...
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-05-13 06:40:14 -07:00
n
ca32b1b77c
bump pygments version to <2.20.0
2025-05-10 12:41:57 +02:00
Kristinita
7fd66d8a95
docs: Use raw string for the PATH_METADATA setting
2025-04-19 11:00:42 +03:00
Justin Mayer
88a6f57940
Upgrade Beautiful Soup & adjust tests to conform
2025-04-11 21:13:41 +02:00
Yashas Lokesh
543424aa41
fix: Fix auto-reload with globs in IGNORE_FILES ( #3441 )
...
The default `IGNORE_FILES` value of `'.*'` was being compiled to a regular expression and then passed into `watchfiles.DefaultFilter` to filter out files when auto-reload is enabled.
This commit compares the patterns from `IGNORE_FILES` directly with the filename to match the usage of `fnmatch` elsewhere in the codebase. The new filtering class will continue working as expected for custom `IGNORE_FILES` settings.
2025-01-15 17:40:27 +01:00
Frederik Elwert
4fcc24ddfe
Add test for simple theme and inheritance
2025-01-15 12:00:16 +01:00
Frederik Elwert
af3c2ed0cf
Add block name in endblock
2025-01-15 11:58:05 +01:00
Frederik Elwert
d813c5148e
Add more blocks to simple base template
...
This change makes it easier to create new themes by inheriting from the
simple theme. It allows customization of the whole body (while still
making use of the theme’s head), or individual parts of the body like
header, menu, or footer.
2025-01-15 11:58:05 +01:00
David Lesieur
9207e1ff62
feat: Add setting to omit selected Typogrify filters. Fixes #3436 ( #3439 )
2025-01-14 12:48:39 +01:00
David Lesieur
b4fcb7f4e3
Remove obsolete comment regarding widont.
2025-01-14 12:30:06 +01:00
David Lesieur
7a4c89f64a
Adjust test following changes in Typogrify.
...
Typogrify's 'widont' filter used to ignore the list of 'ignore_tags', but this got fixed in Typogrify.
2025-01-14 12:30:06 +01:00
Hugo van Kemenade
5bb39c4f6f
Replace deprecated logger.warn with logger.warning
2024-12-21 15:53:56 +02:00
Hugo van Kemenade
714a3d53a1
Drop support for EOL Python 3.8
2024-12-21 15:53:13 +02:00
Scott Colby
d9652ef109
fix: SUMMARY_MAX_PARAGRAPHS not respected in some combinations with SUMMARY_MAX_LENGTH ( #3427 )
2024-11-27 20:51:03 +01:00
Justin Mayer
7096b0a168
Merge pull request #3424 from projectgus/settings/ignore_files
2024-11-27 20:37:49 +01:00
Martin
31538d1578
[IMP] add information in error message
...
Not always clear what was the issue with only the keyword
2024-11-11 14:54:48 +01:00
Angus Gratton
1edca55253
settings: Change the default IGNORE_FILES to all "hidden" files.
...
This is to avoid subtle behaviour that contributed to root cause of
https://github.com/pelican-plugins/sitemap/issues/36
Specifically: if installing Pelican into a local virtualenv with the pdm or uv
default name ".venv", then subdirectories of .venv will contain all of the test
.rst and .md files.
If you then run Pelican in that same root directory using the default PATH
value (".") then it will add those content files to the site.
2024-11-10 12:05:02 +11:00
boxydog
075542721c
pre-commit autoupdate and fix new issues pointed out by ruff
2024-11-03 13:32:32 -06:00
Justin Mayer
478012e0d0
Clarify _include_path() parameter docstring
2024-10-02 19:08:26 +02:00
Frederik Elwert
08283b4915
Fix symbolic link handling in pelican-themes -s/-c ( #3392 )
2024-09-28 18:55:22 +02:00
Clément Pit-Claudel
6c6b940ffc
Don't store a RichHandler object in the argparse namespace ( #3394 )
2024-09-20 18:49:23 +02:00
Lioman
84db21c724
Match actual version instead of regex in build CI job ( #3396 )
2024-09-20 14:46:29 +02:00
Lioman
86bf9230b4
test: fix build test
...
the regex, searching for the builded files was not stable to changes for two digit versions.
fixes: Build test failures in GitHub CI workflow #3393
2024-09-19 14:25:01 +02:00
Justin Mayer
84f2995b38
Merge pull request #3387 from gagath/optimize-taskspy-template
2024-09-12 13:33:38 +02:00
GiovanH
4201256a5b
Add disabled status for #3304 ( #3305 )
2024-09-12 13:28:51 +02:00
Agathe Porte
2d375bc135
tasks.py.jinja2: optimize imports
...
When opening the generated tasks.py file with a Python linter enabled,
some imports will be marked as unecessary depending on the options
passed to pelican-quickstart.
Add if statements around the optional imports so they are used
only when necessary.
2024-08-04 22:39:50 +09:00
Agathe
513abbfdc6
Introduce paragraph count summary ( #2761 )
...
Co-authored-by: Justin Mayer <entroP@gmail.com>
2024-06-25 15:07:41 +02:00
Justin Mayer
36ebe91af7
Rename default branch to main
2024-06-25 11:33:28 +02:00
Justin Mayer
6a50191728
Tweak Markdown-not-installed console warnings
...
Adding single-quotation marks should cause 'markdown' to be highlighted
in green, presumably via Rich.
2024-06-25 10:49:07 +02:00
Justin Mayer
f89f8894cc
Merge pull request #3321 from boxydog/warn_about_markdown
2024-06-25 10:10:34 +02:00
Tomasz Wojdat
5171631dec
chore: update URLs of GitHub Ribbons
...
Old URLs are no longer active. New ones were taken from GitHub blog:
https://github.blog/2008-12-19-github-ribbons/
Also update output in functional tests.
2024-06-19 19:11:41 +02:00
boxydog
f19de98b9e
Log warnings about files that would have been processed by disabled readers
2024-06-17 09:30:55 -05:00
Justin Mayer
d83c5029b8
Merge pull request #3323 from boxydog/coverage
2024-06-16 19:30:10 +02:00
boxydog
b77bb690e2
Improve test coverage, docs, and .gitignore
2024-06-01 18:51:46 -05:00
boxydog
30bde3823f
ruff UP031 in files: use format specifiers instead of percent format
2024-06-01 16:00:17 -05:00
boxydog
82b48fcfa1
Fixes in files for ruff T201, RUF001, PLR2004, B904, SLOT000, PYI024, PIE800
2024-05-31 10:41:24 -05:00
boxydog
9b77a9027b
File fixes for ruff B007, RUF015, PLR1722
2024-05-31 08:48:44 -05:00
boxydog
4af40e8077
pre-commit filter auto-indents templates, css, js
2024-05-31 07:34:01 -05:00
boxydog
98bdd87dae
Apply pre-commit filters to the files in pelican/tests/output
2024-05-31 07:21:40 -05:00
boxydog
7577dd7603
More ruff fixes in files: stop ignoring C408, UP007, PLR5501, B006
2024-05-30 13:21:12 -05:00
boxydog
9d30c5608a
Code changes for more ruff checks
2024-05-30 12:21:52 -05:00
boxydog
0bd02c00c0
Ruff v0.4.6 auto-fixes
2024-05-30 10:53:38 -05:00
Clément Pit-Claudel
39c964450c
Choose logging handler via --log-handler CLI option ( #3293 )
2024-05-30 17:13:27 +02:00