mkdocs-autorefs
Automatically link across pages in MkDocs.
Decision gist · record as of 2026-08-14
Yes, if you use MkDocs and need to create cross-page links without managing explicit file paths. The plugin is stable (Development Status Beta), has no known vulnerabilities, and low install friction. The aging maintenance status (185 days since last release) is not a blocker for a mature plugin with a clear, focused scope, but verify it works with your MkDocs version before relying on it for production documentation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires MkDocs to be installed and configured; the attr_list Markdown extension must be enabled to use Markdown anchors feature.
- Low friction install with a pure-Python wheel.
- Maintenance status is aging—last release was 185 days ago—but the repository remains active with no archived flag and recent commits as of 2026-02-10.
License · maintenance · safety
ISC (permissive) — ISC license is permissive, allowing commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-02-10 (185 days) · last repo commit 2026-02-10 · 84 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,138,045 downloads/mo, #1,659 on PyPI
Alternatives
Verify before relying
pip install mkdocs-autorefs
# In mkdocs.yml:
plugins:
- search
- autorefs
# In doc1.md:
## Hello, world!
# In doc2.md:
We can [link to that heading][hello-world] from another page too.- Performance impact when resolving links across very large documentation sites with hundreds of pages.
- Behavior when heading titles contain special characters or non-ASCII text that may affect slug generation.
What it is and what it does
mkdocs-autorefs is a MkDocs plugin that extends the documentation linking model by allowing you to reference headings and anchors by their title alone, without needing to know or specify the file path of the target page. Normally in MkDocs you must write explicit relative or absolute paths to link between pages; this plugin indexes all headings and custom anchors across your site and resolves reference-style links like `[text][heading-name]` to the correct destination automatically.
The plugin handles several real-world complications: when the same heading appears on multiple pages, it logs a warning and uses the first match, or you can enable `resolve_closest` to pick the heading nearest to the current page. It supports custom Markdown anchors using the `attr_list` extension syntax, allowing you to create unique aliases for headings and link to them from anywhere. It also integrates with Material for MkDocs' instant preview feature by conditionally setting link title attributes. The plugin requires Python 3.9 or later and depends on Markdown, markupsafe, and mkdocs.
Use it for
- Link to API documentation headings from multiple pages without hardcoding relative paths that break when pages move.
- Create stable reference aliases for headings that appear in multiple OS-specific or version-specific documentation pages.
- Build documentation that references generated API docs (e.g., from mkdocstrings) by heading name rather than computed file paths.
- Simplify cross-references in large documentation sites where page structure is nested or frequently reorganized.
- Add custom anchor points in the middle of documents and reference them from anywhere without knowing the source file location.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use MkDocs and need to create cross-page links without managing explicit file paths.
The plugin is stable (Development Status Beta), has no known vulnerabilities, and low install friction. The aging maintenance status (185 days since last release) is not a blocker for a mature plugin with a clear, focused scope, but verify it works with your MkDocs version before relying on it for production documentation.
Install
mkdocs-autorefs on PyPI
Before you install
Low friction install with a pure-Python wheel. Maintenance status is aging—last release was 185 days ago—but the repository remains active with no archived flag and recent commits as of 2026-02-10.
Requires MkDocs to be installed and configured; the attr_list Markdown extension must be enabled to use Markdown anchors feature.
License in practice
ISC license is permissive, allowing commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install mkdocs-autorefs
# In mkdocs.yml:
plugins:
- search
- autorefs
# In doc1.md:
## Hello, world!
# In doc2.md:
We can [link to that heading][hello-world] from another page too.
Verify before relying
- Performance impact when resolving links across very large documentation sites with hundreds of pages.
- Behavior when heading titles contain special characters or non-ASCII text that may affect slug generation.
Package facts
| License | ISC permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesMarkdownmarkupsafemkdocs |
| Maintenance | Aging 185 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 8,138,045 / month, #1,659 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: DocumentationTopic :: Software DevelopmentTopic :: Software Development :: DocumentationTopic :: UtilitiesTyping :: Typed |
Evidence: mkdocs_autorefs-1.4.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “mkdocs cross-page linking”
- mkdocs-autorefsA MkDocs plugin that automatically creates cross-page links to…
- mkdocs-plugin-inline-svgA MkDocs plugin that replaces SVG image references in Markdown with…
- mkdocs-section-indexMkDocs plugin that makes section headers clickable by merging an…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also mkdocs-htmlproofer-plugin · mkdocs-include-markdown-plugin · mkdocstrings · mkdocs-redirects · mkdocs-auto-tag-plugin · mkdocs-click · mkdocs-with-pdf · mkdocs-gen-files · mike · sphinx-hoverxref