Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edit link incorrect for overriding index.md #90

Open
garfieldnate opened this issue Feb 18, 2022 · 0 comments
Open

edit link incorrect for overriding index.md #90

garfieldnate opened this issue Feb 18, 2022 · 0 comments

Comments

@garfieldnate
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant