From 5a01a260c368d3045f0870cc09620a772027e911 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Jan 2016 12:50:12 +0200 Subject: Initial support for plain text documentation (--generate-txt) Support for option documentation generation is still a TODO. --- cli/options.hxx | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'cli/options.hxx') diff --git a/cli/options.hxx b/cli/options.hxx index 9794732..1793343 100644 --- a/cli/options.hxx +++ b/cli/options.hxx @@ -457,6 +457,9 @@ class options generate_html () const; const bool& + generate_txt () const; + + const bool& stdout_ () const; const bool& @@ -541,6 +544,12 @@ class options html_prologue_specified () const; const std::vector& + txt_prologue () const; + + bool + txt_prologue_specified () const; + + const std::vector& hxx_epilogue () const; bool @@ -570,6 +579,12 @@ class options bool html_epilogue_specified () const; + const std::vector& + txt_epilogue () const; + + bool + txt_epilogue_specified () const; + const std::string& hxx_prologue_file () const; @@ -601,6 +616,12 @@ class options html_prologue_file_specified () const; const std::string& + txt_prologue_file () const; + + bool + txt_prologue_file_specified () const; + + const std::string& hxx_epilogue_file () const; bool @@ -631,6 +652,12 @@ class options html_epilogue_file_specified () const; const std::string& + txt_epilogue_file () const; + + bool + txt_epilogue_file_specified () const; + + const std::string& output_prefix () const; bool @@ -673,6 +700,12 @@ class options html_suffix_specified () const; const std::string& + txt_suffix () const; + + bool + txt_suffix_specified () const; + + const std::string& option_prefix () const; bool @@ -751,6 +784,7 @@ class options bool generate_cxx_; bool generate_man_; bool generate_html_; + bool generate_txt_; bool stdout__; bool suppress_undocumented_; bool suppress_usage_; @@ -779,6 +813,8 @@ class options bool man_prologue_specified_; std::vector html_prologue_; bool html_prologue_specified_; + std::vector txt_prologue_; + bool txt_prologue_specified_; std::vector hxx_epilogue_; bool hxx_epilogue_specified_; std::vector ixx_epilogue_; @@ -789,6 +825,8 @@ class options bool man_epilogue_specified_; std::vector html_epilogue_; bool html_epilogue_specified_; + std::vector txt_epilogue_; + bool txt_epilogue_specified_; std::string hxx_prologue_file_; bool hxx_prologue_file_specified_; std::string ixx_prologue_file_; @@ -799,6 +837,8 @@ class options bool man_prologue_file_specified_; std::string html_prologue_file_; bool html_prologue_file_specified_; + std::string txt_prologue_file_; + bool txt_prologue_file_specified_; std::string hxx_epilogue_file_; bool hxx_epilogue_file_specified_; std::string ixx_epilogue_file_; @@ -809,6 +849,8 @@ class options bool man_epilogue_file_specified_; std::string html_epilogue_file_; bool html_epilogue_file_specified_; + std::string txt_epilogue_file_; + bool txt_epilogue_file_specified_; std::string output_prefix_; bool output_prefix_specified_; std::string output_suffix_; @@ -823,6 +865,8 @@ class options bool man_suffix_specified_; std::string html_suffix_; bool html_suffix_specified_; + std::string txt_suffix_; + bool txt_suffix_specified_; std::string option_prefix_; bool option_prefix_specified_; std::string option_separator_; -- cgit v1.1