From 778b1adf6a4960b4a9648ef9a882c7a66b39d5aa Mon Sep 17 00:00:00 2001 From: NA Date: Wed, 24 Jan 2024 15:05:09 +0000 Subject: [PATCH] Updated some documentation comments. --- src/library.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/library.rs b/src/library.rs index 3baf95b..86fefaa 100644 --- a/src/library.rs +++ b/src/library.rs @@ -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.