Updated some documentation comments.

pull/1/head
NA 2024-01-24 15:05:09 +00:00
parent efdf3c3ca6
commit 778b1adf6a
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ use std::path::PathBuf;
use clap::Args;
use url::Url;
/// struct that corresponds to arguments for Audiobook generation.
#[derive(Args, Debug)]
pub struct AudiobookArgs {
/// Disable the generation of chapter titles in the audio file. Useful to avoid chapter titles appearing twice.
@ -14,6 +15,7 @@ pub struct AudiobookArgs {
pub split_novel_by_chapters: bool,
}
/// struct that corresponds to arguments for Epub generation.
#[derive(Args, Debug)]
pub struct EpubArgs {
/// Disable the inclusion of images.
@ -22,11 +24,13 @@ pub struct EpubArgs {
pub no_images: bool,
}
/// struct that corresponds to arguments for Html generation.
#[derive(Args, Debug)]
pub struct HtmlArgs {
}
/// struct that corresponds to arguments for Markdown generation.
#[derive(Args, Debug)]
pub struct MarkdownArgs {
/// Disable the generation of chapter titles. Useful to avoid chapter titles appearing twice.