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
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
Justin Mayer
44db258f59
Adjust list of Git-ignored files
2024-09-16 15:11:14 +02:00
GeorgeHu
e609b4d78a
Translate documentation into Simplified Chinese ( #3346 )
2024-09-15 14:29:01 +02:00
Egbert
5687883d4b
Bump Pygments to 2.16.1 in test requirements; fixes #3385 ( #3386 )
2024-09-12 14:21:12 +02:00
Justin Mayer
84f2995b38
Merge pull request #3387 from gagath/optimize-taskspy-template
2024-09-12 13:33:38 +02:00
GiovanH
4201256a5b
Add disabled status for #3304 ( #3305 )
2024-09-12 13:28:51 +02:00
Agathe Porte
2d375bc135
tasks.py.jinja2: optimize imports
...
When opening the generated tasks.py file with a Python linter enabled,
some imports will be marked as unecessary depending on the options
passed to pelican-quickstart.
Add if statements around the optional imports so they are used
only when necessary.
2024-08-04 22:39:50 +09:00
Justin Mayer
bb0ed26fdd
Document how to have same source & output hierarchy
2024-07-30 10:00:36 +02:00
Justin Mayer
d85f493ee3
Add initial configuration for Vale prose linter
...
Vale: <https://github.com/errata-ai/vale >
2024-07-30 09:56:27 +02:00
Agathe
513abbfdc6
Introduce paragraph count summary ( #2761 )
...
Co-authored-by: Justin Mayer <entroP@gmail.com>
2024-06-25 15:07:41 +02:00
Justin Mayer
ef501a3d89
Merge pull request #3345 from getpelican/main-default-branch
2024-06-25 11:40:03 +02:00
Justin Mayer
36ebe91af7
Rename default branch to main
2024-06-25 11:33:28 +02:00
Justin Mayer
28e54106f2
Update Ruff linter
2024-06-25 11:00:41 +02:00
Justin Mayer
bdd4e45628
Enforce 75% code coverage in CI via Tox
2024-06-25 10:54:24 +02:00
Justin Mayer
6a50191728
Tweak Markdown-not-installed console warnings
...
Adding single-quotation marks should cause 'markdown' to be highlighted
in green, presumably via Rich.
2024-06-25 10:49:07 +02:00
Justin Mayer
f89f8894cc
Merge pull request #3321 from boxydog/warn_about_markdown
2024-06-25 10:10:34 +02:00
Justin Mayer
6fec5786d0
Merge pull request #3339 from tpwo/patch-1
2024-06-19 22:52:20 +02:00
Tomasz Wojdat
5171631dec
chore: update URLs of GitHub Ribbons
...
Old URLs are no longer active. New ones were taken from GitHub blog:
https://github.blog/2008-12-19-github-ribbons/
Also update output in functional tests.
2024-06-19 19:11:41 +02:00
Justin Mayer
8d63d1ced8
Merge pull request #3338 from getpelican/remove-sphinx-ifconfig
2024-06-18 09:27:03 +02:00
Justin Mayer
49723e6daf
Docs: Remove ifconfig Sphinx extension
...
Originally added in #815 , something about this seems to be causing an
obscure ReadTheDocs build error.
2024-06-18 09:08:45 +02:00
Justin Mayer
993c75103b
Generate social cards in Sphinx documentation
...
Without `matplotlib` installed, Sphinx output says that social cards
cannot be generated.
2024-06-18 09:04:59 +02:00
Justin Mayer
7a2c72e604
Merge pull request #3337 from getpelican/document-feed-domain-optional
2024-06-17 22:22:59 +02:00
Justin Mayer
05535c7d6c
Docs: GitHub Pages workflow is now supported
2024-06-17 22:19:21 +02:00
Sean Hammond
853e9e6b8a
Document that feed_domain is not required
2024-06-17 20:46:28 +01:00
dependabot[bot]
617aba077f
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 21:14:49 +02:00
dependabot[bot]
487877f206
Bump actions/deploy-pages from 2 to 4
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 2 to 4.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/deploy-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 21:14:31 +02:00
dependabot[bot]
750a1f8bfa
Bump actions/configure-pages from 3 to 5
...
Bumps [actions/configure-pages](https://github.com/actions/configure-pages ) from 3 to 5.
- [Release notes](https://github.com/actions/configure-pages/releases )
- [Commits](https://github.com/actions/configure-pages/compare/v3...v5 )
---
updated-dependencies:
- dependency-name: actions/configure-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 21:14:18 +02:00
dependabot[bot]
d03ae2a41f
Bump actions/upload-pages-artifact from 2 to 3
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 21:13:54 +02:00
Justin Mayer
b17182ece1
Merge pull request #3330 from seanh/gha-theme-support
2024-06-17 20:43:09 +02:00
Justin Mayer
50f77b42b2
Add CODEOWNERS file to project
2024-06-17 20:36:18 +02:00
Sean Hammond
135c61f769
Add Dependabot to GitHub Actions workflow docs
2024-06-17 16:38:10 +01:00
boxydog
f19de98b9e
Log warnings about files that would have been processed by disabled readers
2024-06-17 09:30:55 -05:00
Sean Hammond
e46595cdac
Add theme, Python version, siteurl and feed_domain to GitHub Pages deployment workflow
...
Add theme, Python version, siteurl and feed_domain support to the
reusable GitHub Actions workflow for deploying a Pelican site to GitHub
Pages:
1. Add a new `theme` option to the workflow that callers can use to
specify an external theme to be checked out and used
2. Add a new `python` option to the workflow that callers can use to
specify the Python version, in case they need to build their site
with a particular version of Python
3. Pass `--extra-settings FEED_DOMAIN='"${{ steps.pages.outputs.base_url }}"'`
to the `pelican` command to set the value of Pelican's `FEED_DOMAIN`
setting for feed URLs.
4. Add a `feed_domain` input to the workflow so that users can override
the feed domain if they need to.
5. Add a `siteurl` input to the workflow so that users can override the
site URL if they need to.
6. Add a note to the docs about GitHub Pages generating http:// URLs for
https:// sites, and how to fix it
7. Some light editing of the docs for the workflow
2024-06-17 13:57:10 +01:00
Justin Mayer
79d37ba491
Merge pull request #3328 from seanh/gha-dependabot
2024-06-17 13:43:27 +02:00
Sean Hammond
dc40474e29
Use Dependabot to keep GitHub Actions up to date
...
Configure Dependabot to send automated PRs to update the version numbers
in `.github/workflows/*.yml` when new versions of actions are released.
See:
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
2024-06-17 12:39:07 +01:00
Justin Mayer
5c7e4bbac4
Merge pull request #3325 from boxydog/master
2024-06-16 20:22:59 +02:00
Justin Mayer
b80a592d30
Lower minimum coverage required in invoke coverage
2024-06-16 19:37:23 +02:00