A MkDocs plugin to show recently updated documents
Project description
mkdocs-recently-updated-docs
English | 简体中文
Display a list of recently updated documents anywhere on your MkDocs site with a single line of code. This is ideal for sites with a large number of documents, so that readers can quickly see what's new.
Features
- Display recently updated documents in descending order by update time, list items are dynamically updated
- Support multiple view modes including list, detail and grid
- Support automatic extraction of article summaries
- Support for customizing article cover in Front Matter
- Support custom display quantity
- Support exclude specified files or folders
- Works well for any environment (no-Git, Git, Docker, all CI/CD build systems, etc.)
Preview
Installation
pip install mkdocs-recently-updated-docs
Configuration
Just add the plugin to your mkdocs.yml:
plugins:
- recently-updated
Or, full configuration:
plugins:
- recently-updated:
limit: 10 # Limit the number of docs displayed
exclude: # List of excluded files
- index.md # Exclude specific file
- blog/* # Exclude all files in blog folder, including subfolders
Usage
Simply write this line anywhere in your md document:
<!-- RECENTLY_UPDATED_DOCS -->
Configure article cover
Use the field cover in Front Matter to specify the article cover, which supports URL paths and local file paths, for example:
---
cover: assets/cat.jpg
---
Other projects
- MaterialX, the next generation of mkdocs-material, is based on
mkdocs-material-9.7.0and is namedX. I'll be maintaining this branch continuously (since mkdocs-material will stop being maintained). Updates have been released that refactor and add a lot of new features, see https://github.com/jaywhj/mkdocs-materialx/releases/
-
mkdocs-document-dates, a new generation MkDocs plugin for displaying exact creation date, last updated date, authors, email of documents
Chat Group
Discord: https://discord.gg/cvTfge4AUy
Wechat:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mkdocs_recently_updated_docs-1.5.tar.gz.
File metadata
- Download URL: mkdocs_recently_updated_docs-1.5.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18e0942acf75c2f3fa7be2df6b645fe06f0c6307be415dcdd741476a3d582971
|
|
| MD5 |
0dac8fcd37772290124c2778b0bb4739
|
|
| BLAKE2b-256 |
4d410bd92ddff79dd22b282790f949e4e9bd05f89fb48d63962ff279b26aef18
|
File details
Details for the file mkdocs_recently_updated_docs-1.5-py3-none-any.whl.
File metadata
- Download URL: mkdocs_recently_updated_docs-1.5-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b79eb8c27aa46ff23517cd970eea91d44d95ca11b261c35bfa024b31e3e9a23b
|
|
| MD5 |
d51ffa0f2961713079ed6d00151b8372
|
|
| BLAKE2b-256 |
360cb95ffa8899e68cf2fa9e57cba6a22e6fe167be50d3052d6d19697754af8c
|