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.

Source Distribution

mkdocs-abs-rel-plugin-0.2.4.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

mkdocs_abs_rel_plugin-0.2.4-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mkdocs-abs-rel-plugin-0.2.4.tar.gz.

File metadata

  • Download URL: mkdocs-abs-rel-plugin-0.2.4.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for mkdocs-abs-rel-plugin-0.2.4.tar.gz
Algorithm Hash digest
SHA256 fcfc34ca399d9884a85df4c1f8dfb29885200eb95945f04761b1909827d508e9
MD5 cecf41698789d0b6ba31ddc259c4befb
BLAKE2b-256 7e31ce5cde7007af75e41e00c648835f96cfa6cd2e6dc9b2bc101677e8f97213

See more details on using hashes here.

File details

Details for the file mkdocs_abs_rel_plugin-0.2.4-py2.py3-none-any.whl.

File metadata

  • Download URL: mkdocs_abs_rel_plugin-0.2.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for mkdocs_abs_rel_plugin-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f57316780d23f7adf19fb2bba839a153bc12a2c99b59c759151611741a35be54
MD5 5bce94129713b82112aae319a944b60b
BLAKE2b-256 dc877f8b0899316eaf82ce54931aca809019bf1d4f10f9b80177209bc8de0e0d

See more details on using hashes here.

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