Commit graph

3,932 commits

Author SHA1 Message Date
Al Sweigart
9c7749a298
docs: Move default values to fix settings anchor links (#3458)
* Fix anchor links for settings by moving default value text down.
* Fix typos in default values.

---------

Co-authored-by: Justin Mayer <entroP@gmail.com>
2025-04-12 12:38:30 +02:00
Justin Mayer
88a6f57940 Upgrade Beautiful Soup & adjust tests to conform 2025-04-11 21:13:41 +02:00
Justin Mayer
5338f4fac2
Merge pull request #3447 from ceyusa/update-docs
docs: Update install from sources using setuptools
2025-03-25 09:51:00 -07:00
Víctor Manuel Jáquez Leal
b71159a11e docs: Update install from sources using setuptools 2025-01-27 06:18:55 +01:00
botpub
69e24fa82f Release Pelican 4.11.0 2025-01-15 17:01:09 +00:00
Justin Mayer
ec95a2c855 Prepare release 2025-01-15 17:53:09 +01: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
Vincent Cheng
5be013d9d2
Make build reproducible by reading envvar SOURCE_DATE_EPOCH if set (#3430)
Co-authored-by: Justin Mayer <entroP@gmail.com>
2025-01-15 17:36:52 +01:00
Justin Mayer
64be147463
Merge pull request #3405 from frederik-elwert/improve-simple-theme
Add more blocks to Simple theme's base template
2025-01-15 12:32:12 +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
Alvin Mites
4878fc82a7
chore: Update link to re-directed example settings file (#3445) 2025-01-15 11:43:52 +01:00
Justin Mayer
8a1c55ed07 docs: Clarify namespace plugin loading order 2025-01-14 12:49:34 +01:00
David Lesieur
9207e1ff62
feat: Add setting to omit selected Typogrify filters. Fixes #3436 (#3439) 2025-01-14 12:48:39 +01:00
Justin Mayer
fa0af6d221
Merge pull request #3438 from davidlesieur/typogrify-test-ignore-tags
test:  Fix `test_typogrify_ignore_tags` due to Typogrify 2.1 changes
2025-01-14 12:41:17 +01:00
Justin Mayer
b3ef32bcf1 test: Require Typogrify 2.1+ to pass updated test 2025-01-14 12:35:17 +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
Justin Mayer
74d76ca0da Pin Pygments due to indentation changes in 2.19 2025-01-14 12:26:35 +01:00
Justin Mayer
a17521b6f7
Merge pull request #3435 from hugovk/add-3.13 2024-12-22 11:45:12 +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
Hugo van Kemenade
7d4adfce3f Add support for Python 3.13 2024-12-21 15:45:35 +02:00
botpub
07c7eacab9 Release Pelican 4.10.2
Some checks failed
build / Test - 3.10 - macos (push) Has been cancelled
build / Test - 3.11 - macos (push) Has been cancelled
build / Test - 3.12 - macos (push) Has been cancelled
build / Test - 3.10 - ubuntu (push) Has been cancelled
build / Test - 3.11 - ubuntu (push) Has been cancelled
build / Test - 3.12 - ubuntu (push) Has been cancelled
build / Test - 3.8 - ubuntu (push) Has been cancelled
build / Test - 3.9 - ubuntu (push) Has been cancelled
build / Test - 3.10 - windows (push) Has been cancelled
build / Test - 3.11 - windows (push) Has been cancelled
build / Test - 3.12 - windows (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Test build (push) Has been cancelled
build / Build docs (push) Has been cancelled
build / Deploy (push) Has been cancelled
4.10.2
2024-11-27 19:53:23 +00: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
Justin Mayer
ac28ddb9bf
Merge pull request #3425 from mart-e/replacement-indicator-log-full 2024-11-27 20:30:00 +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
Justin Mayer
882cd16e11
Merge pull request #3423 from GeorgeHu6/chinese-translation
Some checks failed
build / Test - 3.10 - macos (push) Has been cancelled
build / Test - 3.11 - macos (push) Has been cancelled
build / Test - 3.12 - macos (push) Has been cancelled
build / Test - 3.10 - ubuntu (push) Has been cancelled
build / Test - 3.11 - ubuntu (push) Has been cancelled
build / Test - 3.12 - ubuntu (push) Has been cancelled
build / Test - 3.8 - ubuntu (push) Has been cancelled
build / Test - 3.9 - ubuntu (push) Has been cancelled
build / Test - 3.10 - windows (push) Has been cancelled
build / Test - 3.11 - windows (push) Has been cancelled
build / Test - 3.12 - windows (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Test build (push) Has been cancelled
build / Build docs (push) Has been cancelled
build / Deploy (push) Has been cancelled
Docs: Update Chinese translation
2024-11-08 10:57:37 +01:00
GeorgeHu6
60261b8c99 Doc: update Chinese translation 2024-11-07 16:31:32 +08:00
Justin Mayer
4ca1454293
Merge pull request #3421 from boxydog/precommit_update_202411
Some checks failed
build / Test - 3.10 - macos (push) Has been cancelled
build / Test - 3.11 - macos (push) Has been cancelled
build / Test - 3.12 - macos (push) Has been cancelled
build / Test - 3.10 - ubuntu (push) Has been cancelled
build / Test - 3.11 - ubuntu (push) Has been cancelled
build / Test - 3.12 - ubuntu (push) Has been cancelled
build / Test - 3.8 - ubuntu (push) Has been cancelled
build / Test - 3.9 - ubuntu (push) Has been cancelled
build / Test - 3.10 - windows (push) Has been cancelled
build / Test - 3.11 - windows (push) Has been cancelled
build / Test - 3.12 - windows (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Test build (push) Has been cancelled
build / Build docs (push) Has been cancelled
build / Deploy (push) Has been cancelled
2024-11-03 20:57:55 +01:00
boxydog
075542721c pre-commit autoupdate and fix new issues pointed out by ruff 2024-11-03 13:32:32 -06:00
Noel Miller
0da2530d9b
De-couple build workflow from GitHub Pages publication (#3404)
Some checks failed
build / Test - 3.10 - macos (push) Has been cancelled
build / Test - 3.11 - macos (push) Has been cancelled
build / Test - 3.12 - macos (push) Has been cancelled
build / Test - 3.10 - ubuntu (push) Has been cancelled
build / Test - 3.11 - ubuntu (push) Has been cancelled
build / Test - 3.12 - ubuntu (push) Has been cancelled
build / Test - 3.8 - ubuntu (push) Has been cancelled
build / Test - 3.9 - ubuntu (push) Has been cancelled
build / Test - 3.10 - windows (push) Has been cancelled
build / Test - 3.11 - windows (push) Has been cancelled
build / Test - 3.12 - windows (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Test build (push) Has been cancelled
build / Build docs (push) Has been cancelled
build / Deploy (push) Has been cancelled
2024-10-22 09:59:19 -07:00
Justin Mayer
31264498e1
Add FAQ entry about theme overrides (#3406)
Some checks failed
build / Test - 3.10 - macos (push) Has been cancelled
build / Test - 3.11 - macos (push) Has been cancelled
build / Test - 3.12 - macos (push) Has been cancelled
build / Test - 3.10 - ubuntu (push) Has been cancelled
build / Test - 3.11 - ubuntu (push) Has been cancelled
build / Test - 3.12 - ubuntu (push) Has been cancelled
build / Test - 3.8 - ubuntu (push) Has been cancelled
build / Test - 3.9 - ubuntu (push) Has been cancelled
build / Test - 3.10 - windows (push) Has been cancelled
build / Test - 3.11 - windows (push) Has been cancelled
build / Test - 3.12 - windows (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Test build (push) Has been cancelled
build / Build docs (push) Has been cancelled
build / Deploy (push) Has been cancelled
2024-10-17 09:13:39 -07:00
Frederik Elwert
92050d90bc Add FAQ regarding theme overrides
Currently, the documentation refers to creating new themes a lot.
It is much less apparent how one can customize an existing theme by
overriding individual templates or adding new ones. This commit adds
an FAQ for this, and also mentions the mechanism in the FAQ on custom
templates.
2024-10-10 14:35:07 +02:00
Justin Mayer
b02abf0220 Improve GitHub issue templates
Some checks failed
build / Test - 3.10 - macos (push) Has been cancelled
build / Test - 3.11 - macos (push) Has been cancelled
build / Test - 3.12 - macos (push) Has been cancelled
build / Test - 3.10 - ubuntu (push) Has been cancelled
build / Test - 3.11 - ubuntu (push) Has been cancelled
build / Test - 3.12 - ubuntu (push) Has been cancelled
build / Test - 3.8 - ubuntu (push) Has been cancelled
build / Test - 3.9 - ubuntu (push) Has been cancelled
build / Test - 3.10 - windows (push) Has been cancelled
build / Test - 3.11 - windows (push) Has been cancelled
build / Test - 3.12 - windows (push) Has been cancelled
build / Lint (push) Has been cancelled
build / Test build (push) Has been cancelled
build / Build docs (push) Has been cancelled
build / Deploy (push) Has been cancelled
2024-10-04 15:06:11 +02:00
Justin Mayer
f5dc4d4b96 Disable blank GitHub issues
Existing issue template categories should cover most any case.
2024-10-04 15:04:13 +02:00
Justin Mayer
478012e0d0 Clarify _include_path() parameter docstring 2024-10-02 19:08:26 +02:00
botpub
b86383fb28 Release Pelican 4.10.1 4.10.1 2024-09-28 17:02:04 +00:00
Justin Mayer
fe45094545 Prepare release 2024-09-28 18:59:03 +02:00
Frederik Elwert
08283b4915
Fix symbolic link handling in pelican-themes -s/-c (#3392) 2024-09-28 18:55:22 +02:00
Justin Mayer
0cb445c813
Don't store a RichHandler object in the argparse namespace (#3394) (#3398) 2024-09-28 18:50:54 +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
Justin Mayer
2f9d382c56
Fix build job failure in GitHub CI workflow (#3395) 2024-09-20 14:35:07 +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
botpub
a5db130e1d Release Pelican 4.10.0 4.10.0 2024-09-16 13:23:38 +00:00
Justin Mayer
9e8af627b5 Prepare release 2024-09-16 15:16:43 +02:00