Commit graph

3,768 commits

Author SHA1 Message Date
Agathe Porte
fd029b2bc9 Introduce SUMMARY_MAX_PARAGRAPHS
Let the users use only the n-first paragraphs of the article as article
summary.

The advantage of this approach is that we avoid the random word count
ellipsis that will cut content in pieces, while not having to copy the
first paragraph of the article into the article's summary metadata.

If both SUMMARY_MAX_PARAGRAPHS and SUMMARY_MAX_LENGTH are set, then
the SUMMARY_MAX_LENGTH option will apply to the number of paragraphs in
SUMMARY_MAX_PARAGRAPHS.
2023-11-18 17:21:16 +01:00
botpub
7194cf5795 Release Pelican 4.9.1 4.9.1 2023-11-15 17:16:23 +00:00
Justin Mayer
a1d475fb22
Merge pull request #3246 from MinchinWeb/tz-windows 2023-11-15 18:13:19 +01:00
Justin Mayer
6fd2c0d8e6
Merge branch 'master' into tz-windows 2023-11-15 18:08:49 +01:00
Justin Mayer
76f7343b61 Prepare release 2023-11-15 18:08:10 +01:00
Justin Mayer
f510b4b21f Remove reference to non-existent requirements file 2023-11-15 17:52:41 +01:00
MinchinWeb
a2525f7db4 Remove tzdata from testing requirements.
Should be installed by pelican directly, if needed, based on OS.
2023-11-13 14:42:29 -07:00
MinchinWeb
1d0fd456e8 Add tzdata requirement on Windows 2023-11-13 12:18:41 -07:00
botpub
6cd707a668 Release Pelican 4.9.0 4.9.0 2023-11-12 17:44:45 +00:00
Justin Mayer
7ca66ee9d0 Prepare release 2023-11-12 18:03:36 +01:00
Justin Mayer
9525583ccd
Merge pull request #3243 from avaris/remove-write-selected 2023-11-12 17:56:34 +01:00
Deniz Turgut
86d6898517
remove WRITE_SELECTED
Implementation is buggy and unreliable. Therefore, it is better to
remove the functionality until a robust implementation is added.
2023-11-12 19:43:26 +03:00
Justin Mayer
0c5d63c69e Update documentation related to contributing 2023-11-12 17:11:23 +01:00
Justin Mayer
eca501ac1e
Merge pull request #3242 from pauloxnet/issues/2888 2023-11-12 16:04:28 +01:00
Justin Mayer
e92ccb8a46
Merge pull request #3241 from getpelican/pyupgrade-py38-plus 2023-11-12 16:02:38 +01:00
Justin Mayer
2238dcab07 Ignore code format commits from git blame 2023-11-12 15:53:13 +01:00
Paolo Melchiorre
db241feaa4
Fix #2888 -- Apply ruff and pyupgrade to templates 2023-11-12 15:06:02 +01:00
Justin Mayer
ecd598f293 Update code base for Python 3.8 and above
Result of: pipx run pyupgrade --py38-plus pelican/**/*.py
2023-11-12 13:53:02 +01:00
Justin Mayer
903ce3ce33 Pin Furo doc theme version
We override its page.html template with our own, so it is better to
manually and explicity upgrade rather than have a future version
of the Furo theme potentially break the documentation build.
2023-11-12 13:41:38 +01:00
Justin Mayer
39ff56a082 Update development dependencies 2023-11-12 13:38:30 +01:00
Justin Mayer
be5afa3175
Merge pull request #3234 from pauloxnet/feature/3233-simple-classless-semantic-html 2023-11-12 07:58:12 +01:00
Paolo Melchiorre
6059675d55
Fix #3233 -- Simple theme classless semantic HTML 2023-11-11 14:10:08 +01:00
Justin Mayer
d7015db9e4
Merge pull request #3240 from avaris/remove-icons 2023-11-09 09:06:53 +01:00
Deniz Turgut
e014e5b55b
add notmyidea font license 2023-11-04 01:00:51 +03:00
Deniz Turgut
451b094a94
remove social icons from notmyidea theme
redistribution of these icons may not be compatible with AGPL
2023-11-04 00:54:21 +03:00
Justin Mayer
dc1b6ab14d
Merge pull request #3238 from avaris/ordered-blinker 2023-11-02 23:27:15 +01:00
Deniz Turgut
8a8b952ecb
preserve connection order in blinker 2023-11-03 01:13:12 +03:00
Justin Mayer
14f19474df
Merge pull request #3235 from avaris/plugin-enabled 2023-11-02 16:58:42 +01:00
Justin Mayer
32b72123f0
Modify wording slightly 2023-11-02 14:09:51 +01:00
Justin Mayer
ee10d6995a
Merge pull request #3236 from avaris/missing-dependency 2023-11-01 23:10:34 +01:00
Deniz Turgut
49aef30dab
add sphinxext-opengraph to pyproject dev requirements 2023-11-01 23:19:26 +03:00
Deniz Turgut
feae8ef41c
Provide a plugin_enabled Jinja test for themes 2023-11-01 22:49:15 +03:00
Justin Mayer
76650898a6 Update to Markdown 3.5.1 in test requirements 2023-11-01 09:43:21 +01:00
Justin Mayer
e6a5e2a665 Update pre-commit hook versions 2023-11-01 09:07:48 +01:00
Justin Mayer
abae21494d Adjust line length to 88 in EditorConfig 2023-10-31 16:50:48 +01:00
Justin Mayer
a20cd8dda5
Merge pull request #3231 from getpelican/enforce-code-style 2023-10-30 19:49:58 +01:00
Justin Mayer
3c57996945 Ignore Ruff format commit in the blame view 2023-10-30 19:45:42 +01:00
Justin Mayer
08785f714f Remove obsolete linters: Flake8, Black, isort 2023-10-30 19:35:59 +01:00
Lioman
4e438ffe60
Enable tests to validate dist build contents (#3229) 2023-10-30 16:04:44 +01:00
Justin Mayer
6f467fefdc
Merge pull request #3232 from avaris/git-test-fix 2023-10-29 23:25:26 +01:00
Deniz Turgut
f0aab11a2d
Force git subprocess in tests to use utf-8 2023-10-30 00:53:15 +03:00
boxydog
805ca9b4a9 Run pre-commit on all files during CI test job 2023-10-29 22:21:04 +01:00
Chris Rose
271f4dd68f Strip trailing whitespace 2023-10-29 22:19:44 +01:00
Chris Rose
cabdb26cee Apply code style to project via: ruff format . 2023-10-29 22:18:29 +01:00
Chris Rose
8ea27b82f6 Bump all of the dev dependencies
- remove upper version caps
- updated the minimum version of most of Pelican's runtime deps
- replaced black with ruff as a formatter for pelican
- added a cache step to the docs CI task so that the docs can be
  downloaded and inspected.
2023-10-29 22:11:28 +01:00
Justin Mayer
bfb2587697
Merge pull request #3228 from boxydog/fix_1463 2023-10-29 20:03:37 +01:00
boxydog
dbe0b1125f Don't copy file ownership, permissions and metadata 2023-10-29 12:55:37 -05:00
Justin Mayer
a23a4e14cf
Merge pull request #3189 from seanh/publish-to-ghp-using-gha 2023-10-29 18:29:52 +01:00
Deniz Turgut
6f1605edf9
Extend GHA documentation to specify requirements file 2023-10-29 18:30:25 +03:00
Justin Mayer
842c6537f1
Merge pull request #3226 from getpelican/manifest 2023-10-29 16:16:40 +01:00