All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.2.0 - 2024-09-01
- Provide hook interface, use it to expand identifiers, attach additional context to references, and give more context around unmapped identifiers (fb8df98 by Timothée Mazzucotelli). Issue-54, PR-mkdocstrings#666
- Add option to resolve autorefs to closest URLs when multiple ones are found (2916eb2 by Timothée Mazzucotelli). Issue-52
- Emit deprecation warnings when old-style spans are found (4f2be46 by Timothée Mazzucotelli).
- Use
%s
formatting instead of f-strings in log messages (0cedf9d by Timothée Mazzucotelli).
1.1.0 - 2024-08-20
AUTO_REF_RE
is renamedAUTOREF_RE
(and updated for an improved version offix_refs
)AutoRefInlineProcessor
is renamedAutorefsInlineProcessor
- Warn when multiple URLs are found for the same identifier (c630354 by Markus B). Issue-35, PR-50, Co-authored-by: Timothée Mazzucotelli [email protected]
- Use a custom autoref HTML tag (e142023 by Timothée Mazzucotelli). PR-48
- Rename AutoRefInlineProcessor to AutorefsInlineProcessor (ffcaa01 by Timothée Mazzucotelli).
- Attach name to processors for easier retrieval (036b825 by Timothée Mazzucotelli).
1.0.1 - 2024-02-29
- Don't import
MkDocsConfig
(does not exist on MkDocs 1.3-) (9c15664 by Timothée Mazzucotelli).
1.0.0 - 2024-02-27
- Add Markdown anchors and aliases (a215a97 by Timothée Mazzucotelli). Replaces-PR-#20, Related-to-PR-#25, Related-to-issue-#35, Co-authored-by: Oleh Prypin [email protected], Co-authored-by: tvdboom [email protected]
- Preserve HTML data attributes (from spans to anchors) (0c1781d by Timothée Mazzucotelli). Issue-#41, PR-#42, Co-authored-by: Oleh Prypin [email protected]
- Support
[`identifier`][]
with pymdownx.inlinehilite enabled (e7f2228 by Oleh Prypin). Issue-#34, PR-#40, Co-authored-by: Timothée Mazzucotelli [email protected]
0.5.0 - 2023-08-02
- Drop support for Python 3.7
- Migrate to pdm-backend (48b92fb by Michał Górny).
- Use new MkDocs plugin logger if available (ca8d758 by Timothée Mazzucotelli).
0.4.1 - 2022-03-07
- Fix packaging (missing
__init__
module) (de0670b by Timothée Mazzucotelli). Issue #17, issue mkdocstrings/mkdocstrings#398, PR #18
0.4.0 - 2022-03-07
- Add HTML classes to references:
autorefs
always, andautorefs-internal
orautorefs-external
depending on the link (39db59d by Timothée Mazzucotelli). PR #16
0.3.1 - 2021-12-27
- Support fallback method returning multiple identifiers (0d2b411 by Timothée Mazzucotelli). Issue #11, PR #12 and mkdocstrings#350
0.3.0 - 2021-07-24
0.2.1 - 2021-05-07
0.2.0 - 2021-05-03
- Allow registering absolute URLs for autorefs (621686b by Oleh Prypin). PR #8
- Allow external tools to insert references that are OK to skip (7619c28 by Oleh Prypin). PR #7
- Allow
[``identifier``][]
, understood as[``identifier``][identifier]
(2d3182d by Oleh Prypin). PR #5
0.1.1 - 2021-02-28
- Remove unused dependencies (9c6a8e6 by Oleh Prypin).
0.1.0 - 2021-02-17
- Split out "mkdocs-autorefs" plugin from "mkdocstrings" (fe6faa5 by Oleh Prypin).