You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a large multi-module mono-repository, it doesn't always make sense to have your book documentation locked into a single folder/book module. Each module should be able to contribute it's own set of markdown files to the common "book".
I can get 90% of the way there by putting a book.toml and SUMMARY.md file at the root of the repository, and setting src = '.' in book.toml. However, this then copies the entire repository to the output/dest directory, which is obviously inadvisable.
Proposed Solution
Until we get some of the other PRs closed with better relative & absolute links support (which will solve my problem a better way), recommend adding a flag to disable the recursive file copy in the HTML renderer at https:/rust-lang/mdBook/blob/master/src/renderer/html_handlebars/hbs_renderer.rs#L631 , which will give me the final behavior I'm looking for.
Notes
No response
The text was updated successfully, but these errors were encountered:
Problem
In a large multi-module mono-repository, it doesn't always make sense to have your book documentation locked into a single folder/book module. Each module should be able to contribute it's own set of markdown files to the common "book".
I can get 90% of the way there by putting a
book.toml
andSUMMARY.md
file at the root of the repository, and settingsrc = '.'
inbook.toml
. However, this then copies the entire repository to the output/dest directory, which is obviously inadvisable.Proposed Solution
Until we get some of the other PRs closed with better relative & absolute links support (which will solve my problem a better way), recommend adding a flag to disable the recursive file copy in the HTML renderer at https:/rust-lang/mdBook/blob/master/src/renderer/html_handlebars/hbs_renderer.rs#L631 , which will give me the final behavior I'm looking for.
Notes
No response
The text was updated successfully, but these errors were encountered: