96 Commits
Author SHA1 Message Date
squidfunk 10258334eb Limited version range of mkdocs to <2 2026-03-10 15:20:11 +01:00
squidfunk 291012dcf5 Updated requests to 2.30+ to mitigate CVE in urllib 2025-12-18 10:22:43 +01:00
squidfunk b583ea7765 Prepare 9.7.0 release 2025-11-11 09:44:22 +01:00
squidfunk 6f715fbe06 Unpinned click 2025-09-23 18:07:19 +02:00
squidfunk d52b04b7ff Temporarily pin click<8.2.2 2025-08-02 15:43:22 +02:00
squidfunk 639254a30e Revert "Temporarily pin Python Markdown to mitigate #8308"
This reverts commit 4487c88415.
2025-07-08 09:28:35 +02:00
squidfunk 4487c88415 Temporarily pin Python Markdown to mitigate #8308 2025-07-02 18:12:22 +02:00
blumbra63andBrandon Lumbra 3e9bb531fb Bumped required version of jinja2 to ~=3.1 (#8132)
Commit fb0c27c382 switched to using the
jinja2 'items' filter. That filter, however, was not added until jinja
version 3.1.0 [1]. Therefore, bump the required version to prevent
breakage.

On systems without an outdated jinja version, an error similar to the
following will occur when running 'mkdocs build':

Traceback (most recent call last):
  File "/tmp/mkdocsbug/venv/bin/mkdocs", line 8, in <module>
    sys.exit(cli())
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/click/core.py", line 1697, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/mkdocs/__main__.py", line 288, in build_command
    build.build(cfg, dirty=not clean)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/mkdocs/commands/build.py", line 328, in build
    _build_theme_template(template, env, files, config, nav)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/mkdocs/commands/build.py", line 103, in _build_theme_template
    output = _build_template(template_name, template, files, config, nav)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/mkdocs/commands/build.py", line 83, in _build_template
    output = template.render(context)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/jinja2/environment.py", line 1304, in render
    self.environment.handle_exception()
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/jinja2/environment.py", line 925, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/material/templates/404.html", line 4, in <module>
    {% extends "main.html" %}
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/material/templates/main.html", line 4, in <module>
    {% extends "base.html" %}
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/jinja2/environment.py", line 925, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "/tmp/mkdocsbug/venv/lib/python3.10/site-packages/material/templates/base.html", line 80, in <module>
    <meta {% for key, value in tag | items %} {{ key }}="{{value}}" {% endfor %}>
jinja2.exceptions.TemplateAssertionError: No filter named 'items'.

[1]: https://jinja.palletsprojects.com/en/stable/changes/#version-3-1-0

Co-authored-by: Brandon Lumbra <[email protected]>
2025-04-01 08:57:10 +02:00
Isaac Muse 3a7cc2a701 Lowered backref version to support Py3.8 (#8037) 2025-02-27 08:28:34 +07:00
Isaac Muse ab1511074c Replaced regex with backrefs package in search plugin (#8034)
Use Re in all places in the search plugin except where Unicode
properties are desired (checking for Chinese chars). Use Backrefs'
`bre` to check for Unicode properties. To minimize any differences,
explicitly use `script` as Backrefs uses `script_extensions` (or `scx`)
by default with `Is*` properties.
2025-02-26 10:57:51 +07:00
squidfunk 365dc24062 Updated copyright year 2025-01-04 10:27:13 +01:00
squidfunk 8b8cd3b101 Updated MkDocs to 1.6.0 2024-04-23 16:35:54 +07:00
squidfunk 7624e78744 Updated copyright year 2024-01-06 09:27:06 +07:00
squidfunk 1b3bfaa226 Limit MkDocs to <1.6 as breaking changes might happen 2023-12-16 13:08:02 +01:00
squidfunk b4392964b1 Deprecated materialx.* usage 2023-10-17 08:27:28 +02:00
squidfunk 43b5baf8a7 Loosen version requirement for regex package 2023-09-24 17:20:59 +02:00
squidfunk 69cd8c61ec Bump version of mkdocs-material-extensions 2023-09-20 17:50:18 +02:00
squidfunk 47e94e2117 Updated MkDocs to 1.5.3 2023-09-19 17:34:25 +02:00
squidfunk 4f6b213794 Reverted version recent version bump for Python packages 2023-09-14 10:02:42 +02:00
squidfunk 5e42517a22 Updated dependencies 2023-09-04 10:02:50 +02:00
squidfunk b5434a0d8c Switched dependencies to compatible release clauses 2023-09-02 14:27:00 +02:00
squidfunk 0d3cd8a433 Removed readtime and lxml dependencies 2023-08-31 11:13:06 +02:00
squidfunk 89de76d840 Revert "Removed lxml dependency - not necessary after blog plugin rewrite"
This reverts commit 0986c3a039.
2023-08-24 09:56:43 +02:00
squidfunk 0986c3a039 Removed lxml dependency - not necessary after blog plugin rewrite 2023-08-23 10:41:28 +02:00
squidfunk d1ffeb22eb Prepare 9.2.0 release 2023-08-21 19:18:59 +02:00
squidfunk 38b7282b20 Refactored blog plugin (+ other plugins) 2023-08-21 17:45:32 +02:00
squidfunk 013b373c8e Merge branch 'master' into merge/piri-piri 2023-08-01 13:30:52 +02:00
squidfunk feef806a2d Bumped MkDocs to 1.5.0 to mitigate error in social plugin 2023-07-27 19:57:03 +02:00
squidfunk 571f129782 Updated MkDocs to 1.5.0 2023-07-27 09:36:34 +02:00
squidfunk 4402f41596 WIP 2023-07-06 10:58:17 +02:00
squidfunk f9c992c624 Bumped Python Markdown Extensions to 9.9.1 2023-01-12 09:03:59 +01:00
squidfunk 7f0d6e899d Removed pipdeptree dependency for info plugin 2023-01-02 18:30:47 +01:00
squidfunk 3b921f76a3 Updated copyright year 2023-01-02 11:08:58 +01:00
squidfunk 1b08038f86 Removed patch-level version spec where not necessary 2023-01-02 11:00:57 +01:00
squidfunk 081b63f0c1 Documentation 2023-01-01 19:08:42 +01:00
squidfunk 5ec4a45110 Added info plugin, a helper for creating bug reports 2022-12-18 15:41:18 +01:00
squidfunk b550b1a532 Merged features tied to Carolina Reaper funding goal 2022-12-07 11:11:02 +01:00
squidfunk 68fcbe6f6f Merge branch 'master' into refactor/namespace-plugins 2022-11-12 13:19:07 +01:00
squidfunk c6d804b0ea Updated extensions to 1.1 2022-10-22 10:59:42 +07:00
squidfunk fee799a759 Added namespace to plugins and update to MkDocs 1.4.1 2022-10-16 16:20:12 +07:00
Oleh Prypin 593a3464c5 Require MkDocs version 1.4.0 2022-10-01 16:25:03 +02:00
squidfunk 5afacad66c Removed dependencies with native extensions 2022-09-15 18:51:35 +02:00
squidfunk 419740831d Merged features tied to Scotch Bonnet funding goal 2022-09-13 12:35:14 +02:00
squidfunk 527633e6ba Bump minimum Jinja2 version to 3.0.2 2022-06-04 07:52:32 +02:00
squidfunk fdb409dea6 Bump minimum Jinja2 version to 3.* 2022-06-04 07:50:02 +02:00
Isaac Muse f7be5c75bb Fixed issues related to latest Pygments and Pymdown Extensions (#3862) 2022-04-30 16:50:18 +02:00
squidfunk 68bcb1a157 Pinned Python Markdown Extensions to fix incompatibility 2022-04-25 09:55:08 +02:00
squidfunk 85b087ac94 Pinned Pygments to fix incompatibility 2022-04-24 22:48:25 +02:00
squidfunk c9f92b922d Reverted pinning of Jinja2 version 2022-03-26 21:33:32 +01:00
squidfunk 345c39ce11 Temporarily limited Jinja2 version to < 3.1 2022-03-24 16:36:47 +01:00