Given the following folder structure:
├── package.json
└── docs
├ DirectoryA
│ ├ FileA.md
│ └ FileA.html
├ theme
│ ├ template.js
│ └ style.css
├ index.md
├ index.html
├ navigation.md
└ navigation.html
FileA and index can not use the same navigation, theme/template.js, theme/style.css, since their respective relative paths differ.
A quick (and dirty) workaround is to move index into a directory to align the relative paths (so they can just use ../navigation.html, ../theme/template.js...), but this obviously is no good solution since it forces all files to be always on the same level.
Given the following folder structure:
FileAandindexcan not use the samenavigation,theme/template.js,theme/style.css, since their respective relative paths differ.A quick (and dirty) workaround is to move
indexinto a directory to align the relative paths (so they can just use../navigation.html,../theme/template.js...), but this obviously is no good solution since it forces all files to be always on the same level.