srid/cargo-doc-live

Add option to configure `cargo doc` arguments

オープン

#2 opened on 2023/08/14

 (2 件のコメント) (1 件のリアクション) (0 人の担当者)Nix (4 件のフォーク)github user discovery
good first issue

Repository metrics

Stars
 (12 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

https://github.com/srid/cargo-doc-live/blob/fb1d4439d847f01ce4ccf1905d1630c1994569b0/flake-module.nix#L57

Instead of hardcoding --document-private-items --all-features, allow the user to specify them as module options. Eg.:

{
  cargo-doc-live = {
    cargo-doc-args = "--document-private-items --all-features";
  };
}

コントリビューターガイド