Skip to main content

Mkdocs plugin to convert absolute paths to relative ones.

Project description

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.

Source Distribution

mkdocs-abs-rel-plugin-0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

mkdocs_abs_rel_plugin-0.2-py2.py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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