Skip to content

MkDocs plugin for converting absolute links to relative ones.

License

Notifications You must be signed in to change notification settings

sander76/mkdocs-abs-rel-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

MkDocs plugin for converting absolute links to relative ones.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages