Skip to main content

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.

Files for mkdocs-abs-rel-plugin, version 0.2.4
Filename, size File type Python version Upload date Hashes
Filename, size mkdocs_abs_rel_plugin-0.2.4-py2.py3-none-any.whl (3.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mkdocs-abs-rel-plugin-0.2.4.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page