Skip to main content

MKDocs Auto Refresh Build Pages Plugin

PyPI

MkDocs plugin for live development in production. The plugin adds a popup window that asks the user if he wants to reload the (compiled) page when the page has been updated. This tool is useful when you are deploying your MkDocs pages to production and you want to inform the user that the page has been updated.

We are using this plugin on the Robotic Camp when we quickly need to update the page and we want to inform the participants that the programming guide has been updated.

Installation

Install the plugin using pip from PyPI:

pip install mkdocs-auto-refresh-build-pages

Usage

Add the following lines to your mkdocs.yml:

plugins:
  - search
  - auto-refresh-build-pages:
      update_message: "The page has been updated. Do you want to reload?"
      yes_button_text: "Yes"
      no_button_text: "No"
      check_interval_seconds: 60
  • update_message (optional): The message that will be displayed when the page is updated. Default: "The page has been updated. Do you want to reload?"
  • yes_button_text (optional): The text of the "Yes" button. Default: "Yes"
  • no_button_text (optional): The text of the "No" button. Default: "No"
  • check_interval_seconds (optional): The interval in seconds at which the page will be checked for updates. Default: 60s (1 minute)

Example screenshot

example

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Do You Enjoy My Work?

Then you can consider:

  • supporting me on GitHub Sponsors:

License

MIT

Metadata

Release files for mkdocs-auto-refresh-build-pages 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-auto-refresh-build-pages 1.0.3
File Interpreter ABI Platform Actions
mkdocs_auto_refresh_build_pages-1.0.3-py3-none-any.whl Python 3 none any Details for mkdocs_auto_refresh_build_pages-1.0.3-py3-none-any.whl

Release files / mkdocs_auto_refresh_build_pages-1.0.3-py3-none-any.whl

Download URL mkdocs_auto_refresh_build_pages-1.0.3-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c9d2b5d65a48f078dd576df91a234aab43b36329ab713332e65ab8119d13949
BLAKE2b-256 checksum
How to use checksums
74df45d477950cf17fcbb64ceed78092fc1d9d5bc1ca6530bb5167da22f83dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for mkdocs-auto-refresh-build-pages 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page