Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Latest commit

 

History

History
19 lines (12 loc) · 522 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 522 Bytes

Mkdocs use site url in links

This plugin ensures that links are full absolute links according to the site_url set in mkdocs.yml, this is useful for sites such as the CraftTweaker Docs, which serves files out of /version/lang/ which Mkdocs has issues handling.

Installation

pip install git+https://github.com/CraftTweaker/mkdocs-use-site-url-plugin.git

Usage

In your mkdocs.yml file add use-site-url to the plugins entry:

plugins:
  - use-site-url