mkdocs-plugin-tags
mkdocs-plugin-tags copied to clipboard
tags_folder does not work with relative path
Hello,
Thank you very much for your plugin!
I cannot use a relative path for tags_folder and get a Python error. I want to avoid absolute path since, the mkdocs.yaml would not be portable anymore on several platform (Linux, Windows).
Here is my config mkdocs.yml:
nav:
- Tags : ./tags.md
plugins:
- tags:
tags_template: docs/mkdocs/tags.md.template
and I use mkdocs serve.
I get this error:
% python -m mkdocs serve ~/web master +
INFO - Building documentation...
INFO - Cleaning site directory
WARNING - Both index.md and readme.md found. Skipping readme.md from ~/web/docs
ERROR - File not found: tags.md
ERROR - Error reading page 'tags.md': [Errno 2] No such file or directory: '~/web/aux/tags.md'
[Errno 2] No such file or directory: '~/web/aux/tags.md'
I get this error even if I create the aux manually
duplicate of https://github.com/jldiaz/mkdocs-plugin-tags/issues/3 but I don't think this repo is maintained anymore.