Crate rustdoc_merger

Source
Expand description

This is a binary helper to merge rustdoc html outputs

Normally rustdoc is run sequentially outputting to a single output directory. This goes against how bazel works and causes issues since every time we change one crate we would need to regenerate the docs for all crates.

This tool fixes this problem by essentially performing the same steps that rustdoc would do when merging except does it in a bazel-like way.

Structsยง

Args ๐Ÿ”’
Simple program to greet a person
Manifest ๐Ÿ”’
ManifestEntry ๐Ÿ”’

Functionsยง

copy ๐Ÿ”’
path_depth ๐Ÿ”’
process_file ๐Ÿ”’
walk_and_replace ๐Ÿ”’
main ๐Ÿ”’