Crate mdbook_gitinfo

Crate mdbook_gitinfo 

Source
Expand description

mdbook-gitinfo — mdBook preprocessor that injects Git metadata.

See config for user configuration and git for Git helpers.

Modules§

config
Configuration module for the mdbook-gitinfo preprocessor.
git
Utility module for running Git commands.

Structs§

GitInfoConfig
Represents the user-defined configuration options under [preprocessor.gitinfo] in book.toml.

Functions§

get_git_output
Run a Git command and return the trimmed stdout output as a String.
verify_branch
Verify that a branch exists locally in the given repository.