My docs/ directory contains an index.md which is used for the homepage instead of the project readme (I separate developer and user documentation this way). So I get this output when running portray in_browser:
Rendering complete website from Markdown using MkDocsBoth index.md and readme.md found. Skipping readme.md from /var/folders/2n/8zdpr6fn3djbww0vts_jl_n40000gp/T/tmpq3yfpg_c/input
This part works fine. However, for some reason the edit link on the homepage then does not include the string /docs, instead linking to <my_repo>/[edit_uri] without the trailing /docs. The link is incorrect and results in a 404.
My
docs/
directory contains anindex.md
which is used for the homepage instead of the project readme (I separate developer and user documentation this way). So I get this output when runningportray in_browser
:This part works fine. However, for some reason the edit link on the homepage then does not include the string
/docs
, instead linking to<my_repo>/[edit_uri]
without the trailing/docs
. The link is incorrect and results in a 404.