Implement a web backend for rustdoc_ng
This large commit implements and `html` output option for rustdoc_ng. The executable has been altered to be invoked as "rustdoc_ng html <crate>" and it will dump everything into the local "doc" directory. JSON can still be generated by changing 'html' to 'json'. This also fixes a number of bugs in rustdoc_ng relating to comment stripping, along with some other various issues that I found along the way. The `make doc` command has been altered to generate the new documentation into the `doc/ng/$(CRATE)` directories.
This commit is contained in:
parent
a95604fcaa
commit
4fd061c426
22 changed files with 3067 additions and 139 deletions
1108
src/rustdoc_ng/html/render.rs
Normal file
1108
src/rustdoc_ng/html/render.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue