Commit Graph

22 Commits

Author SHA1 Message Date
Jeff Dairiki 1f315d8e5a chore: disuse deprecated `cgi` module
The `cgi` module is deprecated as of python 3.11 and is to be removed
in python 3.13.
2023-11-11 13:10:40 +01:00
Jeff Dairiki 8e2b686ec2 fix(markdown-link-classes): fix for mistune 2
Mistune 2 does not always pass a `text` or `title` parameter to the
renderer's `link` method. This (when building with the Lektor 3.4
pre-release branch) was resulting in a `"TypeError: link()
missing 2 required positional arguments: 'text' and 'title'"`
exception when rendering /blog/plugin-play (which has a bare URL in
it's markdown content.)
2023-02-26 15:17:30 -08:00
Jeff Dairiki c74abf2402
Fill in missing "Author" project metadata from "Author-Email" (#349)
* Fill in missing "Author" project metadata from "Author-Email"
2022-09-13 07:40:55 -07:00
Jeff Dairiki fca0134876 Normalize URLs to GitHub project repos
In particular we want to remove any trailing `.git` from the project
URL, since this results in broken links when we contruct the "Fork"
and "Open Issues" links in the plugin page.

(While `https://github.com/_owner_/_project_.git` will work to get to the
repo, `https://github.com/_owner_/_project_.git/fork` is a 404.)
2022-07-27 13:00:31 -07:00
Jeff Dairiki 850e52f598 Fix flake8 warnings for lektor_project_data.py 2022-07-27 13:00:31 -07:00
Jeff Dairiki f48eda6ee2 Restore compatibility with mistune==0.8.4
The latest release version of Lektor is 3.3.4.  It does not include
the support for `mistune>=2.0` that has made it into the `master`
branch of Lektor, thus it pins `mistune<2`.

This commit restores compatibility with older versions of
mistune.  (That compatibility was broken by 3fcd062.)
2022-05-02 15:47:17 -07:00
Joseph Nix 3fcd0624e9 Now compatibile with mistune>=2. 2022-04-29 23:10:02 -05:00
Jeff Dairiki bd786c94b0 Unpin old version of readme_renderer
Current version is 28.0.  Earlier versions do not run under Python 3.9.
2021-02-07 14:27:12 -08:00
Joseph Nix b71bd8499f [lektor-website-197] Removing single option for children models of the plugins page. 2018-12-15 12:54:21 -06:00
Joseph Nix d19842d4ae [pluginlist-update] Fixing a few typos and grammar errors. Commenting out github queries. Correcting plugin category. 2018-05-14 18:15:14 -05:00
Joseph Nix af90510192 [pluginlist-update] Updated templates to final version with many updates, made project-data plugin more robust, tweaked some css and ran webpack again. 2018-05-14 16:41:39 -05:00
Joseph Nix 8a7393715a [pluginlist-update] Fixing wrong version of dep in project-data plugin. 2018-05-14 16:41:38 -05:00
Joseph Nix ae9e7090eb [pluginlist-update] Rerunning webpack, adding section to plugins/publishing explaining how to get your plugin listed, adding custom summary field to plugin model, adding Disqus to plugin pages, finishing project_data plugin and using it to fill out plugin page, finishing plugin page. 2018-05-14 16:41:38 -05:00
Joseph Nix ac23ef384a [pluginlist-update] Adding project data plugin and using it to retrieve info about plugins. 2018-05-14 16:41:38 -05:00
Florian Schulze e02db78f88 Use the correct template for monthly archive. 2016-01-14 09:29:15 +01:00
A. Jesse Jiryu Davis 880ac178e5 Spin off the lektor-atom plugin. 2016-01-09 17:26:59 -05:00
Armin Ronacher b3ff365a8a Documented virtual paths 2016-01-09 10:24:39 +01:00
Armin Ronacher ecd97de551 Added markdown-admonition plugin 2015-12-26 13:08:50 +01:00
Armin Ronacher b260294f97 Added admonitions 2015-12-25 13:21:49 +01:00
Armin Ronacher 87802222b5 Switch to lektor-markdown-highlighter from pypi 2015-12-25 00:13:27 +01:00
Armin Ronacher f972cb9179 Switched to markdown-header-anchors from pypi 2015-12-24 23:51:12 +01:00
Armin Ronacher b5baa037bf Initial commit 2015-12-19 14:52:17 +01:00