jimporter / mike

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

Is it possible to use mkdocs --no-directory-urls option from mike? #204

Closed jodygarnett closed 8 months ago

jodygarnett commented 8 months ago

Summary

I am migrating a project from sphinx-build to mkdocs, and would like to preserve the expectation that pages have .html suffix.

The mkdocs build provides --no-directory-urls command line option for this -- is there a similar option for mike?

Configuration and Logs

Expected Behavior

I had expected to be able to generate content with html output:

Additional Context

The output using mike is here:

The previous sphinx-build output is here:

jimporter commented 8 months ago

Yes, just set use_directory_urls to false in your mkdocs.yml.

jodygarnett commented 8 months ago

Thanks, sorry I did not find that (sigh). I appreciate your work!