jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
219 stars 64 forks source link

Option to produce paths and filenames that match one-to-one with the sources #1648

Open nthiery opened 1 week ago

nthiery commented 1 week ago

Thanks to #670 and site.options.folders, it is now possible to produce a web site whose folder structure matches the folder structure of the source directory. However there remains some directory / file name rewriting:

Proposal

When site.options.folders is on (or possibly with an additional option), ensure a one-to-one correspondence for folders and file names between the sources and the produced site.

Motivation:

Thanks in advance!