Structs§
- SourceCollector πHelper struct to render all source code to HTML pages
Enums§
- SourceContext π
Functions§
- clean_path πTakes a path to a source file and cleans the path to it. This canonicalizes things like β..β to components which preserve the βtop downβ hierarchy of a static HTML tree. Each component in the cleaned path will be passed as an argument to
f
. The very last component of the path (ie the file name) is ignored. If a..
is encountered, theparent
closure will be called to allow the callee to handle it. - is_real_and_local π
- print_src πWrapper struct to render the source code of a file. This will do things like adding line numbers to the left-hand side.
- render π