Skip to main content

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. The recent updates module displays site documentation information in a structured way, which is ideal for sites with a large number of documents or frequent updates, allowing readers to 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

recently-updated

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 (support unix shell-style wildcards)
        - index.md       # Exclude specific file
        - '*/index.md'   # Exclude all index.md files in any subfolders
        - 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 (supports URL paths and local file paths):

---
cover: assets/cat.jpg
---

Other projects

  • MaterialX, the next generation of mkdocs-material. Build beautiful sites the way you already know and love. Based on mkdocs-material-9.7.1 and is named X, it provides ongoing maintenance and updates (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

    render


Chat Group

Discord: https://discord.gg/cvTfge4AUy

Wechat:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_recently_updated_docs-1.7.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_recently_updated_docs-1.7-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_recently_updated_docs-1.7.tar.gz.

File metadata

File hashes

Hashes for mkdocs_recently_updated_docs-1.7.tar.gz
Algorithm Hash digest
SHA256 06b05d4e0dea0e8327998c5c8a72826d6899e932ef433957669867a8bc44f994
MD5 8888e58fd7e430d16c1242b363ce3241
BLAKE2b-256 6606a79e1e4cc8ff9a4b590f889babe8dc7d6f438d8cc4e40d7ab77b121e5b1f

See more details on using hashes here.

File details

Details for the file mkdocs_recently_updated_docs-1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_recently_updated_docs-1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 378ff0e31cb185d7d4985a564cf10af83ae07a77136a8e1c0c76edab43175276
MD5 bcf9058ae0009bcc8d4a02099ad46bb3
BLAKE2b-256 8fec05fd668a92503fe59e5d9ec67c10e78a87209a24f768031f6fd2e2135dc8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page