Justin Mayer
3be0703b14
Tell GitHub-Linguist to ignore HTML files
...
Refs #3188
2023-08-27 16:47:45 +02:00
Justin Mayer
e724de9ffe
Improve GitHub-Linguist language breakdown
...
Refs #3188
2023-08-27 16:39:27 +02:00
Will Thong
2eeff62fd7
Replace pytz dependency in tests ( #3165 )
2023-08-15 20:07:39 +02:00
Moritz Meier
0d1bcd4b11
Pelican QuickStart: Address tzlocal API change ( #3155 )
2023-08-08 09:21:10 +02:00
Justin Mayer
63b60da919
Build docs in zipped HTML and PDF formats
2023-08-03 14:44:13 +02:00
Justin Mayer
48a0484d15
Improve ReadTheDocs configuration
2023-08-03 14:37:39 +02:00
Justin Mayer
9384e7cb0b
Add ReadTheDocs configuration file
2023-08-03 14:29:18 +02:00
Justin Mayer
639173da6b
Generalize analytics support in default theme
...
As the number of privacy-preserving analytics options proliferates,
it no longer makes sense to support specific solutions provided by
ad-tracking corporations.
2023-08-03 14:10:37 +02:00
Justin Mayer
5435dd0d81
Document _update_context(dict) --> list of tuples
...
Fix #3024
2023-08-03 11:34:05 +02:00
Justin Mayer
dcd3045f32
Docs: Escape extra setting environment variables. Fix #3016
2023-08-03 10:21:54 +02:00
Justin Mayer
0989ed29be
Merge pull request #2980 from pauloxnet/patch-1
2023-08-03 09:44:48 +02:00
Paolo Melchiorre
5d1dcd8ed3
Remove useless url
2023-08-03 08:49:16 +02:00
Paolo Melchiorre
bf0860ee86
Try to fix documentation build
2023-08-03 08:49:13 +02:00
Paolo Melchiorre
7acc9ac554
Fix documentations errors
2023-08-03 08:48:51 +02:00
Paolo Melchiorre
413c6a1c71
Order codes in themes.rst
2023-08-03 08:48:32 +02:00
Justin Mayer
44d9754466
Add monthly downloads badge to README
2023-08-02 11:01:40 +02:00
Justin Mayer
e8076bfe03
Merge pull request #3164 from marcusdesai/fix/issue-3163
2023-07-27 22:11:28 +02:00
Will Thong
1d2bf8e96e
Replace pytz dependency with zoneinfo. Fix #2958 ( #3161 )
2023-07-26 17:29:43 +02:00
Justin Mayer
715c056cd4
Update Pygments dev dependency version
2023-07-26 11:24:20 +02:00
Marcus Desai
7f1ecdec8b
Fixes #3163 ; cleanup child processes on kill
2023-07-25 20:27:40 +01:00
(GalaxyMaster)
b8bf5950b6
Adding missing tests for truncate_html_words() ( #2918 )
2023-07-12 11:28:26 +02:00
Justin Mayer
ef7e26329c
Change botpub email address for Git commits
2023-06-29 11:15:41 +02:00
Jorge Maldonado Ventura
0533e2da9f
Small documentation fixes to docs/content.rst ( #3156 )
2023-06-27 20:35:04 +02:00
Justin Mayer
69d2b5b9af
Merge pull request #3154 from jorgesumle/master
2023-06-24 16:58:54 +02:00
Jorge Maldonado Ventura
b260b3838e
Fix grammar errors/typos from docs/faq.rst
2023-06-24 13:29:02 +02:00
Justin Mayer
410f60d6b3
Publish package via PyPI trusted publisher system
2023-06-23 15:54:39 +02:00
Justin Mayer
d3daa4d794
Update Furo theme & pytest-cov dependency versions
2023-06-23 15:53:21 +02:00
Justin Mayer
33220695d1
Merge pull request #3153 from jorgesumle/master
2023-06-23 15:22:19 +02:00
Jorge Maldonado Ventura
7d6accac4d
Code should be between backquotes ()
2023-06-23 09:27:51 +02:00
Jorge Maldonado Ventura
7877376153
More corrections to pelican-themes.rst
2023-06-23 09:20:32 +02:00
Jorge Maldonado Ventura
168093a750
Fix typo in pelican-themes.rst
2023-06-23 09:05:34 +02:00
Deniz Turgut
1f6b344f7d
Add sftp_upload Makefile target to .phony
...
Signed-off-by: Deniz Turgut <dturgut@gmail.com>
2023-06-04 10:44:00 +02:00
Matthew Pounsett
418a9191b0
Add devserver-global Makefile target to .phony, fixes #3065
2023-06-04 10:44:00 +02:00
Justin Mayer
23c50ea885
Merge pull request #3115 from mart-e/import-config-file
2023-06-04 10:36:55 +02:00
Justin Mayer
1b360acafa
Merge pull request #3114 from mart-e/import-markdown-wp
2023-06-04 10:35:44 +02:00
Matthew Pounsett
bbbc96cf83
Add quoting to devserver-global target in Makefile, fixes #3072 ( #3073 )
2023-06-04 10:34:09 +02:00
Justin Mayer
043ab617b8
Merge pull request #3124 from FriedrichFroebel/issue3110
2023-06-04 10:32:49 +02:00
Justin Mayer
8b6b7dac2d
Merge pull request #3139 from nikolausschueler/patch-1
2023-05-31 19:58:31 +02:00
Nikolaus Schüler
0a42b5f250
Fix typo in pelican-themes.rst
...
The least change would be to just say "suffixed", but I don't think that's a correct english word, so I choose "followed by"
2023-05-30 15:58:09 +02:00
Justin Mayer
6f93202e60
Add new Pelican Plugins org link to content docs
2023-05-22 15:12:09 +02:00
Martin (mart-e)
ef844dbe0a
Use the default configuration
...
When importing a blog, a error is logged: 'No timezone information
specified in the settings'.
This is because the code calls read_settings() but no configuration
file is provided.
Instead of providing one (users may not already have one if they are
at the import step), use the default settings.
2023-05-14 08:50:06 +02:00
FriedrichFroebel
7adcfc7938
Allow resetting memoized cache. Fixes #3110 .
2023-04-24 18:44:50 +02:00
Justin Mayer
86f62d0a92
Merge pull request #2963 from geoffff/master
2023-04-20 11:41:00 +02:00
geoffff
8bb9e0da48
Update paginator.py
...
Use str.startswith('/') to check whether 'ret' starts with a slash. The original code fails when 'ret' is an empty string, such as when INDEX_URL is set to "".
2023-04-20 11:34:38 +02:00
Justin Mayer
208332c0e6
Merge pull request #3112 from getpelican/update-functional-test-output
2023-04-20 08:38:04 +02:00
Justin Mayer
4db5c7ca4b
Update to Invoke 2.0 for Python 3.11 compatibility
2023-04-16 09:08:31 +02:00
Justin Mayer
6ac497922f
Update pre-commit hooks
2023-04-16 09:07:44 +02:00
Martin (mart-e)
219c01afb0
[IMP] pelican_import with gmf instead of markdown
...
The markdown import of pandoc is their own flavour of markdown. It for
instance uses fenced divs[1] which are not supported by
python-markdown. When importing content from Wordpress, there is
several issues as explained in discussion 3113[2]
This change follows a discussion with pandoc developer[3]
[1] https://pandoc.org/MANUAL.html#divs-and-spans
[2] https://github.com/getpelican/pelican/discussions/3113
[3] https://fosstodon.org/@pandoc/110105559949588768
Take the following Wordpress blog post sample:
```html
<p><!-- wp:paragraph --></p>
<p>Paragraph content</p>
<p><!-- /wp:paragraph --></p>
<p><!-- wp:image {"align":"center","id":3747,"sizeSlug":"full"} --></p>
<div class="wp-block-image">
<figure class="aligncenter size-full"><img src="https://test.com/test.jpg " alt="" class="wp-image-3747" title="Some title"/><br />
<figcaption><em>Some caption</em></figcaption>
</figure>
</div>
<p><!-- /wp:image --></p>
```
Before this commit:
was imported as
```md
`<!-- wp:paragraph -->`{=html}
Paragraph content
`<!-- /wp:paragraph -->`{=html}
`<!-- wp:image {"align":"center","id":3747,"sizeSlug":"full"} -->`{=html}
::: wp-block-image
<figure class="aligncenter size-full">
<img src="https://test.com/test.jpg " title="Some title"
class="wp-image-3747" /><br />
<figcaption><em>Some caption</em></figcaption>
</figure>
:::
`<!-- /wp:image -->`{=html}
```
After this change:
```md
<!-- wp:paragraph -->
Paragraph content
<!-- /wp:paragraph -->
<!-- wp:image {"align":"center","id":3747,"sizeSlug":"full"} -->
<div class="wp-block-image">
<figure class="aligncenter size-full">
<img src="https://test.com/test.jpg " title="Some title"
class="wp-image-3747" /><br />
<figcaption><em>Some caption</em></figcaption>
</figure>
</div>
<!-- /wp:image -->
```
Fixes #3113
2023-03-29 14:07:23 +02:00
Justin Mayer
a2852942ea
Update Pygments and Markdown dependency versions
2023-03-27 10:44:01 +02:00
Justin Mayer
06c9e0fb80
Pin Flake8 to 3.9.* in requirements/style.pip
2023-03-27 10:36:00 +02:00