Skip to content

Flake module to provide live server version of `cargo doc`

License

Notifications You must be signed in to change notification settings

srid/cargo-doc-live

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cargo-doc-live

A flake module to provide a live server version of cargo doc ― edit Rust code, and see the docs view in your web browser update automatically.

cargo-doc-live.mp4

Getting Started

Full example: https://github.com/srid/rust-nix-template

Add the following flake inputs,

process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
cargo-doc-live.url = "github:srid/cargo-doc-live";

Import the relevant flake-parts modules,

imports = [
  inputs.process-compose-flake.flakeModule
  inputs.cargo-doc-live.flakeModule
];

Add the following to the packages of your devShell

packages = [
  config.process-compose.cargo-doc-live.outputs.package
];

This will make the cargo-doc-live command available in your shell.

About

Flake module to provide live server version of `cargo doc`

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages