/Better-Rust-Documentation

Light and dark Stylish themes to make Rust Language API documentation on https://doc.rust-lang.org and https://docs.rs more readable with color coding and hierarchical indentation

Primary LanguageCSSGNU General Public License v3.0GPL-3.0

Better Rust API Documentation with Stylish Themes

Current Rust API website is a bit hard to follow. These Stylish themes aim to make language API documentation on https://doc.rust-lang.org and https://docs.rs more readable with color coding and hierarchical indentation.

  • Sidebar links and titles reflects code coloring which enhanced hierarchy
  • Code documentation reflects trait hierarchy
  • Fixes width for large screens
  • Puts background color and subtle border color around listed methods
  • Removes boldness from [+] buttons and makes them smaller and dimmer
  • Changes color highlighting of documentation and code blocks
  • And much more..

How to use

First install Stylus or Stylish add ons on your browser. Stylus is the better one. Then go to link and click install button. Make sure to use either dark or light theme since they overwrite each other.

Theme links:

https://userstyles.org/styles/157658/better-rust-documentation

https://userstyles.org/styles/157666/better-rust-documentation-dark-theme

Important:

Please use above links to install and update themes. I am keeping this repository for back up purpose.

Also don't forget to update theme from time to time. It is newly released, might need some bug and flow errors fixes.

Screenshots

Rust API Light Theme

Rust API Dark Theme