zjp-CN / term-rustdoc

[WIP] A TUI for Rust docs that aims to improve the UX on tree view and generic code.
17 stars 1 forks source link

Release

A TUI for Rust docs that aims to improve the UX on tree view and generic code.

This tool utilizes the nightly compiler to compile JSON doc for a package. Therefore, make sure the nightly toolchain is usable on your machine.

It's recommended to have rust-docs-json too, so you can run:

rustup rustup toolchain install nightly --component rust-docs-json

# or add the component if nightly toolchain lacks it
rustup component add --toolchain nightly rust-docs-json
rustup update nightly

This tool is very immature, and far from the target for now. It only provides the basic ability to compile and cache docs, and view markdown docs.

Key shortcuts or usage help can be found via F1 key press.

help

More screen shots can be found here.

Roadmap

Misc/Basics

id rules

Mainly steal from id_from_item_inner

[IMPL:]CRATE_ID:ITEM_ID[:NAME_ID][-EXTRA]: