1
0
Fork 0
forked from github/pelican
Commit graph

3,420 commits

Author SHA1 Message Date
Justin Mayer
5971c5ad90
Merge pull request #1401 from arty-name/PAGINATION_FIXED
Support last page pattern in PAGINATION_PATTERNS
2021-01-14 10:51:00 +01:00
Tom Adler
89a31141ff Support last page pattern in PAGINATION_PATTERNS 2021-01-13 11:19:36 +01:00
Justin Mayer
659c4cbf0f
Merge pull request #2836 from namn/patch-1
Fix typo in the FAQ: steamline --> streamline.
2021-01-07 17:17:14 +01:00
Justin Mayer
b17e4a5ffa Add FAQ re: Atom full-post vs. summary-only feeds
Replaces a FAQ about upgrading from a very old version of Pelican, which
isn't relevant to most folks at this point.
2021-01-06 07:36:21 +01:00
botpub
9e72b29fc1 Release Pelican 4.5.4 4.5.4 2021-01-04 16:16:16 +00:00
Frederik Ring
dc60105926
Stringify plugin definitions so they can be pickled during caching (#2835) 2021-01-04 17:13:32 +01:00
Nam Nguyen
783a70da46
Fix typo in the FAQ: steamline --> streamline. 2021-01-03 21:24:10 -08:00
botpub
8033162ba4 Release Pelican 4.5.3 4.5.3 2020-12-01 20:36:51 +00:00
Leonardo Giordani
9435a6c045
Fix code indented incorrectly in generators logging (#2823) 2020-12-01 19:07:51 +01:00
botpub
246da3b4d8 Release Pelican 4.5.2 4.5.2 2020-11-22 16:16:28 +00:00
Leonardo Giordani
afdf0fb3cf
Improve logging of generators and writer loaders (#2821) 2020-11-22 17:13:51 +01:00
Justin Mayer
a9d9ccb583 Improve docs for plugin code style compliance 2020-11-20 16:30:18 +01:00
Justin Mayer
f21969a016 Ensure invoke lint task & its docs are in sync
Someday the entire Pelican code base will perhaps have Black and isort
formatting applied to it, but it doesn't make sense for the linter to
check that until it's actually done. This changes the `lint` Invoke task
to run Flake8 on changed lines only, which should bring it into line
with both the current Pre-commit and CI configurations.

Also, the docs erroneously stated that `invoke tests` would also check
for code style compliance, which has herein been fixed.
2020-11-20 16:22:39 +01:00
Justin Mayer
4b79d6dae6 Update PyPI URLs to new equivalents 2020-11-20 15:46:05 +01:00
Justin Mayer
67e27ca7cd pelican-plugins only shows auto-discovered plugins
Document and clarify that only Pip-installed namespace plugins will be
shown when running the `pelican-plugins` command.
2020-11-20 15:39:52 +01:00
Justin Mayer
e3c7a915e5 Fix changelog entry formatting and issue links 2020-11-02 17:18:38 +01:00
botpub
06d4eff4a5 Release Pelican 4.5.1 4.5.1 2020-11-02 13:15:26 +00:00
Justin Mayer
98b1a46362 Prepare release 2020-11-02 14:10:02 +01:00
Justin Mayer
09822c16a7
Merge pull request #2794 from farseerfc/include-jinja2-templates
Include Jinja2 templates in MANIFEST.in
2020-11-02 14:08:30 +01:00
Justin Mayer
b454f76f72 Count CPU cores via psutil for parallel testing
psutil does a much better job at accurately counting CPU cores,
of which pytest-xdist takes advantage for the purposes of running
tests concurrently.
2020-11-02 13:17:53 +01:00
Justin Mayer
c345268de6
Merge pull request #2818 from shniubobo/issue-2817
Fix plugins running twice in autoreload mode
2020-11-02 12:40:13 +01:00
shniubobo
587e1a4ad8
Fix plugins running twice in autoreload mode
Fixes #2817
2020-10-31 20:34:45 +08:00
Justin Mayer
e4d9c41a77
Merge pull request #2799 from kdeldycke/trove-classifiers-cleanup
Trove classifiers tweaks
2020-10-19 21:02:01 +02:00
Justin Mayer
f4bb0d8933
Merge pull request #2813 from avaris/2805
Fix legacy plugin loading for packages
2020-10-19 20:53:05 +02:00
Justin Mayer
197cd1e12e
Merge pull request #2812 from avaris/2646
Try unescaped paths in intrasite link discovery
2020-10-19 20:43:18 +02:00
Justin Mayer
20a1ac0e6f
Merge pull request #2811 from avaris/python39
Add Python 3.9 to CI
2020-10-19 20:36:28 +02:00
Deniz Turgut
fd0923d2f2
Try unescaped paths in intrasite link discovery
Some content parsers escape link paths in their html output
(i.e. docutils uses HTML escaping and markdown uses URL encoding.
Intrasite link discovery is refactored to also attempt HTML or URL
unescaped versions of the path in order to match more permissively.
2020-10-19 20:43:11 +03:00
Deniz Turgut
8b8a0147e8
add python3.9 to CI 2020-10-12 18:47:08 +03:00
Deniz Turgut
6da975fc73
restore pelican.signals with an explicit ImportError mentioning move 2020-10-12 14:53:18 +03:00
Deniz Turgut
991c00af95
resolve packages for legacy plugins
Updated legacy plugin loader to handle pakcages if the PLUGINS entry
contains `.`. Also adds a test for it.
2020-10-12 14:50:42 +03:00
Kevin Deldycke
8fffcbef7a
Add new reStructuredText classifier.
Just been added to the canonical list in: https://github.com/pypa/trove-classifiers/pull/46
2020-09-04 13:04:50 +02:00
Kevin Deldycke
30c9f6bb52
Refine classification. 2020-09-03 11:30:11 +02:00
Kevin Deldycke
aed71c30f8
No need to maintain License and Python version classifiers.
Poetry takes care of it: https://python-poetry.org/docs/pyproject/#classifiers
2020-09-03 11:21:52 +02:00
Justin Mayer
7a6686f467 Fix SUMMARY_END_SUFFIX variable name in changelog 2020-08-29 12:46:44 +02:00
Jiachen Yang
3565094b10
MANIFEST.in include jinja2 templates 2020-08-24 22:34:02 +09:00
Justin Mayer
0ab6ac9798 Fix PyPI-related reST/README issues 4.5.0 2020-08-20 19:20:51 +02:00
Justin Mayer
4bda2745ac Prepare to release Pelican 4.5 2020-08-20 17:57:21 +02:00
Justin Mayer
e11a7de051 Add missing Pelican entry points to pyproject.toml 2020-08-20 13:51:23 +02:00
Justin Mayer
94bdcb7f18 Remove Travis since we've switched to GitHub Actions CI 2020-08-20 13:46:09 +02:00
Jason K. Moore
fafe0207ca Include the tests package in the source distribution
Fixes #2635
2020-08-20 10:52:13 +02:00
kernc
64fcdb5172
Rename setting SUMMARY_END_MARKER → SUMMARY_END_SUFFIX (#2792)
Avoids clash with 'summary' plugin.

Refs: https://github.com/getpelican/pelican-plugins/pull/1284#issuecomment-660715086
2020-08-19 20:25:19 +02:00
Justin Mayer
ade70cb2e2 Rename branch for GitHub Pages repo quickstart 2020-08-17 09:47:57 +02:00
Justin Mayer
145cd4be92 Minor improvements to installation docs 2020-08-17 07:21:57 +02:00
Justin Mayer
a0335711af Remove outdated references to Python 2.7 in docs 2020-08-17 07:14:29 +02:00
Justin Mayer
16975bc3a2 Prefix Pip commands with python -m in docs
This ensures Pip commands will be executed for the current Python
interpreter and not, say, whichever Python interpreter happens to be
associated with `/usr/local/bin/pip`.
2020-08-17 07:04:00 +02:00
Justin Mayer
863421b1b8 Use more reliable installation command in docs
Some shell environments may interpret brackets as glob patterns.
Wrapping the argument in quotation marks should help ensure correct
behavior in those environments. Refs #2786
2020-08-17 06:45:38 +02:00
Justin Mayer
26a8909580
Merge pull request #2785 from jwodder/lower-rst-summary
Lowercase metadata field name when comparing with FORMATTED_FIELDS in rST reader
2020-08-16 20:03:35 +02:00
Justin Mayer
64bb392fef Auto-detect physical CPU cores via pytest-xdist 2020-08-16 07:23:13 +02:00
Justin Mayer
adbefe8363 Upgrade pytest-xdist dev dependency to v2.0
Also, stop pinning pytest version, since older version combined with
pytest-xdist 2.0 caused CI test errors.
2020-08-16 07:19:47 +02:00
Justin Mayer
b769144a63 Support Booleans in --extra-settings. Refs #2789 2020-08-15 08:36:56 +02:00