1
0
Fork 0
forked from github/pelican
Commit graph

3,664 commits

Author SHA1 Message Date
Justin Mayer
9c0c5b4929 Pin Flake8 due to upper bound on importlib-metadata
See: https://github.com/PyCQA/flake8/pull/1438
2022-08-01 13:23:01 +02:00
Justin Mayer
6487735efb Update Pytest and plugin versions
Also remove pytest-pythonpath as Pytest 7+ includes comparable
functionality. Don't believe we were using it anyway.
2022-08-01 12:56:58 +02:00
Justin Mayer
09c420f40c Update Jinja & Markdown dev dependency versions 2022-08-01 12:55:02 +02:00
Justin Mayer
fcfb39b8f2 Improve copyright year logic in Sphinx configuration 2022-08-01 12:53:09 +02:00
Justin Mayer
81b5fbe174 Add custom Furo page.html template for Sphinx docs 2022-08-01 12:53:09 +02:00
Justin Mayer
33aca76d78 Adjust extlinks configuration for Sphinx 5.0+ 2022-08-01 12:53:09 +02:00
Justin Mayer
961909a149 Update Sphinx and Furo theme dependency versions 2022-08-01 12:53:09 +02:00
Paolo Melchiorre
ac416d7df2 Add Furo as requirement for docs 2022-08-01 10:25:36 +02:00
Paolo Melchiorre
494b418dda Use Furo as Sphinx documentation theme 2022-08-01 10:25:36 +02:00
Tim Gates
6cac8237cc
docs: Fix a few typos
There are small typos in:
- docs/tips.rst
- pelican/tests/__init__.py

Fixes:
- Should read `module` rather than `modulole`.
- Should read `console` rather than `cosole`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
2022-07-24 07:55:18 +10:00
Justin Mayer
84dfbcf3dc
Update PR links in changelog 2022-07-11 19:54:13 +02:00
botpub
9685e4b594 Release Pelican 4.8.0 4.8.0 2022-07-11 17:51:01 +00:00
manhhomienbienthuy
d5d792060c
Fix #2982: Improve _HTMLWordTruncator (#3002) 2022-07-11 19:47:37 +02:00
Justin Mayer
5c222ef41b
Merge pull request #3001 from canyon289/content_expansion 2022-07-11 19:36:54 +02:00
Justin Mayer
c46554ae70
Merge pull request #3000 from canyon289/typo_fix 2022-07-11 19:35:52 +02:00
Alex Peters
7006016121 Add note about unintended static page processing
Fixes #2990.
2022-06-16 14:18:52 +10:00
Alex Peters
39e5edde9c Describe all CHECK_MODIFIED_METHOD options
Fixes #2991.
2022-06-16 13:36:59 +10:00
Ravin Kumar
392bf98118 Add content tag static expansion 2022-04-28 19:53:03 -07:00
Ravin Kumar
595f3be988 Add content expansion 2022-04-28 19:31:21 -07:00
Ravin Kumar
d89c6f6ed2 Fix small typo 2022-04-28 19:28:26 -07:00
Justin Mayer
e8d6318e93
Merge pull request #2989 from chadmando/fix-typo-in-docs
Fix missing word in Automation section
2022-04-03 08:11:00 +02:00
Justin Mayer
f94ba0ef3d
Merge pull request #2994 from avaris/2992
Use JSON values for extra settings in Invoke template
2022-04-03 08:06:26 +02:00
Deniz Turgut
eca0ee04b7
use JSON values for extra settings in invoke template
Signed-off-by: Deniz Turgut <dturgut@gmail.com>
2022-03-23 22:33:57 +03:00
chadmando
433453924b
fix missing word in Automation section 2022-03-11 11:09:59 -06:00
Pierre Equoy
16b8a03ad9 Remove unnecessary ids and classes in simple theme
All of the modified HTML tags can be accessed in CSS without the need
for a dedicated id or an additional class.
2022-02-20 10:29:46 +08:00
Pierre
34ca2e1de2
Merge branch 'getpelican:master' into master 2022-02-20 10:29:06 +08:00
Justin Mayer
77e5381be7
Update CHANGELOG 2022-02-09 09:07:42 -07:00
botpub
5823412085 Release Pelican 4.7.2 4.7.2 2022-02-09 13:25:50 +00:00
Ikko Ashimine
f3613af155
Fix typo in cache.py (#2978)
sublcass -> subclass
2022-02-09 06:15:59 -07:00
Justin Mayer
21c331e789
Merge pull request #2940 from r4victor/fix-issue-2938-attempt-2
Fix parsing of settings passed to `--extra-settings`
2022-02-09 06:12:00 -07:00
Victor Skvortsov
5c178a1ccb Fix #2938
Get rid of the coerce_overrides() function.
Add the ParseOverrides argparse.Action to parse overrides.
Treat all extra settings values strictly as json values.
Test overrides.
Edit docs and cli help.
2022-02-09 06:05:50 -07:00
Victor Skvortsov
ab81f183c6 Add failing tests 2022-02-09 06:05:50 -07:00
Justin Mayer
fe19f1abb6 Pin Sphinx to avoid aggressive extlinks warning
See: https://github.com/sphinx-doc/sphinx/issues/10112
2022-02-01 12:10:20 -07:00
Paolo Melchiorre
2f5fc10614
Add categories.html template to default theme 2022-02-01 11:07:23 -07:00
Pierre Equoy
4794752dd9 Add a viewport meta tag in simple theme for better mobile support
See MDN article about this:

https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag
2022-01-17 16:22:02 +08:00
Pierre Equoy
7b9a859e5e Use <main> and <article> tags in simple theme
Add a <main> tag to surround all the content blocks, so that it's easier
to target the main part of a page (be it an article, the list of posts
or the different categories) using CSS.

Because of this, the <section> part of the article.html template is made
redundant, so it is removed.

Finally, the generic <div> is replaced by an <article> tag to surround
the article's content.
2022-01-17 16:21:59 +08:00
Pierre Equoy
fe4f1ec4ea Uniformize headers in simple theme
In the simple theme, some templates are using `h1`, others are using
`h2` for the main title of the page (other than the one in the header).
This commit changes that so all of the pages are using `h1`.
2022-01-17 16:21:44 +08:00
Gunung P. Wibisono
0384c9bc07
Update Poetry install script to install-poetry.py (#2965) 2022-01-06 16:26:41 -08:00
Justin Mayer
11633992a0
Merge pull request #2952 from ingwinlu/bugfix/2951
Clean up quickstart script
2021-11-27 08:00:39 -07:00
Justin Mayer
4c8572e85d
Merge pull request #2950 from ingwinlu/bugfix/2941
Change spaces to tab as required by Makefile
2021-11-27 07:19:31 -07:00
Justin Mayer
1a321102a1
Merge pull request #2948 from ingwinlu/bugfix/#2845
Extend docstring of slugify util
2021-11-27 07:18:54 -07:00
Lukas Winkler
8f6a61439d Add helper method for rendering jinja templates 2021-11-27 14:04:36 +01:00
Lukas Winkler
59f7f4beb8 Remove unneeded explicit close stmts
Closes #2951
2021-11-27 13:56:33 +01:00
Lukas Winkler
2e35bc90a6 Change spaces to tab as required by Makefile
Closes #2941
2021-11-27 10:31:14 +01:00
Lukas Winkler
fa31a7e279 Extend docstring
We want to hint at the location of our default set of substitutions.
This should allow easier reuse for plugin authors who need to access
this utility as well.

Closes #2845
2021-11-27 09:33:42 +01:00
Justin Mayer
57c5296a44
Merge pull request #2949 from avaris/docutils-update
Use docutils.Node.findall instead of traverse
2021-11-26 18:33:20 -07:00
Deniz Turgut
8eb4be521f
use docutils.Node.findall instead of traverse
docutils.Node.traverse is being deprecated as of docutils==0.18.1
2021-11-25 23:57:09 +03:00
Justin Mayer
1b87ef6a7b Add funding link 2021-11-15 15:39:10 -06:00
iUnknwn
9ec1750709 Document how to inject articles with a plugin
Add to the plugin documentation a recipe for injecting articles
programmatically when Pelican is running.
2021-11-12 15:33:45 -06:00
botpub
bb10d286a6 Release Pelican 4.7.1 4.7.1 2021-10-12 14:45:30 +00:00