jimporter / mike

Manage multiple versions of your MkDocs-powered documentation via Git
BSD 3-Clause "New" or "Revised" License
511 stars 45 forks source link

serve: display deploy_prefix in the URL #207

Closed M5oul closed 5 months ago

M5oul commented 5 months ago

otherwise it’s kind of non-obvious why the development mode is not working. It is but on a path ;)

jimporter commented 5 months ago

Thanks for the patch. However, this would only help in a very narrow set of situations, since the primary reason to use deploy_prefix is to support multiple independent deployments of MkDocs sites in different subdirectories. Mentioning only a single one doesn't help with that.

Maybe there's an argument that the dev server should generate a directory listing if you visit a directory that doesn't have an index.html page, but I think it'd be better to keep this code simple. I'm trying to avoid adding any further new features to mike unless they're absolutely necessary, since it's already significantly more complex than I ever wanted it to become.

M5oul commented 5 months ago

Ok, I understand.