Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Mkdocs plugin to convert absolute paths to relative ones.

Project description

Code style: black Build Status

Mkdocs absolute to relative link converter

Mkdocs officially only supports relative links. While this makes sense there are situation where it is useful to make use of absolute links. For example when creating a document with absolute links to an image folder. If that file is to be moved later on, links are kept intact.

Installation

pip install mkdocs-abs-rel-plugin

Usage

In your mkdocs.yml file add abs-to-rel to the plugins entry:

plugins:
  - abs-to-rel

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
mkdocs_abs_rel_plugin-0.2.4-py2.py3-none-any.whl (3.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3
mkdocs-abs-rel-plugin-0.2.4.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page