Justin Mayer
7dfac1c0c0
Merge pull request #2882 from MinchinWeb/patch-1
...
Allow easy subclassing of Writer
2021-06-30 08:54:04 +02:00
MinchinWeb
2cafe926fa
typo fix
...
"current" only has two "r"s
2021-06-15 22:41:38 -06:00
Tristan Miller
e800b23b4d
Update links to Jinja docs. Fixes #2883 ( #2885 )
2021-06-12 08:48:32 -05:00
Justin Mayer
c10792c679
Merge pull request #2878 from jzc/filename-metadata-typo
...
Fix FILENAME_METADATA doc to render correctly
2021-06-12 08:45:58 -05:00
MinchinWeb
845acfe1ac
Allow easy subclassing of Writer
...
When you write a custom Writer, it gets called with `settings=None`. If you writer is simply a subclass of the built-in Writer, Pelican will through the error `CRITICAL: 'RELATIVE_URLS'`.
The source of the error is from `Pelican._get_writer()` in `__init__.py`.
2021-06-08 14:01:32 -06:00
Justin Mayer
c041bf2192
Fix failing tests on Jinja 3+
2021-06-08 11:40:27 -05:00
jzc
c41b8abb13
Fix FILENAME_METADATA doc to render correctly
2021-05-20 00:11:58 -06:00
Gio
add3628a64
Add support for hidden articles
2021-05-04 13:54:32 -05:00
Petr Viktorin
487da3550b
Add period_num var for period_archives template
...
This makes it easier to create templates that are language-agnostic
or need extra processing for the date period.
2021-05-04 12:41:17 -05:00
Justin Mayer
7893455b43
Merge pull request #2838 from namn/patch-2
...
Use a top (instead of bottom) border in hentry
2021-04-27 20:14:10 +02:00
Justin Mayer
fb9df68477
Merge pull request #2869 from getpelican/rich
...
Add progress spinner animation during generation
2021-04-27 14:42:22 +02:00
Justin Mayer
40f3d2df91
Add progress spinner animation during generation
...
This is a first step at enriching console output via the `rich` project.
2021-04-21 10:16:59 +02:00
Justin Mayer
14afc6c54a
Update Pelican feature documentation
2021-04-21 10:16:28 +02:00
Justin Mayer
fd3ad0c16e
Update contributing docs and Poetry repository URL
2021-04-21 10:05:28 +02:00
Justin Mayer
c461def10a
Update to v2 of cache GitHub Action
2021-04-21 09:57:08 +02:00
Justin Mayer
dac01831f2
Merge pull request #2868 from MinchinWeb/patch-1
...
Fix `invoke tests` task problem on Windows
2021-04-19 16:44:29 +02:00
Romain Porte
a00284f744
Automatically open browser when Invoke task starts web server ( #2764 )
...
When the `serve` and `livereload` targets are invoked, a web browser will be
automatically opened, pointing to the locally-served website.
If no web browser can be found by the module, the `open()` call returns
`False`, but no exception is raised. This means that it is still possible
to call livereload on a remote machine and access it without any error
being triggered.
Signed-off-by: Romain Porte <microjoe@microjoe.org>
2021-04-19 15:59:41 +02:00
Justin Mayer
88953d45d5
Strip HTML tags from notmyidea page template's title
...
Fixes #2843
2021-04-19 10:25:59 +02:00
MinchinWeb
cf4e8d527d
Update tasks.py
...
PTY is not supported on Windows.
2021-04-18 22:20:54 -06:00
botpub
1219bcd029
Release Pelican 4.6.0
4.6.0
2021-03-23 10:31:21 +00:00
Justin Mayer
9a9dbcf523
Prepare release
2021-03-23 09:24:07 +01:00
Justin Mayer
1449840199
Make Tox & GitHub CI jobs' Python versions match
...
Otherwise results in InterpreterNotFound errors
2021-03-23 08:23:07 +01:00
Justin Mayer
2b08497c32
Relax dependency minimum versions
...
Specifying a floor, but not a ceiling, for core dependencies should help
prevent dependency resolution conflicts. Dependencies that affect
functional test output are pinned more tightly.
2021-03-23 08:06:58 +01:00
Justin Mayer
ce4994bec8
[Docs] Fix link to More Categories plugin
2021-03-19 12:58:58 +01:00
Justin Mayer
4b6b5f0461
Clarify ARTICLE_ORDER_BY documentation
2021-02-19 09:31:04 +01:00
Justin Mayer
31398d4247
Improve consistency between Makefile targets & help
2021-02-19 08:22:16 +01:00
Justin Mayer
d44821b733
Merge pull request #2852 from getpelican/pygments-2.8
...
Update Pygments dev dependency to v2.8
2021-02-18 18:13:44 +01:00
Justin Mayer
eaa801f14a
Merge pull request #2850 from avaris/less_noisy_logging
...
ignore None return value from get_generators signal
2021-02-18 18:11:02 +01:00
Justin Mayer
0db5afb920
Update functional test output for Pygments 2.8
2021-02-18 15:33:30 +01:00
Justin Mayer
872c4dbd30
Update Pygments dev dependency to v2.8
2021-02-18 15:33:30 +01:00
Justin Mayer
cdec530572
Add .yaml file extension to EditorConfig
2021-02-18 15:06:29 +01:00
Justin Mayer
68817845b0
Change FAQ entry to new Tag Cloud plugin repo
2021-02-18 12:30:44 +01:00
Justin Mayer
27762d2cf7
Make PKG_PATH var in Invoke tasks.py more DRY
2021-02-18 12:29:18 +01:00
Deniz Turgut
aa7c821c70
ignore None return value from get_generators signal
2021-02-12 21:17:42 +03:00
Justin Mayer
7a26f509df
Merge pull request #2847 from mirekdlugosz/livereload-cleanup
...
livereload task improvements
2021-02-09 21:28:54 +01:00
Mirek Długosz
f846191edd
livereload task improvements
...
- use custom build command, with caching turned on - this reduces site
build time by around 40% on my testing machines
- collect all glob patterns in a list and then call `server.watch`
on each item - this allows to have single place where callback
function must be specified
- use '**/*.html' as glob in template, to track changes in
subdirectories
2021-02-09 20:49:48 +01:00
Justin Mayer
8bb5f1b786
Drop unsupported Python 3.5 from test matrix
2021-01-15 13:19:19 +01:00
Justin Mayer
ce5d063513
Allow latest Python-Markdown to be installed
...
Pinning dependencies to specific versions creates conflicts when other
packages require more recent versions. We can do our part by allowing
for a wider range of dependency versions, specifying only the oldest
version that will still work. Meanwhile, we ensure that test
environments use a specific pinned dependency in order to match the
expected functional test output.
2021-01-15 13:04:07 +01:00
Justin Mayer
e01cde7fcb
Adjust functional test output for Pygments 2.7.x
...
Class `lineno` was changed to `linenos`.
2021-01-15 12:55:57 +01:00
Nam Nguyen
34fc7f2a84
Allow latest Pygments to be installed
...
Otherwise, installation conflicts can result when plugins/themes require
more recent Pygments versions.
2021-01-15 12:54:02 +01:00
Justin Mayer
ab3001391e
Match test output line endings with current rendering
2021-01-15 12:51:04 +01:00
Justin Mayer
f9abcb30e3
Merge pull request #2826 from someone-somenet-org/patch-1
...
Add "http://" prefix to `pelican --listen` output
2021-01-14 10:54:57 +01:00
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
Nam Nguyen
507d68e5c6
Update functional tests.
2021-01-07 14:10:50 -08: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
Nam Nguyen
b12443f48a
Use a top (instead of bottom) border in hentry.
...
`hentry` uses `clear: both` with the intention of placing a separator line (1px border) between each entry. However, it is wrongly using `border-bottom` instead of `border-top` to make that separator. CSS `clear` makes space to clear the **preceding** floats. Hence a `border-bottom` won't enjoy that `clear` effect.
2021-01-05 10:40:31 -08: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